=========================
``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/
=========
Changes
=========
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 <https://github.com/zopefoundation/zope.deferredimport/issues/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
<https://github.com/zopefoundation/zope.deferredimport/issues/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)
==================
- 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.
Raw data
{
"_id": null,
"home_page": "http://github.com/zopefoundation/zope.deferredimport",
"name": "zope.deferredimport",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "",
"author": "Zope Foundation and Contributors",
"author_email": "zope-dev@zope.dev",
"download_url": "https://files.pythonhosted.org/packages/a1/b7/9b0c93edb4c6745ac8784c265d244f5b3bc4082d92f7aefe952aaa5be5f3/zope.deferredimport-5.0.tar.gz",
"platform": null,
"description": "=========================\n ``zope.deferredimport``\n=========================\n\n.. image:: https://img.shields.io/pypi/v/zope.deferredimport.svg\n :target: https://pypi.python.org/pypi/zope.deferredimport/\n :alt: Latest release\n\n.. image:: https://img.shields.io/pypi/pyversions/zope.deferredimport.svg\n :target: https://pypi.org/project/zope.deferredimport/\n :alt: Supported Python versions\n\n.. image:: https://github.com/zopefoundation/zope.deferredimport/actions/workflows/tests.yml/badge.svg\n :target: https://github.com/zopefoundation/zope.deferredimport/actions/workflows/tests.yml\n\n.. image:: https://coveralls.io/repos/github/zopefoundation/zope.deferredimport/badge.svg?branch=master\n :target: https://coveralls.io/github/zopefoundation/zope.deferredimport?branch=master\n\n.. image:: https://readthedocs.org/projects/zopedeferredimport/badge/?version=latest\n :target: http://zopedeferredimport.readthedocs.io/en/latest/\n :alt: Documentation Status\n\nOften, especially for package modules, you want to import names for\nconvenience, but not actually perform the imports until necessary.\nThe zope.deferredimport package provided facilities for defining names\nin modules that will be imported from somewhere else when used. You\ncan also cause deprecation warnings to be issued when a variable is\nused.\n\nDocumentation is hosted at https://zopedeferredimport.readthedocs.io/\n\n\n=========\n Changes\n=========\n\n5.0 (2023-06-29)\n================\n\n- Drop support for Python 2.7, 3.5, 3.6.\n\n- Add support for Python 3.11.\n\n\n4.4 (2021-12-10)\n================\n\n- Add support for Python 3.8, 3.9 and 3.10.\n\n- Drop support for Python 3.4.\n\n\n4.3.1 (2019-08-05)\n==================\n\n- Avoid race condition in ``deferredmodule.ModuleProxy.__getattr__``\n `#8 <https://github.com/zopefoundation/zope.deferredimport/issues/8>`_.\n\n\n4.3 (2018-10-05)\n================\n\n- Add support for Python 3.7.\n\n\n4.2.1 (2017-10-24)\n==================\n\n- Preserve the docstrings of proxied modules created with\n ``deprecatedFrom``, ``deferredFrom``, etc. See `issue 5\n <https://github.com/zopefoundation/zope.deferredimport/issues/5>`_.\n\n\n4.2.0 (2017-08-08)\n==================\n\n- Add support for Python 3.5 and 3.6.\n\n- Drop support for Python 2.6 and 3.3.\n\n- Convert doctests to Sphinx documentation, including building docs\n and running doctest snippets under ``tox``.\n\n\n4.1.0 (2014-12-26)\n==================\n\n- Add support for PyPy. PyPy3 support is blocked on release of fix for:\n https://bitbucket.org/pypy/pypy/issue/1946\n\n- Add support for Python 3.4.\n\n- Add support for testing on Travis.\n\n\n4.0.0 (2013-02-28)\n==================\n\n- Add support for Python 3.3.\n\n- Drop support for Python 2.4 and 2.5.\n\n\n3.5.3 (2010-09-25)\n==================\n\n- Add test extra to declare test dependency on ``zope.testing``.\n\n\n3.5.2 (2010-05-24)\n==================\n\n- Fix unit tests broken under Python 2.4 by the switch to the standard\n library ``doctest`` module.\n\n\n3.5.1 (2010-04-30)\n==================\n\n- Prefer the standard library's ``doctest`` module to the one from\n ``zope.testing``.\n\n\n3.5.0 (2009-02-04)\n==================\n\n- Add support to bootstrap on Jython.\n\n- Add reference documentation.\n\n\n3.4.0 (2007-07-19)\n==================\n\n- Finish release of ``zope.deferredimport``.\n\n\n3.4.0b1 (2007-07-09)\n====================\n\n- Initial release as a separate project, corresponding to the\n ``zope.deferredimport`` from Zope 3.4.0b1.\n",
"bugtrack_url": null,
"license": "ZPL 2.1",
"summary": "zope.deferredimport allows you to perform imports names that will only be resolved when used in the code.",
"version": "5.0",
"project_urls": {
"Homepage": "http://github.com/zopefoundation/zope.deferredimport",
"Issue Tracker": "https://github.com/zopefoundation/zope.deferredimport/issues",
"Sources": "https://github.com/zopefoundation/zope.deferredimport"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "69f7b5e232857f4d511b2628697bf2e48fca55ea4ed75b1432efd1bf024fbd12",
"md5": "fd4ad73551f4010d15e99fa475d36764",
"sha256": "b26e013b02fd1ee3e26510db66a737105128e48a0d348490f7c901ffd1928f25"
},
"downloads": -1,
"filename": "zope.deferredimport-5.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "fd4ad73551f4010d15e99fa475d36764",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 9977,
"upload_time": "2023-06-29T06:19:29",
"upload_time_iso_8601": "2023-06-29T06:19:29.665096Z",
"url": "https://files.pythonhosted.org/packages/69/f7/b5e232857f4d511b2628697bf2e48fca55ea4ed75b1432efd1bf024fbd12/zope.deferredimport-5.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "a1b79b0c93edb4c6745ac8784c265d244f5b3bc4082d92f7aefe952aaa5be5f3",
"md5": "148e4b0fe10b10a40b2abc5b7071c86c",
"sha256": "3abbf0e18c1f1765914ecd1d41b549e4d045b21b28e4065fb0c1de0ad736b2c3"
},
"downloads": -1,
"filename": "zope.deferredimport-5.0.tar.gz",
"has_sig": false,
"md5_digest": "148e4b0fe10b10a40b2abc5b7071c86c",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 19386,
"upload_time": "2023-06-29T06:19:32",
"upload_time_iso_8601": "2023-06-29T06:19:32.216324Z",
"url": "https://files.pythonhosted.org/packages/a1/b7/9b0c93edb4c6745ac8784c265d244f5b3bc4082d92f7aefe952aaa5be5f3/zope.deferredimport-5.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-06-29 06:19:32",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "zopefoundation",
"github_project": "zope.deferredimport",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "zope.deferredimport"
}