Skip to main content
Files added late

2 files were added to this release more than 14 days after its initial publication. Inspect the release files before installing.

multi_key_dict

Implementation of a multi-key dictionary, i.e.:

(key1[,key2, ..]) => value

This dictionary has a similar interface to the standard dictionary => but is extended to support multiple keys referring to the same element.

If element is created using multiple keys, e.g.:

from multi_key_dict import multi_key_dict

k = multi_key_dict()
k[1000, 'kilo', 'k'] = 'kilo (x1000)'

print k[1000] # will print 'kilo (x1000)'
print k['k'] # will also print 'kilo (x1000)'

# the same way objects can be updated, deleted:
# and if an object is updated using one key, the new value will
# be accessible using any other key, e.g. for example above:
k['kilo'] = 'kilo'
print k[1000] # will now print 'kilo' as value was updated

These elements can be accessed using either of those keys (e.g for read/update/deletion).

Multi-key dict provides also extended interface for iterating over items and keys (e.g. by the key type), which might be useful when creating, e.g. dictionaries with index-name key pair allowing to iterate over items using either: names or indexes. It can be useful for many many other similar use-cases, and there is no limit to the number of keys used to map to the value.

There are few other useful methods, e.g. to iterate over dictionary (by/using) selected key type, finding other keys mapping to the same value etc. Refer to example/test code to see it in action.

Metadata

Release files for multi-key-dict 2.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Files added late

2 files were uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release files before installing.

Source distributions (sdists)

Source distribution for multi-key-dict 2.0.1
File Size Uploaded Provenance Actions
multi_key_dict-2.0.1.zip 9.8 kB Without provenance Details for multi_key_dict-2.0.1.zip
multi_key_dict-2.0.1.tar.gz 8.3 kB Without provenance Details for multi_key_dict-2.0.1.tar.gz

Built distributions (wheels)

Table of built distributions (wheels) for multi-key-dict 2.0.1
File Interpreter ABI Platform Actions
multi_key_dict-2.0.1.win32.exe Details for multi_key_dict-2.0.1.win32.exe
multi_key_dict-2.0.1-1.src.rpm Details for multi_key_dict-2.0.1-1.src.rpm
multi_key_dict-2.0.1-1.noarch.rpm Details for multi_key_dict-2.0.1-1.noarch.rpm

Total release size: 256.7 kB

Release files / multi_key_dict-2.0.1.zip

Download URL multi_key_dict-2.0.1.zip
Size 9.8 kB
Tags Source
SHA-256 checksum
How to use checksums
12977aea5682f418c8619f94231cd777ef8d4fe2da1f4917f7f1eed3721b79d0
BLAKE2b-256 checksum
How to use checksums
14301b527f4883e1288d595bfae0844305db1271b8255a6854d80a060e548062
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / multi_key_dict-2.0.1.tar.gz

Download URL multi_key_dict-2.0.1.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
6c05c3db20891c20b28ada31e234dfcab05015e47cdb696d1169e10aab657869
BLAKE2b-256 checksum
How to use checksums
30a677b6c040cd35ba4d20b0d9678379fe8b8bb33f1c08dde1e193d6c381084c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / multi_key_dict-2.0.1.win32.exe

Download URL multi_key_dict-2.0.1.win32.exe
Size 206.6 kB
Tags Source
SHA-256 checksum
How to use checksums
0eb2bf19799d0712b2cccb928d5044fdf1f06a439841f3fd5b4b3c193bd20117
BLAKE2b-256 checksum
How to use checksums
d9db9467e43b4f5742fc8c740a393cc8a02d9ac38e38ba96193ac46806fc7153
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / multi_key_dict-2.0.1-1.src.rpm

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL multi_key_dict-2.0.1-1.src.rpm
Size 12.7 kB
Tags Source
SHA-256 checksum
How to use checksums
ed3d7abe622de005273c0a417171af1afaf9bec83812e0378e45b16a4d80afee
BLAKE2b-256 checksum
How to use checksums
0db5eb9c09b8fa9ec3d5cdcf80238f356a1c0cbda8d6d6d4124e4264ae7913e1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / multi_key_dict-2.0.1-1.noarch.rpm

File added late

This file was uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.

We recommend inspecting the release file before installing.

Download URL multi_key_dict-2.0.1-1.noarch.rpm
Size 19.2 kB
Tags Source
SHA-256 checksum
How to use checksums
9026ef6d5b612ade9b269b0efe513b8024a508032ea4976673a203e736a4c3f2
BLAKE2b-256 checksum
How to use checksums
9215419169593ab5286d1021098822536cf70c458cad792b19bdd1eb676f8a17
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for multi-key-dict 2.0.1

Upload timing

Files added late

2 files were uploaded more than 14 days after the first file in this release.

While project maintainers occasionally add legitimate files to an existing release, late additions can also indicate a security compromise.


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