circulartape
It's a node-oriented circular linked list implementation.
Source: phab.tris.fyi.
Example
from circulartape import Tape
one = Tape("one") # one.to_list() == ["one"]
two = one.insert("two") # one.to_list() == ["one", "two"]
three = two.insert("three") # one.to_list() == ["one", "two", "three"]
two.remove() # one.to_list() == ["one", "three"]
# You can build a long list and seek through it n nodes at a time:
one = Tape(1)
current = one
for i in range(2, 100):
current = current.insert(i)
one.seek(30).data # => 31
# Use negative values to seek backwards.
Metadata
Release files for circulartape 0.0.3
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 | |
|---|---|---|---|---|
| circulartape-0.0.3.tar.gz | 1.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| circulartape-0.0.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 4.2 kB
Release files / circulartape-0.0.3.tar.gz
| Download URL | circulartape-0.0.3.tar.gz |
|---|---|
| Size | 1.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
39349fb1c6fc400d605d4f097a7bf86f4954bbe4a92edc622f4dbe45a856ee73
|
|
BLAKE2b-256 checksum How to use checksums |
671b1ab734cf649d56caa5ac164f9eb0eb07a146001fec403f6a86a3b8b4dc03
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|
Release files / circulartape-0.0.3-py3-none-any.whl
| Download URL | circulartape-0.0.3-py3-none-any.whl |
|---|---|
| Size | 2.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8ebfacc8fdc537edea9c5908dfbb9498623dd27cdf1f8d7c268f9b68dadc427e
|
|
BLAKE2b-256 checksum How to use checksums |
d3e1ebf860d54304681527128d7b299d642ff23e58608fd0540e7a4ac8dac78e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.12.1 pkginfo/1.4.2 requests/2.20.1 setuptools/40.6.2 requests-toolbelt/0.8.0 tqdm/4.28.1 CPython/3.7.1
|
Security for circulartape 0.0.3
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.