https://github.com/zopefoundation/zope.deferredimport
Defer imports until used by code.
https://github.com/zopefoundation/zope.deferredimport
maintained
Last synced: 8 months ago
JSON representation
Defer imports until used by code.
- Host: GitHub
- URL: https://github.com/zopefoundation/zope.deferredimport
- Owner: zopefoundation
- License: other
- Created: 2013-02-28T00:57:08.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2025-09-12T07:05:37.000Z (9 months ago)
- Last Synced: 2025-09-12T09:15:09.079Z (9 months ago)
- Topics: maintained
- Language: Python
- Homepage: https://zopedeferredimport.rtfd.io
- Size: 181 KB
- Stars: 5
- Watchers: 67
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.rst
- Changelog: CHANGES.rst
- Contributing: CONTRIBUTING.md
- License: LICENSE.txt
- Copyright: COPYRIGHT.txt
Awesome Lists containing this project
README
=========================
``zope.deferredimport``
=========================
.. image:: https://img.shields.io/pypi/v/zope.deferredimport.svg
:target: https://pypi.python.org/pypi/zope.deferredimport/
:alt: Latest release
.. image:: https://img.shields.io/pypi/pyversions/zope.deferredimport.svg
:target: https://pypi.org/project/zope.deferredimport/
:alt: Supported Python versions
.. image:: https://github.com/zopefoundation/zope.deferredimport/actions/workflows/tests.yml/badge.svg
:target: https://github.com/zopefoundation/zope.deferredimport/actions/workflows/tests.yml
.. image:: https://coveralls.io/repos/github/zopefoundation/zope.deferredimport/badge.svg?branch=master
:target: https://coveralls.io/github/zopefoundation/zope.deferredimport?branch=master
.. image:: https://readthedocs.org/projects/zopedeferredimport/badge/?version=latest
:target: http://zopedeferredimport.readthedocs.io/en/latest/
:alt: Documentation Status
Often, especially for package modules, you want to import names for
convenience, but not actually perform the imports until necessary.
The zope.deferredimport package provided facilities for defining names
in modules that will be imported from somewhere else when used. You
can also cause deprecation warnings to be issued when a variable is
used.
Documentation is hosted at https://zopedeferredimport.readthedocs.io/