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 the example and its documentation on GitHub. 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.4.0.tar.gz (13.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.4.0-py3-none-any.whl (17.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: optionsconfig-0.4.0.tar.gz
  • Upload date:
  • Size: 13.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.4.0.tar.gz
Algorithm Hash digest
SHA256 69498ed3737c13ed351fc09efcff80d4b50d8edec6eb558b8c9f6fdbd5d0abb6
MD5 81afebe7f50f5fc0dc438451a6878fc6
BLAKE2b-256 740e68dcaeec6c1b8fd010f4af65c322972db1bf868bb1eafc23218b637d9634

See more details on using hashes here.

File details

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

File metadata

  • Download URL: optionsconfig-0.4.0-py3-none-any.whl
  • Upload date:
  • Size: 17.0 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.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 69503e18bbd91bed824f98960d3fd0583031d9518c3aca61d1ffe60af3b66a62
MD5 117f271bd4b5914a25c4a4d6e0d402d4
BLAKE2b-256 0ebcbf5c462ee48851a30b9617e5927fe3e0331946019ae72c6090d1ef51feb6

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