{"categories":[{"label":"Software Development","url":"https://skillfed.io/packages/category/software-development/8"},{"label":"WWW/HTTP","url":"https://skillfed.io/packages/category/internet-www-http/4"}],"enrichment":{"capability":"Defers module imports until they are actually used, optionally issuing deprecation warnings when imported names are accessed.","skillfed_tags":["lazy-loading","deprecation","import-management"],"use_cases":["Reduce module load time in large packages by deferring imports of rarely-used submodules until they are actually accessed.","Issue deprecation warnings when users access old API names, guiding migration without immediate breakage.","Manage circular import dependencies by deferring one side of the cycle until runtime.","Create convenience re-exports in a package's __init__.py without paying the import cost upfront.","Provide backward compatibility by keeping old names available but deprecated, with warnings on use."],"what_it_does":"zope.deferredimport is a utility for delaying the actual import of module names until they are first used in code. Instead of importing a name at module load time, you declare it as deferred, and the import happens only when that name is accessed. This is useful for reducing startup time in large packages or for managing circular import dependencies.\n\nThe package also supports issuing deprecation warnings when a name is used, making it a tool for library maintainers to guide users away from old APIs without breaking existing code immediately. It works by creating module proxies that intercept attribute access and trigger the real import on demand. The package depends only on zope.proxy and supports current Python versions (3.10 through 3.14).","worth_installing":"Yes, if you need lazy imports or deprecation warnings in a library. Low install friction, active maintenance, no known vulnerabilities, and a focused scope make it reliable for its purpose. Verify ZPL-2.1 compatibility with your project's license before committing."},"id":"zope-deferredimport","links":{"html":"https://skillfed.io/packages/zope-deferredimport","md":"https://skillfed.io/packages/zope-deferredimport.md","pypi":"https://pypi.org/project/zope-deferredimport/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-02-16","license_spdx":"ZPL-2.1","license_treatment":"unclear","name":"zope.deferredimport","python_support":"supports_current","summary":"zope.deferredimport allows you to perform imports names that will only be resolved when used in the code."},"popularity":{"monthly_downloads":393748,"position":6996,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"6.1.1"}
