Skip to main content

zope.deferredimport

Latest release Supported Python versions https://github.com/zopefoundation/zope.deferredimport/actions/workflows/tests.yml/badge.svg https://coveralls.io/repos/github/zopefoundation/zope.deferredimport/badge.svg?branch=master 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/

Changes

6.1 (2026-02-09)

  • Move package metadata from setup.py to pyproject.toml.

  • Add support for Python 3.14.

  • Drop support for Python 3.9.

  • Remove run-time dependency on setuptools.

  • Adjust narrative doctest so that the sample files it generates match those in git again.

6.0 (2025-09-12)

  • Replace pkg_resources namespace with PEP 420 native namespace.

5.1 (2025-08-11)

  • Add support for Python 3.12, 3.13.

  • Drop support for Python 3.7, 3.8.

5.0 (2023-06-29)

  • Drop support for Python 2.7, 3.5, 3.6.

  • Add support for Python 3.11.

4.4 (2021-12-10)

  • Add support for Python 3.8, 3.9 and 3.10.

  • Drop support for Python 3.4.

4.3.1 (2019-08-05)

  • Avoid race condition in deferredmodule.ModuleProxy.__getattr__ #8.

4.3 (2018-10-05)

  • Add support for Python 3.7.

4.2.1 (2017-10-24)

  • Preserve the docstrings of proxied modules created with deprecatedFrom, deferredFrom, etc. See issue 5.

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)

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.

Release files for zope.deferredimport 6.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for zope.deferredimport 6.1
File Size Uploaded Provenance Actions
zope_deferredimport-6.1.tar.gz 20.8 kB Without provenance Details for zope_deferredimport-6.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for zope.deferredimport 6.1
File Interpreter ABI Platform Actions
zope_deferredimport-6.1-py3-none-any.whl Python 3 none any Details for zope_deferredimport-6.1-py3-none-any.whl

Total release size: 30.3 kB

Release files / zope_deferredimport-6.1.tar.gz

Download URL zope_deferredimport-6.1.tar.gz
Size 20.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9bd1013753859e189dd185bf1398eb44d33b0a8216ac10ce069ea8ddf946de47
BLAKE2b-256 checksum
How to use checksums
395f1a39cea14ae3c28025ac211b814b68d74681a94d5057e311a4c652ce139c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.12

Release files / zope_deferredimport-6.1-py3-none-any.whl

Download URL zope_deferredimport-6.1-py3-none-any.whl
Size 9.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
80238b9e08ca0b1c2c1dff863a50a3c0107c6871ef1a1c91280f0050ebba1204
BLAKE2b-256 checksum
How to use checksums
2f59b59fcf99ac95564f66bacd0bca4a65b17910f5ade78b5e7ea7384a5fdbb4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.12

Security for zope.deferredimport 6.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page