Simple dependency tree builder, handles forward and reverse dependencies, returning an ordered tree with its nodes ordered from root towards leafs.
Example:
>>> from disentangler import Disentangler
>>> inst = Disentangler.new()
>>> inst.add('a', {})
>>> inst.add('b', {'depends_on': ['d', 'c']})
>>> inst.add('c', {})
>>> inst.add('d', {'depends_on': ['a']})
>>> ordered = inst.solve()
>>> print(ordered)
OrderedDict([('a', {}),
('c', {}),
('d', {'depends_on': ['a']}),
('b', {'depends_on': ['d', 'c']})])
Metadata
Release files for disentangler 1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distributions (sdists)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| disentangler-1.0.zip | 5.0 kB | Without provenance | Details | |
| disentangler-1.0.tar.gz | 3.0 kB | Without provenance | Details |
Release files / disentangler-1.0.zip
| Download URL | disentangler-1.0.zip |
|---|---|
| Size | 5.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21c31fda17a2a816fc0a1dcce3f1aceb10b4f4697fec15617ae62fb9af0d330c
|
|
BLAKE2b-256 checksum How to use checksums |
300e8262fc8c8c1bf64d41191aae70139012ca304b2b3d99768e0fb44efcd9ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / disentangler-1.0.tar.gz
| Download URL | disentangler-1.0.tar.gz |
|---|---|
| Size | 3.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e3b94a51c5611b8207dd4328e4cb6b9119db7db7fe101e4308f14010db9d39ce
|
|
BLAKE2b-256 checksum How to use checksums |
d2209a8c0d085f7710b462636d074c9924b183ec5cb1ebbc3ab273f1b0d1de75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for disentangler 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.