======================= Welcome to BatConf ======================= Configuration Management for Python projects, modules, applications, and microservices. Compose structured hierarchical configurations from multiple sources. Enable your code to adapt seamlessly to the current context. Allow users in different contexts to use the config source that works best for them. * Hierarchical priority: CLI > Environment > config file > module defaults * Provides builtin support for common config sources: * CLI args * Environment Variables * Config File (ini, toml, yaml) * Config classes with default values * Fully customizeable configuration Schemas * Easily extendable, add new sources to serve your needs. * Set reasonable defaults, and override them as needed. * Designed for 12-factor applications (config via Environment Variables) .. image:: https://img.shields.io/pypi/v/batconf?color=blue :target: https://pypi.org/project/batconf/ .. image:: https://github.com/lundybernard/batconf/actions/workflows/tests.yml/badge.svg :target: https://github.com/lundybernard/batconf/actions .. image:: https://img.shields.io/pypi/pyversions/batconf .. image:: https://img.shields.io/pypi/dm/batconf :target: https://pypistats.org/packages/batconf Security ________ Read about how BatConf helps to protect you against supply chain attacks on our Developer's Blog. :ref:`supplychain_security_blog` New Dev Blog! ------------- Check out the :ref:`upcoming_changes_in_02x` - Optional pyyaml dependency - More flexible config structures - New config file sources (.ini, .toml) We have provided a :doc:`migration` to help you through any breaking changes in the upgrade from 0.1.x to 0.2.x, and future updates. Professional Support --------------------- .. image:: _static/Tidelift_Logos_RGB_Tidelift_Mark_On-White.png Professionally supported BatConf is now available. Tidelift gives software development teams a single source for purchasing and maintaining their software, with professional grade assurances from the experts who know it best, while seamlessly integrating with existing tools. `Get supported BatConf with the Tidelift subscription `__ Contributing ------------- All contributions, bug reports, bug fixes, documentation improvements, enhancements, and ideas are welcome. Check out one of these good first issues to help with: * `Cleanup Sphinx documentation `__ * `Add support for Python 3.13 `__ Issues ------ Submit issues, feature requests or bugfixes on `GitHub `__ License and Credits ------------------- ``batconf`` is licensed under the `MIT license `__. and is written and maintained by Lundy Bernard (lundy.bernard@gmail.com) and Lauren Moore Indices and tables ================== * :ref:`genindex` .. currentmodule:: batconf .. toctree:: :hidden: :caption: Introduction :maxdepth: 2 intro quickstart devguide .. toctree:: :hidden: :caption: News and Announcements :maxdepth: 2 devblog .. toctree:: :hidden: :caption: Reference :maxdepth: 2 changelog migration reference/modules