Skip to main content

zope.intid

Latest release Supported Python versions https://github.com/zopefoundation/zope.intid/actions/workflows/tests.yml/badge.svg Documentation Status 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

6.0 (2025-09-12)

  • Replace pkg_resources namespace with PEP 420 native namespace.

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.

Release files for zope.intid 6.0

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.intid 6.0
File Size Uploaded
zope_intid-6.0.tar.gz 22.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for zope.intid 6.0
File Interpreter ABI Platform
zope_intid-6.0-py3-none-any.whl Python 3 none any Details

Total release size: 34.4 kB

Release files / zope_intid-6.0.tar.gz

Download URL zope_intid-6.0.tar.gz
Size 22.1 kB
Tags Source
SHA-256 checksum
How to use checksums
96ec52377e4863c773f8ecc3dd426e2dd381c9d58bad29ca00208776124a2805
BLAKE2b-256 checksum
How to use checksums
0ee9367b16580c84483ec053bf03674025b67c346b675057d1e94a13c672f816
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release files / zope_intid-6.0-py3-none-any.whl

Download URL zope_intid-6.0-py3-none-any.whl
Size 12.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d136851c0d3766698ced6c8fd0411d25107de61b956cd5843d41fc4830b90b13
BLAKE2b-256 checksum
How to use checksums
59561e613c35e93f80a7e68cafe3ca7889f3b2c78a15bb4193392e877c796f53
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.12.11

Release history Release notifications | RSS feed

This release

6.0 This release

2 release files

5.1

2 release files

5.0

2 release files

4.4.0

2 release files

4.3.0

2 release files

4.2.0

2 release files

4.1.0

1 release file

4.0.0

1 release file

3.7.2

1 release file

3.7.1

1 release file

3.7.0

1 release file

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