Skip to main content

Unified configuration management for environment variables, CLI arguments, and documentation

Project description

OptionsConfig

Unified configuration management for Python applications. Define your configuration schema once, use it everywhere.

Python 3.8+ License: MIT

Features

  • 📋 Single Schema Definition - Define configuration options once in a typed schema
  • 📚 Generate Documentation - Create .env.example and README sections automatically
  • 🔗 Dependency Management - Define relationships between configuration options
  • 📦 TOML Configuration - Load schema from pyproject.toml for cleaner code

Requirements

  • Python >= 3.8

Installation

pip install optionsconfig

Usage

See both examples and their respective documentation. Each can also be used to test the installation.

License

MIT License - see LICENSE for details

Contributing

Contributions welcome! TODO

Schema

  • Schema - Detailed information on schema configuration

Links

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

optionsconfig-0.1.0.tar.gz (12.8 kB view details)

Uploaded Source

Built Distribution

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

optionsconfig-0.1.0-py3-none-any.whl (16.1 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for optionsconfig-0.1.0.tar.gz
Algorithm Hash digest
SHA256 701f7d2e727776531fa82b8a6577e61b4b56ddc7490ca2a1e3a80b0453143898
MD5 000f5952d91acfc1731b8c10851cf802
BLAKE2b-256 96bde123a3949f78055e3281fd8101fb246362869b6c5d10295d9a3379ba080f

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for optionsconfig-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a86ad96b440f773451bc2d5fdcae3054d3b2885e19b12dcd2fbc1e73755aeb27
MD5 cc268b20cb2c8f26217812cc314c4077
BLAKE2b-256 885fde4b42d026b65b2b5f9141e5e1bbd9d20ced8ae92924c82055aeb264d6ba

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