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
-
-
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? | reddit.com/r/MachineLearning | 2023-03-11I 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格式编写(科研中实验)配置的库,同时可以从命令行中读取参数。 | reddit.com/r/Python | 2022-09-20 -
you can stick to a subset of YAML syntax (e.g. strictYAML)
-
I use crudinii for easy ini manipulation.
-
Project 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
-
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.
-
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.
-
-
-
scalu
scalu is an event-based programming language and compiler targeting config files in Valve's Source Engine
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😅
-
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.
-
-
-
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.
-
-
-
-
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 | dev.to | 2022-09-21Second-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.
-
-
-
-
ONLYOFFICE
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
- [D] Is Pytorch Lightning + Wandb a good combination for research?
- ConfigParser potential inconsistencies
- What tech stack do you use at work? What's your favourite one?
- bruttle - A bruteforcing tool
- Challenge: .ini section selector
- Tic Tac Toe in Dev Console using scripts
-
A note from our sponsor - Sonar
www.sonarsource.com | 2 Jun 2023
Index
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 |