airflow-cron
Generate declarative Airflow DAG models from cron configuration.
from airflow_cron import CronAirflowConfiguration, create_dags
config = CronAirflowConfiguration.model_validate(
{
"job": {
"backup": {
"schedule": "0 2 * * *",
"command": "/opt/jobs/backup",
}
}
}
)
dag_models = create_dags(config)
Each enabled user-crontab job becomes one airflow-pydantic DAG containing one
Bash task. The result can be instantiated directly or added to an
airflow-config configuration.
Documentation
Published documentation is available at airflow-laminar.github.io/airflow-cron.
Ecosystem
- cron-pydantic provides the source crontab models.
- supervisor-pydantic and systemd-pydantic model process managers.
- airflow-supervisor and airflow-systemd manage long-running jobs.
- airflow-pydantic supplies generated DAG and task models.
- airflow-config applies shared YAML configuration and materializes DAGs.
Metadata
Release files for airflow-cron 0.1.2
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 | |
|---|---|---|---|---|
| airflow_cron-0.1.2.tar.gz | 10.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| airflow_cron-0.1.2-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.6 kB
Release files / airflow_cron-0.1.2.tar.gz
| Download URL | airflow_cron-0.1.2.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
28640d36bde4230f110e9d617535281a2dadbe0671fd7515b46d3cc3a0b262fa
|
|
BLAKE2b-256 checksum How to use checksums |
7ba2c4eef7a3d1f8547ece105471d7dc04a3f895db9839b8a0a385bf6c2da31a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|
Release files / airflow_cron-0.1.2-py3-none-any.whl
| Download URL | airflow_cron-0.1.2-py3-none-any.whl |
|---|---|
| Size | 11.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f92294c36e83cd059bf209b404fa24d1bfff9ca253baf536fdee68b6b99c48e5
|
|
BLAKE2b-256 checksum How to use checksums |
6bd4ed59c6754527f53c96310369a1fa42288d609017aa5239d5631d4260b782
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|
Security for airflow-cron 0.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.