Skip to main content

keepalived-config

Python API for configuration files for linux keepalived package.

Features

  • Parse a keepalived configuration from file or string
  • Modify the config object and any parameter inside
  • Save back the (modified) config to another (or the same) file
  • Comments in the config file are supported and can also be added via the python API
  • empty lines in the config file, can be kept and are represented as empty config parameters

TODO

  • Support for included config files

Development

Setup

To setup your dev environment, you have 2 options:

  1. local: execute the command main.sh setup. This will install a virtual python environment and install the required packages.
  2. container: Use the provided devcontainer, where everything is already installed (no need to run the setup command)

Tests

Units tests are to be developed for all public modules and methods and placed inside the tests directory. They can be executed via the command main.sh test

Packaging

The source build and wheel distrubtions can be generated via the command main.sh build. The package can then be uploaded to PyPi via the command main.sh upload.

Metadata

Release files for keepalived-config 0.2.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 keepalived-config 0.2.1
File Size Uploaded Provenance Actions
keepalived_config-0.2.1.tar.gz 45.1 kB Without provenance Details for keepalived_config-0.2.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for keepalived-config 0.2.1
File Interpreter ABI Platform Actions
keepalived_config-0.2.1-py3-none-any.whl Python 3 none any Details for keepalived_config-0.2.1-py3-none-any.whl

Total release size: 77.6 kB

Release files / keepalived_config-0.2.1.tar.gz

Download URL keepalived_config-0.2.1.tar.gz
Size 45.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b08a2f090d52381f7a902de2e0d03431e06714a27539b7748529dcb87e4a2a60
BLAKE2b-256 checksum
How to use checksums
ce78320ec409685dfb1f67e65c6c3bfe8c67e5fcd5b99489a4b73424ddc0806e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.3

Release files / keepalived_config-0.2.1-py3-none-any.whl

Download URL keepalived_config-0.2.1-py3-none-any.whl
Size 32.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
a70850ecac0ce314ec638598efb2f697be3a4883d0bb77107be85dda3718b977
BLAKE2b-256 checksum
How to use checksums
1c3319f433c5005b57433d87a609809cf770ce274ac1ca6f135edc6fc3ea2f54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.12.3

Security for keepalived-config 0.2.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.

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