Skip to main content

DList for Python (triordinal-dlist)

The list shared by Triordinal's DTree and DGraph: a doubly linked list of names with rational positions, so that "does a come before b?" is a single comparison, O(1).

pip install triordinal-dlist
from triordinal.dlist import DList

q = DList("Q")
q.insert_after("a", "[")      # "[" is the start marker (SOURCE)
q.insert_after("b", "a")
q.precedes("a", "b")          # True

A new element gets the mediant (a+c)/(b+d) of its neighbors a/b and c/d, so normally no other element moves. Only when a denominator would exceed 64 bits is the smallest surrounding region with enough room renumbered; larger regions must be sparser before they are accepted (as in Bender et al., ESA 2002). Rational positions were Enis Olgac's idea.

Most users install triordinal-dtree (or later triordinal-dgraph), which pulls this package in. MIT License.

Metadata

Release files for triordinal-dlist 2.0.0

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

Source distribution (sdist)

Source distribution for triordinal-dlist 2.0.0
File Size Uploaded Provenance Actions
triordinal_dlist-2.0.0.tar.gz 6.2 kB With provenance Details for triordinal_dlist-2.0.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for triordinal-dlist 2.0.0
File Interpreter ABI Platform Actions
triordinal_dlist-2.0.0-py3-none-any.whl Python 3 none any Details for triordinal_dlist-2.0.0-py3-none-any.whl

Total release size: 11.4 kB

Release files / triordinal_dlist-2.0.0.tar.gz

Download URL triordinal_dlist-2.0.0.tar.gz
Size 6.2 kB
Tags Source
SHA-256 checksum
How to use checksums
49dcbfa547b1a2d69c1808186d512e273ffdf487cdea43064f41967a9cd59e22
BLAKE2b-256 checksum
How to use checksums
1b9ec17cf87fb65c85a54fb49441077866f1f9ecc354c132032c08733b077a84
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

Release files / triordinal_dlist-2.0.0-py3-none-any.whl

Download URL triordinal_dlist-2.0.0-py3-none-any.whl
Size 5.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
76d95915cb44fe32ac738f978ce48f5ccda830187e7aadb630dc5c1d143703bf
BLAKE2b-256 checksum
How to use checksums
955bf28dba78546bfdd8c10addfd3b3f290adac72e964cef031867fb868129d0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

Security for triordinal-dlist 2.0.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.

Full provenance

All 2 files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for triordinal_dlist-2.0.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 29, 2026.

Transparency log

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.

Release history Release notifications | RSS feed

This release

2.0.0 This release

2 release files Full provenance

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