================
``zope.intid``
================
.. image:: https://img.shields.io/pypi/v/zope.intid.svg
:target: https://pypi.org/project/zope.intid/
:alt: Latest release
.. image:: https://img.shields.io/pypi/pyversions/zope.intid.svg
:target: https://pypi.org/project/zope.intid/
:alt: Supported Python versions
.. image:: https://github.com/zopefoundation/zope.intid/actions/workflows/tests.yml/badge.svg
:target: https://github.com/zopefoundation/zope.intid/actions/workflows/tests.yml
.. image:: https://readthedocs.org/projects/zopeintid/badge/?version=latest
:target: http://zopeintid.readthedocs.io/en/latest/?badge=latest
:alt: Documentation Status
.. image:: https://coveralls.io/repos/github/zopefoundation/zope.intid/badge.svg?branch=master
:target: https://coveralls.io/github/zopefoundation/zope.intid?branch=master
:alt: Code Coverage
This package provides an API to create integer ids for any object. Later
objects can be looked up by their id as well. This functionality is commonly
used in situations where dealing with objects is undesirable, such as in
search indices or any code that needs an easy hash of an object.
Documentation is hosted at http://zopeintid.readthedocs.io
=========
Changes
=========
5.1 (2025-02-14)
================
- Add support for Python 3.12, 3.13.
- Drop support for Python 3.7, 3.8.
5.0 (2023-02-21)
================
- Add support for Python 3.9, 3.10, 3.11.
- Drop support for Python 2.7, 3.5, 3.6.
- Drop support for deprecated ``python setup.py test``.
4.4.0 (2021-03-19)
==================
- Fixed deprecation warning for ``zope.site.hooks`` in tests.
- Add support for Python 3.7 and 3.8.
- Drop support for Python 3.4.
- Fix incorrect import of
``zope.interface.interfaces.IComponentLookup`` in tests.
4.3.0 (2017-07-26)
==================
- Add support for Python 3.6.
- Drop support for Python 3.3.
4.2.0 (2016-12-08)
==================
- Raise more informative KeyError subclasses from the utility when intids
or objects cannot be found. This distinguishes them from errors
raised by normal dictionaries or BTrees, and is useful in unit
testing or when persisting intids or sharing them among processes
for later or concurrent use.
- Propagate ``POSKeyError`` from ``queryId`` instead of returning the
default object. This exception indicates a corrupt database, not a
missing object. The ``queryObject`` function already behaved this way.
- Stop depending on ZODB for anything except testing.
- Add support for Python 3.5 and PyPy3 5.2.
- Drop support for Python 2.6.
4.1.0 (2014-12-27)
==================
- Add support for PyPy (PyPy3 blocked on PyPy3-compatible ``zodbpickle``).
- Add support for Python 3.4.
4.0.0 (2014-12-20)
==================
- Add support for testing on Travis.
4.0.0a1 (2013-02-22)
====================
- Add support for Python 3.3.
- Replace deprecated ``zope.interface.implements`` usage with equivalent
``zope.interface.implementer`` decorator.
- Drop support for Python 2.4 and 2.5.
- Bug fix: ensure that the IntId utility never generates ids greater
than the maxint of the BTree family being used.
3.7.2 (2009-12-27)
==================
- Use the zope.component API in favor of ztapi.
- Remove ``zope.app.testing`` dependency.
3.7.1 (2009-05-18)
==================
- Remove dependencies on ``zope.container``. Instead import
``Object*Event`` classes from ``zope.lifecycleevent`` and import
``IContained`` from ``zope.location``. In order to be able to do
this, depend on ``zope.lifecycleevent``>=3.5.2 and
``zope.location``>=3.5.4.
- Remove a dependency on ``zope.container.contained.Contained``
(this is a dumb base class that defines __parent__ and __name__
as None and declares that the class implements IContained).
3.7.0 (2009-02-01)
==================
- Split out this package from ``zope.app.intid``. The latter one
now only contains browser views and compatibility imports while
whole IntId functionality is moved here.
Raw data
{
"_id": null,
"home_page": "http://github.com/zopefoundation/zope.intid",
"name": "zope.intid",
"maintainer": "Zope developers",
"docs_url": null,
"requires_python": ">=3.9",
"maintainer_email": "zope-dev@zope.dev",
"keywords": "zope3 integer id utility",
"author": "Albertas Agejevas and Gintautas Miliauskas",
"author_email": "zope-dev@zope.dev",
"download_url": "https://files.pythonhosted.org/packages/d7/27/9f8c0197daba7373df5cdeceffb70a41d4d89b0d2c5ce04b1613bb1c9c12/zope_intid-5.1.tar.gz",
"platform": null,
"description": "================\n ``zope.intid``\n================\n\n.. image:: https://img.shields.io/pypi/v/zope.intid.svg\n :target: https://pypi.org/project/zope.intid/\n :alt: Latest release\n\n.. image:: https://img.shields.io/pypi/pyversions/zope.intid.svg\n :target: https://pypi.org/project/zope.intid/\n :alt: Supported Python versions\n\n.. image:: https://github.com/zopefoundation/zope.intid/actions/workflows/tests.yml/badge.svg\n :target: https://github.com/zopefoundation/zope.intid/actions/workflows/tests.yml\n\n.. image:: https://readthedocs.org/projects/zopeintid/badge/?version=latest\n :target: http://zopeintid.readthedocs.io/en/latest/?badge=latest\n :alt: Documentation Status\n\n.. image:: https://coveralls.io/repos/github/zopefoundation/zope.intid/badge.svg?branch=master\n :target: https://coveralls.io/github/zopefoundation/zope.intid?branch=master\n :alt: Code Coverage\n\n\nThis package provides an API to create integer ids for any object. Later\nobjects can be looked up by their id as well. This functionality is commonly\nused in situations where dealing with objects is undesirable, such as in\nsearch indices or any code that needs an easy hash of an object.\n\nDocumentation is hosted at http://zopeintid.readthedocs.io\n\n\n=========\n Changes\n=========\n\n5.1 (2025-02-14)\n================\n\n- Add support for Python 3.12, 3.13.\n\n- Drop support for Python 3.7, 3.8.\n\n\n5.0 (2023-02-21)\n================\n\n- Add support for Python 3.9, 3.10, 3.11.\n\n- Drop support for Python 2.7, 3.5, 3.6.\n\n- Drop support for deprecated ``python setup.py test``.\n\n\n4.4.0 (2021-03-19)\n==================\n\n- Fixed deprecation warning for ``zope.site.hooks`` in tests.\n\n- Add support for Python 3.7 and 3.8.\n\n- Drop support for Python 3.4.\n\n- Fix incorrect import of\n ``zope.interface.interfaces.IComponentLookup`` in tests.\n\n4.3.0 (2017-07-26)\n==================\n\n- Add support for Python 3.6.\n\n- Drop support for Python 3.3.\n\n\n4.2.0 (2016-12-08)\n==================\n\n- Raise more informative KeyError subclasses from the utility when intids\n or objects cannot be found. This distinguishes them from errors\n raised by normal dictionaries or BTrees, and is useful in unit\n testing or when persisting intids or sharing them among processes\n for later or concurrent use.\n\n- Propagate ``POSKeyError`` from ``queryId`` instead of returning the\n default object. This exception indicates a corrupt database, not a\n missing object. The ``queryObject`` function already behaved this way.\n\n- Stop depending on ZODB for anything except testing.\n\n- Add support for Python 3.5 and PyPy3 5.2.\n\n- Drop support for Python 2.6.\n\n4.1.0 (2014-12-27)\n==================\n\n- Add support for PyPy (PyPy3 blocked on PyPy3-compatible ``zodbpickle``).\n\n- Add support for Python 3.4.\n\n\n4.0.0 (2014-12-20)\n==================\n\n- Add support for testing on Travis.\n\n\n4.0.0a1 (2013-02-22)\n====================\n\n- Add support for Python 3.3.\n\n- Replace deprecated ``zope.interface.implements`` usage with equivalent\n ``zope.interface.implementer`` decorator.\n\n- Drop support for Python 2.4 and 2.5.\n\n- Bug fix: ensure that the IntId utility never generates ids greater\n than the maxint of the BTree family being used.\n\n3.7.2 (2009-12-27)\n==================\n\n- Use the zope.component API in favor of ztapi.\n\n- Remove ``zope.app.testing`` dependency.\n\n3.7.1 (2009-05-18)\n==================\n\n- Remove dependencies on ``zope.container``. Instead import\n ``Object*Event`` classes from ``zope.lifecycleevent`` and import\n ``IContained`` from ``zope.location``. In order to be able to do\n this, depend on ``zope.lifecycleevent``>=3.5.2 and\n ``zope.location``>=3.5.4.\n\n- Remove a dependency on ``zope.container.contained.Contained``\n (this is a dumb base class that defines __parent__ and __name__\n as None and declares that the class implements IContained).\n\n3.7.0 (2009-02-01)\n==================\n\n- Split out this package from ``zope.app.intid``. The latter one\n now only contains browser views and compatibility imports while\n whole IntId functionality is moved here.\n",
"bugtrack_url": null,
"license": "ZPL-2.1",
"summary": "Integer Id Utility",
"version": "5.1",
"project_urls": {
"Homepage": "http://github.com/zopefoundation/zope.intid"
},
"split_keywords": [
"zope3",
"integer",
"id",
"utility"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "1fd4600d767ca5de7dc3d7b2a26f573718ec3c6b10756491c2c9850766d5f28e",
"md5": "299d58c77fc922f86e6af8d8731da46a",
"sha256": "a7be3cae2ac81f22fed126d66f96f3c604ad26401fb975677b036eeee27f4486"
},
"downloads": -1,
"filename": "zope.intid-5.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "299d58c77fc922f86e6af8d8731da46a",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.9",
"size": 12810,
"upload_time": "2025-02-14T08:36:19",
"upload_time_iso_8601": "2025-02-14T08:36:19.161644Z",
"url": "https://files.pythonhosted.org/packages/1f/d4/600d767ca5de7dc3d7b2a26f573718ec3c6b10756491c2c9850766d5f28e/zope.intid-5.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d7279f8c0197daba7373df5cdeceffb70a41d4d89b0d2c5ce04b1613bb1c9c12",
"md5": "57abeef69a15b49580546d4a849603cd",
"sha256": "0a0cfa226f5f7787cb243a86326a8dc398acaa854f92df88c4ff939fdec9523d"
},
"downloads": -1,
"filename": "zope_intid-5.1.tar.gz",
"has_sig": false,
"md5_digest": "57abeef69a15b49580546d4a849603cd",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.9",
"size": 22052,
"upload_time": "2025-02-14T08:36:21",
"upload_time_iso_8601": "2025-02-14T08:36:21.689207Z",
"url": "https://files.pythonhosted.org/packages/d7/27/9f8c0197daba7373df5cdeceffb70a41d4d89b0d2c5ce04b1613bb1c9c12/zope_intid-5.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2025-02-14 08:36:21",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "zopefoundation",
"github_project": "zope.intid",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"tox": true,
"lcname": "zope.intid"
}