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:
IdentitySetIdentityDictIdentityDefaultDictIdentityWeakKeyDict
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)
| File | Size | Uploaded | |
|---|---|---|---|
| identity_containers-1.1.0.tar.gz | 4.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| identity_containers-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
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
|