Skip to main content

Doubly (Py) Linked List 1️⃣ ↔️ 2️⃣ ↔️ 3️⃣

CI License

A module that implements doubly linked lists in python

Example

python -m pip install doubly-py-linked-list
>>> from doubly_py_linked_list import DoublyLinkedList as dll
>>> d = dll([1, 2, 3, 4])
>>> d
1 <-> 2 <-> 3 <-> 4
>>> node_0 = d.insert_head(0)
>>> node_5 = d.insert_tail(5)
>>> for v in d:
...     print(v)
...
0
1
2
3
4
5
>>> d.move_to_head(node_5)
>>> d.move_to_tail(node_0)
>>> list(d)
[5, 1, 2, 3, 4, 0]
>>> d.pop_head()
5
>>> list(d)
[1, 2, 3, 4, 5, 0]
>>> d.pop_tail()
0
>>> list(d)
[1, 2, 3, 4]
>>> d.nodes()
[ddl_node(1), ddl_node(2), ddl_node(3), ddl_node(4)]

Metadata

Release files for doubly-py-linked-list 1.1.2

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

Source distribution (sdist)

Source distribution for doubly-py-linked-list 1.1.2
File Size Uploaded Provenance Actions
doubly_py_linked_list-1.1.2.tar.gz 5.1 kB Without provenance Details for doubly_py_linked_list-1.1.2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for doubly-py-linked-list 1.1.2
File Interpreter ABI Platform Actions
doubly_py_linked_list-1.1.2-py3-none-any.whl Python 3 none any Details for doubly_py_linked_list-1.1.2-py3-none-any.whl

Total release size: 10.4 kB

Release files / doubly_py_linked_list-1.1.2.tar.gz

Download URL doubly_py_linked_list-1.1.2.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
e8247ec6e2a453ff37add8096e8522f1c5f983df77b0e011bb59f62a89f6c5cf
BLAKE2b-256 checksum
How to use checksums
ff361d6e00bbf5a62febad9268d7a5658531d7c63fd686e83018d2e097c65780
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.6

Release files / doubly_py_linked_list-1.1.2-py3-none-any.whl

Download URL doubly_py_linked_list-1.1.2-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d9b17bd1a1407e88d55bd980fc4cada076362554e7c8fad4c2259ced12500d64
BLAKE2b-256 checksum
How to use checksums
ccb023f4edabfba4099770a53534b44dcdc69914dd74c7e900ec12aefe6bbb30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.0.0 CPython/3.11.6

Security for doubly-py-linked-list 1.1.2

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