Skip to main content

Introduction

This module implements dicts and sets that compare items based on identity rather than value. This allows them to store unhashable objects.

Usage example:

from identity_containers import IdentitySet

foo = []
bar = []

id_set = IdentitySet([foo])

print(foo in id_set)  # True
print(bar in id_set)  # False

The following classes exist:

  • IdentitySet
  • IdentityDict
  • IdentityDefaultDict
  • IdentityWeakKeyDict

Metadata

Release files for identity-containers 1.1.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 identity-containers 1.1.0
File Size Uploaded Provenance Actions
identity_containers-1.1.0.tar.gz 4.7 kB Without provenance Details for identity_containers-1.1.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for identity-containers 1.1.0
File Interpreter ABI Platform Actions
identity_containers-1.1.0-py3-none-any.whl Python 3 none any Details for identity_containers-1.1.0-py3-none-any.whl

Total release size: 10.3 kB

Release files / identity_containers-1.1.0.tar.gz

Download URL identity_containers-1.1.0.tar.gz
Size 4.7 kB
Tags Source
SHA-256 checksum
How to use checksums
8e7c5aabfa4f46409e88bb0dd598a43d3ee8e268864cd7ae735f86b15043be62
BLAKE2b-256 checksum
How to use checksums
dfd4a00dc75b7198b37a015f1c332bd7788db6b3f6555f64d22d4e12c54ad9ed
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.5

Release files / identity_containers-1.1.0-py3-none-any.whl

Download URL identity_containers-1.1.0-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9af2208e10224cf41be4d136e765fbb1b561d78f4f58b520743cedd31f45d4f0
BLAKE2b-256 checksum
How to use checksums
88323cad0e57b58a35f6fb275a105fe8fd8c0b510d848bbf87c40b76a8ddee44
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via python-requests/2.32.5

Security for identity-containers 1.1.0

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