{"library":"lazy-loader","type":"library","category":null,"description":"The `lazy-loader` library makes it easy to load Python subpackages and functions on demand. This utility is designed to help projects, especially in the scientific Python ecosystem, reduce startup time and memory usage by deferring module imports until the imported objects are actually accessed. It is actively maintained, currently at version 0.5, and sees regular updates to enhance functionality and fix bugs.","language":"python","status":"active","version":"0.5","tags":["lazy loading","import","optimization","startup performance","module loading","scientific python"],"last_verified":"Tue Jun 09","install":[{"cmd":"pip install lazy-loader","imports":["import lazy_loader as lazy\n__getattr__, __dir__, _ = lazy.attach(__name__, __file__, subpackages=['my_subpackage'])","import lazy_loader as lazy\nexternal_module = lazy.load('some_external_library')"]}],"homepage":"https://scientific-python.org/specs/spec-0001/","github":"https://github.com/scientific-python/lazy-loader","docs":null,"changelog":null,"pypi":"https://pypi.org/project/lazy-loader/","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.01,"wheel_type":"wheel"},"url":"https://checklist.day/v1/registry/lazy-loader/compatibility"}}