py-hopscotch-dict
py-hopscotch-dict is a package that contains a replacement for the standard Python dict which implements the concepts of hopscotch hashing, as explained in the foundational paper.
Hopscotch hashing provides a number of benefits over the methods used in the standard dict implementation, most notably that insertions, deletions and lookups have an expected O(1) runtime.
py-hopscotch-dict has not been tested in a concurrent environment and thusly cannot be guaranteed to function correctly in conjunction with multi-threading, across multiple processes or in an asynchronous environment.
Usage
>>> from py_hopscotch_dict import HopscotchDict
>>> d = HopscotchDict()
>>> d["test"] = True
>>> d
HopscotchDict({'test': True})
License
py-hopscotch-dict is released under version 3.0.0 of the Prosperity Public License
Metadata
Release files for py-hopscotch-dict 2.2.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 | Provenance | Actions |
|---|---|---|---|---|
| py_hopscotch_dict-2.2.0.tar.gz | 21.8 kB | Without provenance | Details for py_hopscotch_dict-2.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| py_hopscotch_dict-2.2.0-py3-none-any.whl | Python 3 | none | any | Details for py_hopscotch_dict-2.2.0-py3-none-any.whl |
Total release size: 33.1 kB
Release files / py_hopscotch_dict-2.2.0.tar.gz
| Download URL | py_hopscotch_dict-2.2.0.tar.gz |
|---|---|
| Size | 21.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
869d6728393f76ecc0fda46fc194a64416fa439ce98ea694d536f89fa19ef4f0
|
|
BLAKE2b-256 checksum How to use checksums |
42d7b0fb9d7a3b6e819fdefa749858726a3e5b11877d1d637f9a2d91a06ba0a9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Release files / py_hopscotch_dict-2.2.0-py3-none-any.whl
| Download URL | py_hopscotch_dict-2.2.0-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
68ea9201e77cd7ed19b2f50a37bc01e95ffd3ffbfbab0cff4f6e463a7c2325e2
|
|
BLAKE2b-256 checksum How to use checksums |
9a678a0d48ec6fdaeb06f222b67e1d78a27b2b1a3e2e25c432f3f11074f3e957
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.10.12
|
Security for py-hopscotch-dict 2.2.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.