{"id":28287,"library":"springform","title":"springform","description":"A simple templating system for Python class files. Current version: 0.6.5. Release cadence: irregular.","status":"active","version":"0.6.5","language":"python","source_language":"en","source_url":"https://github.com/dluman/springform","tags":["templating","class generation","code generation"],"install":[{"cmd":"pip install springform","lang":"bash","label":"Install with pip"}],"dependencies":[],"imports":[{"note":"Correct import for the core class.","wrong":"","symbol":"Form","correct":"from springform import Form"}],"quickstart":{"code":"from springform import Form\n\n# Define a form class\nclass MyForm(Form):\n    pass\n\n# Create instance\nform = MyForm()\nprint(form)","lang":"python","description":"Basic usage of springform to create a templated class."},"warnings":[{"fix":"Replace `Template` with `Form` in your code.","message":"Version 0.4.0 renamed `Template` to `Form`. If using older code, update imports and references.","severity":"gotcha","affected_versions":"<0.4.0"},{"fix":"Upgrade to 0.6.5 or later.","message":"Version 0.6.5 fixed a bug where base class was copied instead of inheriting class. Ensure you are using 0.6.5+ to avoid incorrect template replication.","severity":"gotcha","affected_versions":"<0.6.5"}],"env_vars":null,"last_verified":"2026-05-09T00:00:00.000Z","next_check":"2026-08-07T00:00:00.000Z","problems":[{"fix":"Use `from springform import Form` instead of `Template`.","cause":"springform renamed Template to Form in version 0.4.0.","error":"AttributeError: module 'springform' has no attribute 'Template'"}],"ecosystem":"pypi","meta_description":null,"install_score":null,"install_tag":null,"quickstart_score":null,"quickstart_tag":null}