{"library":"spring-py-core","title":"Spring Python Core","type":"library","description":"A Python implementation of the Spring Framework Inversion of Control (IoC) container, providing dependency injection, bean management, and configuration support. Currently at version 0.1.5, released with a monthly cadence. Requires Python 3.11+.","language":"python","status":"active","last_verified":"Sat May 09","install":{"commands":["pip install spring-py-core"],"cli":null},"imports":["from spring_py_core import SpringApplication","from spring_py_core.annotations import Component","from spring_py_core.annotations import Autowired"],"auth":{"required":false,"env_vars":[]},"links":{"homepage":null,"github":null,"docs":null,"changelog":null,"pypi":"https://pypi.org/project/spring-py-core/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null},"quickstart":{"code":"from spring_py_core import SpringApplication\nfrom spring_py_core.annotations import Component, Autowired\n\n@Component\nclass Greeter:\n    def greet(self):\n        return \"Hello, Spring!\"\n\n@Component\nclass App:\n    @Autowired\n    def __init__(self, greeter: Greeter):\n        self.greeter = greeter\n\n    def run(self):\n        print(self.greeter.greet())\n\nif __name__ == \"__main__\":\n    SpringApplication.run(App)","lang":"python","description":"Create two components with dependency injection and run the application.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}