Python Config

Open-source Python projects categorized as Config

Top 23 Python Config Projects

  • dynaconf

    Configuration Management for Python ⚙

  • lightning-hydra-template

    PyTorch Lightning + Hydra. A very user-friendly template for ML experimentation. ⚡🔥⚡

    Project mention: [D] Is Pytorch Lightning + Wandb a good combination for research? | | 2023-03-11

    I can't say for sure whether it is the best combination for research in the long run, but if you do go down that route I have found this template very useful

  • Sonar

    Write Clean Python Code. Always.. Sonar helps you commit clean code every time. With over 225 unique rules to find Python bugs, code smells & vulnerabilities, Sonar finds the issues while you focus on the work.

  • 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格式编写(科研中实验)配置的库,在代码中用点.读写属性,同时可以从命令行中读取参数配置并修改参数值。

    Project mention: Commandline-config: A library for users to write (experiment in research) configurations in Python Dict format, while can read parameters from the command line. 一个供用户以Python Dict或JSON格式编写(科研中实验)配置的库,同时可以从命令行中读取参数。 | | 2022-09-20
  • strictyaml

    Type-safe YAML parser and validator.

    Project mention: The new type of SQL injection | | 2023-03-15

    you can stick to a subset of YAML syntax (e.g. strictYAML)

  • crudini

    A utility for manipulating ini files

    Project mention: Challenge: .ini section selector | | 2022-10-29

    I use crudinii for easy ini manipulation.

  • environ-config

    Python Application Configuration With Environment Variables

    Project mention: Murmur: pass secrets as environment variables to a process (Berglas for AWS) | | 2023-05-28

    For example, in the Python world we have:

  • tomli

    A lil' TOML parser

    Project mention: ConfigParser potential inconsistencies | | 2023-01-30

    ini files aren't standardized, the syntax is really "whatever the parser implements". For new projects I recommend using toml instead. It's ini-like, but standardized. Python 3.11 even comes with a builtin parser tomllib (earlier python versions can use tomli, which is what tomllib is based on).

  • InfluxDB

    Access the most powerful time series database as a service. Ingest, store, & analyze all types of time series data in a fully-managed, purpose-built database. Keep data forever with low-cost storage and superior data compression.

  • nestedtext

    Human readable and writable data interchange format

    Project mention: The yaml document from hell | | 2023-01-12

    As /u/astatine said, an excellent but under-recognized alternative syntax for configuration files is NestedText, where everything is a string unless the ingesting code says otherwise, and there is no escaping needed ever.

  • parse_it

    A python library for parsing multiple types of config files, envvars & command line arguments that takes the headache out of setting app configurations.

  • qtile

    ~/.config/qtile (by jx11r)

  • tomli-w

    A lil' TOML writer (counterpart to

  • scalu

    scalu is an event-based programming language and compiler targeting config files in Valve's Source Engine

    Project mention: Tic Tac Toe in Dev Console using scripts | | 2022-09-23

    This was made using scalu, a programming language for scripting! The compiled script to use in game is here. It should work in any game with the quake alias type scripting system. If you would like to see the scalu source code, here. I do warn you it is completely spaghetti though😅

  • qtile-config

    My ~/.config/qtile (by ramnes)

    Project mention: How do you open a Terminal ? | | 2022-06-30

    Note however that I did find a good solution to it via aiomanhole, which allows me to directly interact with the server process and inspect/traverse the objects there. See this config from one of the qtile maintainers for how to set up aiomanhole.

  • rubric

    Linter config initializer for Python

  • CHANfiG

    Easier Configuration

    Project mention: Config files in plain Python | | 2022-08-25
  • autoregistry

    Automatic registry design-pattern library for mapping names to functionality.

    Project mention: Interfaces in Python | | 2023-04-12

    Frequently, when I'm using ABC, I need to perform a string-to-class lookup. For this, I created the library AutoRegistry, which adds a dictionary interface to classes (not objects created from classes!) that is automatically populated with it's children.

  • sitri

    Sitri - powerful settings & configs for python

  • iubeo

    Frendlier way to write your config.

  • dotfiles

    Huge .files repo (by Mirko-r)

  • pre-commit-config-shellcheck

    Tool for checking entry points in the pre-commit config with ShellCheck.

    Project mention: pre-commit-config-shellcheck for syntax and semantic checks automation | | 2022-09-21

    Second-checking of an already written code may be an exhausting and unreliable task for most of the programmers involved in custom software development. While refactoring the code a few days ago, we found some mistakes in shell code in the pre-commit config file. These errors have been there for a long time without any warnings. That's why we thought if these code checks either were more reliable or proceeded automatically. Thereafter, pre-commit-config-shellcheck was created for this very purpose.

  • xdgconfig

    Easy access to ~/.config from python

  • aridity

    DRY config and template system, easily extensible with Python

  • DiviLOL

    Config files for my GitHub profile.


    ONLYOFFICE Docs — document collaboration in your environment. Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises

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). The latest post mention was on 2023-05-28.

Python Config related posts


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

Project Stars
1 dynaconf 3,046
2 lightning-hydra-template 2,673
3 CommandlineConfig 2,020
4 strictyaml 1,237
5 crudini 386
6 environ-config 362
7 tomli 361
8 nestedtext 300
9 parse_it 101
10 qtile 72
11 tomli-w 57
12 scalu 46
13 qtile-config 29
14 rubric 25
15 CHANfiG 24
16 autoregistry 22
17 sitri 22
18 iubeo 19
19 dotfiles 16
20 pre-commit-config-shellcheck 7
21 xdgconfig 3
22 aridity 3
23 DiviLOL 3
ONLYOFFICE Docs — document collaboration in your environment
Powerful document editing and collaboration in your app or environment. Ultimate security, API and 30+ ready connectors, SaaS or on-premises