Python Configuration

Open-source Python projects categorized as Configuration

Top 23 Python Configuration Projects

Configuration
  1. hydra

    Hydra is a framework for elegantly configuring complex applications (by facebookresearch)

    Project mention: Compiling a Neural Net to C for a 1,744× speedup | news.ycombinator.com | 2025-05-28

    I use it in python 3.12, and 3.12 just got out of bug fix. I haven't tried 3.13 but I would be surprised if there was a break. Most of it works through OmegaConf[0].

    Idk why they haven't pushed an update in 2 years but neither has this been a problem. FWIW, they're still updating the repo[1]

    [0] https://omegaconf.readthedocs.io

    [1] https://github.com/facebookresearch/hydra

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. python-dotenv

    Reads key-value pairs from a .env file and can set them as environment variables. It helps in developing applications following the 12-factor principles.

    Project mention: Improve Your Python Search Relevancy with Astra DB Hybrid Search | dev.to | 2025-04-29

    To use Hybrid Search in Python, you’ll need to install version 2 of astrapy as well as python-dotenv so that you can load environment variables from an .env file. Install the dependencies:

  4. dynaconf

    Configuration Management for Python ⚙

  5. django-environ

    Django-environ allows you to utilize 12factor inspired environment variables to configure your Django application.

  6. python-decouple

    Strict separation of config from code.

  7. omegaconf

    Flexible Python configuration system. The last one you will ever need.

  8. CommandlineConfig

    A library for users to write (experiment in research) configurations in Python Dict or JSON format, read and write parameter value via dot . in code, while can read parameters from the command line to modify values. 一个供用户以Python Dict或JSON格式编写(科研中实验)配置的库,在代码中用点.读写属性,同时可以从命令行中读取参数配置并修改参数值。

  9. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  10. strictyaml

    Type-safe YAML parser and validator.

    Project mention: StrictYAML | news.ycombinator.com | 2025-03-07
  11. yacs

    YACS -- Yet Another Configuration System (by rbgirshick)

  12. environs

    simplified environment variable parsing

  13. SMAC3

    SMAC3: A Versatile Bayesian Optimization Package for Hyperparameter Optimization

  14. django-split-settings

    Organize Django settings into multiple files and directories. Easily override and modify settings. Use wildcards and optional settings files.

  15. gixy

    NGINX configuration static analyzer (by dvershinin)

    Project mention: Gixy: Nginx Configuration Static Analyzer | news.ycombinator.com | 2025-02-15

    uh, I'm hitting this one https://github.com/dvershinin/gixy/blob/master/docs/en/plugi...

    how serious is header injection? it sounds pretty serious, is it?

  16. pydantic-settings

    Settings management using pydantic

    Project mention: This Week In Python | dev.to | 2025-01-17

    pydantic-settings – Settings management using pydantic

  17. netplan

    Declarative network configuration for various backends

  18. platformdirs

    A small Python module for determining appropriate platform-specific dirs, e.g. a "user data dir".

  19. ConfigArgParse

    A drop-in replacement for argparse that allows options to also be set via config files and/or environment variables.

  20. django-dotenv

    Loads environment variables from .env

  21. pyhocon

    HOCON parser for Python

    Project mention: HOCON - secret behind .conf files | dev.to | 2024-12-19

    Library link : https://github.com/chimpler/pyhocon

  22. environ-config

    Python Application Configuration With Environment Variables

  23. confuse

    painless YAML config files for Python

  24. hydra-zen

    Create powerful Hydra applications without the yaml files and boilerplate code.

  25. nestedtext

    Human readable and writable data interchange format

    Project mention: CONL: "Markdown" for your config files | news.ycombinator.com | 2025-04-27
  26. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python Configuration discussion

Log in or Post with

Python Configuration related posts

  • Compiling a Neural Net to C for a 1,744× speedup

    3 projects | news.ycombinator.com | 28 May 2025
  • Improve Your Python Search Relevancy with Astra DB Hybrid Search

    2 projects | dev.to | 29 Apr 2025
  • This Week In Python

    5 projects | dev.to | 17 Jan 2025
  • HOCON - secret behind .conf files

    1 project | dev.to | 19 Dec 2024
  • Hydra: A framework for elegantly configuring complex applications

    1 project | news.ycombinator.com | 11 Sep 2024
  • DNS到底怎么运作的

    2 projects | dev.to | 29 May 2024
  • Why the fuck are we templating YAML? (2019)

    27 projects | news.ycombinator.com | 23 Jan 2024
  • A note from our sponsor - SaaSHub
    www.saashub.com | 24 Jun 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

What are some of the best open-source Configuration projects in Python? This list will help you:

# Project Stars
1 hydra 9,409
2 python-dotenv 8,188
3 dynaconf 4,028
4 django-environ 3,091
5 python-decouple 2,933
6 omegaconf 2,170
7 CommandlineConfig 2,031
8 strictyaml 1,547
9 yacs 1,311
10 environs 1,298
11 SMAC3 1,179
12 django-split-settings 1,166
13 gixy 1,008
14 pydantic-settings 952
15 netplan 778
16 platformdirs 768
17 ConfigArgParse 746
18 django-dotenv 572
19 pyhocon 516
20 environ-config 451
21 confuse 417
22 hydra-zen 386
23 nestedtext 383

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

Did you know that Python is
the 2nd most popular programming language
based on number of references?