# paradeps
## Overview
This resolves dependencies into parallelizable execution tiers. For example, given the inputs:
a, b, c, d, f
Where a and b depend on f, this will return:
[{c,d,f}, {a,b}]
## Requirements
Python 3.10+
## Installation
pip install paradeps
Or download the *.whl files and install it with `pip install *.whl`.
## Usage
from paradeps import Dependent
class Item(Dep):
...
def process_items_in_parallel(items):
...
items = [Item() for i in range(5)]
items[0].add_dependency(items[2])
items[2].add_dependency(items[4])
tiers = resolve_deps(items)
for tier in tiers:
process_items_in_parallel(tier)
## License
Released under the terms of Affero GPL version 3.0 only. See `LICENSE.txt` for further details.
## Authors / Contact
Email mailto::leebraid@gmail.com[mailto::leebraid@gmail.com].
Metadata
Release files for paradeps 0.1.1
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 | |
|---|---|---|---|---|
| paradeps-0.1.1.tar.gz | 14.2 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| paradeps-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 28.8 kB
Release files / paradeps-0.1.1.tar.gz
| Download URL | paradeps-0.1.1.tar.gz |
|---|---|
| Size | 14.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2e500d94cc1b12eacfd35322e91a6ad403ec23889745f27d2bbd5820e2b435d9
|
|
BLAKE2b-256 checksum How to use checksums |
5c111d8adac7725559e9c28f09cf358d2f2cf36038428c197cfc180ace2a4c1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.0 CPython/3.10.6 Linux/6.0.0-5-amd64
|
Release files / paradeps-0.1.1-py3-none-any.whl
| Download URL | paradeps-0.1.1-py3-none-any.whl |
|---|---|
| Size | 14.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e3fd722b17773cd7071c3d1b4d1450d8346f7e1fd14bd9c696147ef03867241
|
|
BLAKE2b-256 checksum How to use checksums |
8b6bc63cf4759d4f93c201341e0a306068d771bc15ef50897c92a38605fc2499
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.2.0 CPython/3.10.6 Linux/6.0.0-5-amd64
|
Security for paradeps 0.1.1
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.