airduct
Simple Pipeline Scheduler in Python
Links
Installing
$ pip install airduct
or
$ poetry add airduct
Quickstart
Create a file and put into a folder/python-module.
from airduct import schedule, task
schedule(
name='ExampleFlow',
run_at='* * * * *',
flow=[
task('e1f1'),
[task('e1f2'), task('e1f3', can_fail=True)],
[task('e1f4')]
]
)
async def e1f1():
print('e1f1 - An async function!')
def e1f2():
print('e1f2 - Regular functions work too')
async def e1f3():
print('e1f3')
async def e1f4():
print('e1f4')
Run: $ airduct schedule --path /path/to/folder
By default it uses a sqlite in-memory database. If using the in-memory database, it will also automatically run as a worker, in addition to a scheduler. If you wish to use a non in-memory sqlite database, you will need to also run a worker (could be on same box, or separate) See the documentation for more info.
Metadata
Release files for airduct 0.1.22
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 | Actions |
|---|---|---|---|---|
| airduct-0.1.22.tar.gz | 9.1 kB | Without provenance | Details for airduct-0.1.22.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| airduct-0.1.22-py3-none-any.whl | Python 3 | none | any | Details for airduct-0.1.22-py3-none-any.whl |
Total release size: 19.7 kB
Release files / airduct-0.1.22.tar.gz
| Download URL | airduct-0.1.22.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
01330cde03f35b3c1f87b111cb9c58dc3315515366810b0f07634a083a6f47df
|
|
BLAKE2b-256 checksum How to use checksums |
d61258d09fc2c4a2e0a99c13fa1fe0d89e7d023ff3b5be36b8cfe65ddb2f520e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.16 CPython/3.7.3 Linux/5.0.0-27-generic
|
Release files / airduct-0.1.22-py3-none-any.whl
| Download URL | airduct-0.1.22-py3-none-any.whl |
|---|---|
| Size | 10.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
58be872345aae522a45c81ca06ce5cff2897f5141281920d354bcf4ae5c498e4
|
|
BLAKE2b-256 checksum How to use checksums |
aea7277c042e94058e21eb08aa54e2018204a744580cf01a277d377d9ddb7b53
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/0.12.16 CPython/3.7.3 Linux/5.0.0-27-generic
|
Security for airduct 0.1.22
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.