zope.deferredimport allows you to perform imports names that will only be resolved when used in the code.
Project description
zope.deferredimport
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/
Changes
4.2.0 (2017-08-08)
Add support for Python 3.5 and 3.6.
Drop support for Python 2.6 and 3.3.
Convert doctests to Sphinx documentation, including building docs and running doctest snippets under tox.
4.1.0 (2014-12-26)
Add support for PyPy. PyPy3 support is blocked on release of fix for: https://bitbucket.org/pypy/pypy/issue/1946
Add support for Python 3.4.
Add support for testing on Travis.
4.0.0 (2013-02-28)
Add support for Python 3.3.
Drop support for Python 2.4 and 2.5.
3.5.3 (2010-09-25)
Add test extra to declare test dependency on zope.testing.
3.5.2 (2010-05-24)
Fix unit tests broken under Python 2.4 by the switch to the standard library doctest module.
3.5.1 (2010-04-30)
Prefer the standard library’s doctest module to the one from zope.testing.
3.5.0 (2009-02-04)
Add support to bootstrap on Jython.
Add reference documentation.
3.4.0 (2007-07-19)
Finish release of zope.deferredimport.
3.4.0b1 (2007-07-09)
Initial release as a separate project, corresponding to the zope.deferredimport from Zope 3.4.0b1.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for zope.deferredimport-4.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba09a4406047fe712cf8b28f374ee11a75d3d2f64ae106630604587fa15da1f7 |
|
MD5 | c4f8ae2c21ce050f52b6f14ba588f5ab |
|
BLAKE2b-256 | b843427e4a763f11c3542b75f6f8b95a579b5d3cb965626e1595fed573d67289 |
Hashes for zope.deferredimport-4.2.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 52b0c129ab75d5afeb61e391fcb60918c7b1966ccf3a709c6ed8f8ff4a71b0b1 |
|
MD5 | 88acdf89e649c7786e67fa9423270709 |
|
BLAKE2b-256 | 26376187d5c320174f08f1c65c37243e71b6f4f78fc677e85cda9fa1391dcb7c |