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. Learn more →
Top 23 Python Config Projects
Configuration Management for Python ⚙
PyTorch Lightning + Hydra. A very user-friendly template for ML experimentation. ⚡🔥⚡Project mention: [D] Is Pytorch Lightning + Wandb a good combination for research? | reddit.com/r/MachineLearning | 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
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.
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格式编写（科研中实验）配置的库，同时可以从命令行中读取参数。 | reddit.com/r/Python | 2022-09-20
Type-safe YAML parser and validator.Project mention: The new type of SQL injection | reddit.com/r/ProgrammerHumor | 2023-03-15
you can stick to a subset of YAML syntax (e.g. strictYAML)
A utility for manipulating ini filesProject mention: Challenge: .ini section selector | reddit.com/r/commandline | 2022-10-29
I use crudinii for easy ini manipulation.
Python Application Configuration With Environment VariablesProject mention: Murmur: pass secrets as environment variables to a process (Berglas for AWS) | reddit.com/r/aws | 2023-05-28
For example, in the Python world we have: https://github.com/hynek/environ-config https://docs.pydantic.dev/latest/usage/settings/#secret-support
A lil' TOML parserProject mention: ConfigParser potential inconsistencies | reddit.com/r/Python | 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).
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.
Human readable and writable data interchange formatProject mention: The yaml document from hell | reddit.com/r/programming | 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.
A python library for parsing multiple types of config files, envvars & command line arguments that takes the headache out of setting app configurations.
~/.config/qtile (by jx11r)
A lil' TOML writer (counterpart to https://github.com/hukkin/tomli)
scalu is an event-based programming language and compiler targeting config files in Valve's Source EngineProject mention: Tic Tac Toe in Dev Console using scripts | reddit.com/r/tf2 | 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😅
My ~/.config/qtile (by ramnes)Project mention: How do you open a Terminal ? | reddit.com/r/linuxmasterrace | 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.
Linter config initializer for Python
Easier ConfigurationProject mention: Config files in plain Python | reddit.com/r/Python | 2022-08-25
Automatic registry design-pattern library for mapping names to functionality.Project mention: Interfaces in Python | reddit.com/r/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 - powerful settings & configs for python
Frendlier way to write your config.
Huge .files repo (by Mirko-r)
Tool for checking entry points in the pre-commit config with ShellCheck.Project mention: pre-commit-config-shellcheck for syntax and semantic checks automation | dev.to | 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.
Easy access to ~/.config from python
DRY config and template system, easily extensible with Python
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
Python Config related posts
Interfaces in Python
2 projects | reddit.com/r/Python | 12 Apr 2023
[D] Is Pytorch Lightning + Wandb a good combination for research?
1 project | reddit.com/r/MachineLearning | 11 Mar 2023
ConfigParser potential inconsistencies
2 projects | reddit.com/r/Python | 30 Jan 2023
What tech stack do you use at work? What's your favourite one?
3 projects | reddit.com/r/java | 21 Dec 2022
bruttle - A bruteforcing tool
4 projects | reddit.com/r/Python | 8 Dec 2022
Challenge: .ini section selector
1 project | reddit.com/r/commandline | 29 Oct 2022
Tic Tac Toe in Dev Console using scripts
2 projects | reddit.com/r/tf2 | 23 Sep 2022
A note from our sponsor - Sonar
www.sonarsource.com | 2 Jun 2023
What are some of the best open-source Config projects in Python? This list will help you: