Skip to main content

systemd-pydantic

Typed, YAML-friendly models and lifecycle tools for systemd services and timers.

Build Status codecov License PyPI

from systemd_pydantic import ServiceConfiguration, ServiceUnitConfiguration

unit = ServiceUnitConfiguration(
    unit={"description": "Example worker"},
    service=ServiceConfiguration(
        type="exec",
        exec_start="/opt/jobs/worker",
        restart="on-failure",
    ),
)

print(unit.to_unit_file())

The package models unit-file sections, named service/timer collections, filesystem persistence, systemctl operations, and a convenience CLI used by external orchestrators.

Documentation

Published documentation is available at airflow-laminar.github.io/systemd-pydantic.

Ecosystem

Metadata

Release files for systemd-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)

Source distribution for systemd-pydantic 0.1.1
File Size Uploaded Provenance Actions
systemd_pydantic-0.1.1.tar.gz 17.5 kB Without provenance Details for systemd_pydantic-0.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for systemd-pydantic 0.1.1
File Interpreter ABI Platform Actions
systemd_pydantic-0.1.1-py3-none-any.whl Python 3 none any Details for systemd_pydantic-0.1.1-py3-none-any.whl

Total release size: 40.2 kB

Release files / systemd_pydantic-0.1.1.tar.gz

Download URL systemd_pydantic-0.1.1.tar.gz
Size 17.5 kB
Tags Source
SHA-256 checksum
How to use checksums
b379e9859baa4c7b453be0879c5449d5d21ea114439640d35726defe499e7ab3
BLAKE2b-256 checksum
How to use checksums
fcf641139cef92d3bdc04612f41e4490bc847757fc7a797d8f1452ce43388b91
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.15

Release files / systemd_pydantic-0.1.1-py3-none-any.whl

Download URL systemd_pydantic-0.1.1-py3-none-any.whl
Size 22.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e35540c03536c5d70a5108be426be52327be1bc19c26303838263cfaddaa4f4b
BLAKE2b-256 checksum
How to use checksums
e6e2a0160d0f778ed9d812266386933d12a63c6bad9136ae9ce679ae45454183
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.15

Security for systemd-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.

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page