A pure python scapegoat splay tree class is provided. It is thoroughly unit tested, passes pylint, and is known to run on CPython 2.x, CPython 3.x, Pypy 2.2 and Jython 2.7b2.
This scapegoat tree looks like a dictionary that’s always sorted by key. It also reorganizes itself on every put.
Perhaps the most interesting thing about a scapegoat tree, is it is balanced even for ordered keys, without any storage overhead (unlike treaps and red-black trees).
Metadata
Release files for scapegoat_mod 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 | Provenance | Actions |
|---|---|---|---|---|
| scapegoat_mod-1.0.tar.gz | 14.5 kB | Without provenance | Details for scapegoat_mod-1.0.tar.gz |
Release files / scapegoat_mod-1.0.tar.gz
| Download URL | scapegoat_mod-1.0.tar.gz |
|---|---|
| Size | 14.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e8cc35061ba880e239d2eeb3ee50177f1262e0bfd3d22bdd07f150fb0848abf3
|
|
BLAKE2b-256 checksum How to use checksums |
450771f04baa56b2559032e555760c956c443f71690799dd0dca446313d51244
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for scapegoat_mod 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.