{"library":"asgi-lifespan","type":"library","category":null,"description":"asgi-lifespan is a Python library that enables programmatic control over the startup and shutdown lifecycle events of ASGI applications. It's primarily used for testing or mocking ASGI apps without requiring a full ASGI server, facilitating resource initialization and cleanup during development and CI. The current version is 2.1.0, with releases typically driven by new features, bug fixes, or Python version support.","language":"python","status":"active","version":"2.1.0","tags":["asgi","lifespan","testing","async","starlette","fastapi","framework-agnostic"],"last_verified":"Wed May 20","install":[{"cmd":"pip install asgi-lifespan","imports":["from asgi_lifespan import LifespanManager"]}],"homepage":null,"github":"https://github.com/florimondmanca/asgi-lifespan","docs":null,"changelog":null,"pypi":"https://pypi.org/project/asgi-lifespan/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"3.10–3.9","success_rate":100,"avg_install_s":1.6,"avg_import_s":0.02,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/asgi-lifespan/compatibility"}}