cron-pydantic
Typed, YAML-friendly models for cron schedules, jobs, and crontab files.
from cron_pydantic import CronConfiguration
config = CronConfiguration.model_validate(
{
"environment": {"PATH": "/usr/local/bin:/usr/bin"},
"job": {
"backup": {
"schedule": "0 2 * * *",
"command": "/opt/jobs/backup",
}
},
}
)
print(config.to_cron())
cron-pydantic validates five-field and special schedules, renders user and
system crontabs, parses existing crontab text, and loads YAML. File output is
explicit; the package never installs or replaces a host crontab.
Documentation
Published documentation is available at airflow-laminar.github.io/cron-pydantic.
Ecosystem
- supervisor-pydantic models supervisord processes.
- systemd-pydantic models systemd services and timers.
- airflow-supervisor manages supervisord jobs from Airflow.
- airflow-cron converts cron jobs into Airflow DAG models.
- airflow-systemd manages systemd services from Airflow.
- airflow-pydantic supplies declarative Airflow models.
- airflow-config loads YAML-based Airflow configurations.
Metadata
Release files for cron-pydantic 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 | Actions |
|---|---|---|---|---|
| cron_pydantic-0.1.1.tar.gz | 11.5 kB | Without provenance | Details for cron_pydantic-0.1.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| cron_pydantic-0.1.1-py3-none-any.whl | Python 3 | none | any | Details for cron_pydantic-0.1.1-py3-none-any.whl |
Total release size: 23.3 kB
Release files / cron_pydantic-0.1.1.tar.gz
| Download URL | cron_pydantic-0.1.1.tar.gz |
|---|---|
| Size | 11.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1d2f0ddb686bedeca470357f5683df2197e2ed597ad18df9f0060842ebd6b5f6
|
|
BLAKE2b-256 checksum How to use checksums |
729ac192282f83971cc7ed3ec238e8e6a1d9b396b541dea235fd032942747738
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|
Release files / cron_pydantic-0.1.1-py3-none-any.whl
| Download URL | cron_pydantic-0.1.1-py3-none-any.whl |
|---|---|
| Size | 11.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
e1be65ed49d3e2087c9c2332c8f8a1518dbf334a6df2778d5ab6de641f011587
|
|
BLAKE2b-256 checksum How to use checksums |
3dcaccf539581befda987c2c8a77fc7abb487d18e92cefebdbe4ecc0439cc850
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.15
|
Security for cron-pydantic 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.
To learn more about protecting yourself from malicious actors, visit our package security documentation.