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.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 | |
|---|---|---|---|
| airflow_cron-0.1.1.tar.gz | 10.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| airflow_cron-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 21.6 kB
Release files / airflow_cron-0.1.1.tar.gz
| Download URL | airflow_cron-0.1.1.tar.gz |
|---|---|
| Size | 10.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2cd40cf3ea6b797b6f78c010b937319f6376568f7d0786cc762007390b409237
|
|
BLAKE2b-256 checksum How to use checksums |
126a4d0695f9d7696680fa8926d10fe58cb235e2e0563a6000ef2f2d4fe3cfed
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|
Release files / airflow_cron-0.1.1-py3-none-any.whl
| Download URL | airflow_cron-0.1.1-py3-none-any.whl |
|---|---|
| Size | 11.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
58f6452cd3c3716a28d4f2d9e1033570bab553860b342bd79ffc063d264e5179
|
|
BLAKE2b-256 checksum How to use checksums |
808d2daa6d06054c2ce321112cbe4500ffb4c702b3702b5d6633e7a31ad37e47
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.13
|