Skip to main content

A flexible configuration management library with support for typed fields, encryption, and multiple formats.

Project description

README.md

Charonfig

A flexible Python configuration management library that supports typed fields, environment variable loading, nested configurations, encryption for sensitive data, and export to multiple formats (ENV, JSON, YAML). It uses a declarative schema approach for validation and documentation generation.

Features

  • Typed Fields: Define string, integer, boolean, and nested config fields with validation.
  • Environment Loading: Automatically load from env vars with prefix support.
  • Encryption: Fernet-based encryption for sensitive fields.
  • Export Formats: Generate .env, JSON, or YAML files with optional comments.
  • Documentation: Auto-generate Markdown docs from schema.
  • Nested Configs: Support for hierarchical configurations.
  • CLI Tool: Command-line interface for generating, validating, and documenting configs.

Installation

pip install charonfig

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

charonfig-0.1.0.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

charonfig-0.1.0-py3-none-any.whl (7.9 kB view details)

Uploaded Python 3

File details

Details for the file charonfig-0.1.0.tar.gz.

File metadata

  • Download URL: charonfig-0.1.0.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for charonfig-0.1.0.tar.gz
Algorithm Hash digest
SHA256 0ecb21b9456381ec26b0f6fec0a461209a6cf41dcc0d72a2fa0d6b9f321d5d43
MD5 58857d998315b67df8ff38aea87fbcd2
BLAKE2b-256 4d357bbe2af759434be8bd578a63a9080f7477158542714f08c3f15dbaa04ce4

See more details on using hashes here.

File details

Details for the file charonfig-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: charonfig-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.2

File hashes

Hashes for charonfig-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9e30d6501b4df8283e4b1cec1e4674824719123256cf9d29a4033421591756fb
MD5 fa07230f84d15fd71022c1edb4e4b87f
BLAKE2b-256 3894a669ff796a7d4c4642fd0a3690951e4d2cc1ffb08544ce827a67de2c7a45

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page