supervisor-pydantic
Typed, YAML-friendly models and lifecycle tools for supervisord.
from supervisor_pydantic import ProgramConfiguration, SupervisorConvenienceConfiguration
config = SupervisorConvenienceConfiguration(
working_dir="/tmp/example-supervisor",
program={
"worker": ProgramConfiguration(command="python worker.py"),
},
)
print(config.to_cfg())
The package models supervisord configuration sections, renders
supervisord.conf, loads Hydra/YAML configuration, exposes an XML-RPC client,
and provides the _supervisor_convenience lifecycle CLI.
Documentation
- Tutorial: render a supervisord configuration
- How-to guides
- Why the convenience layer exists
- API reference
Published documentation is available at airflow-laminar.github.io/supervisor-pydantic.
Ecosystem
- systemd-pydantic provides aligned models for systemd services and timers.
- cron-pydantic models traditional crontabs.
- airflow-supervisor orchestrates these configurations from Airflow.
- airflow-systemd and airflow-cron provide alternative Airflow integrations.
- airflow-pydantic supplies declarative Airflow models.
- airflow-config loads YAML-based Airflow configurations.
Metadata
Release files for supervisor-pydantic 1.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| supervisor_pydantic-1.5.0.tar.gz | 38.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| supervisor_pydantic-1.5.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 100.6 kB
Release files / supervisor_pydantic-1.5.0.tar.gz
| Download URL | supervisor_pydantic-1.5.0.tar.gz |
|---|---|
| Size | 38.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c684274dca04ab55c107abbedf555bdaecffc9405c51c871b8e97627527ab99f
|
|
BLAKE2b-256 checksum How to use checksums |
9f184ba1f719b44d0058c68692371d739355ade465d93aaef9dd70cfcb8f12fa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|
Release files / supervisor_pydantic-1.5.0-py3-none-any.whl
| Download URL | supervisor_pydantic-1.5.0-py3-none-any.whl |
|---|---|
| Size | 62.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d74395be7a58464f258d5ba1ce91725740cd1a7c39fdce8a2e0034f18dec5d92
|
|
BLAKE2b-256 checksum How to use checksums |
146642029e382ee780347197f02c7cc7e9d100eef84fb38d28f2d6be89066634
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.14
|