Top 4 Python configuration-file Projects
-
This is why I've become a fan of StrictYAML [0]. Of course it is not supported by many projects, but at least you are given the option to dispense with all the unnecessary features and their associated pitfalls in the context of your own projects.
Most notably it only offers three base types (scalar string, array, object) and moves the work of parsing values to stronger types (such as int8 or boolean) to your codebase where you tend to wrap values parsed from YAML into other types anyway.
Less surprises and headaches, but very niche, unfortunately.
[0] https://hitchdev.com/strictyaml/
-
Stream
Stream - Scalable APIs for Chat, Feeds, Moderation, & Video. Stream helps developers build engaging apps that scale to millions with performant and flexible Chat, Feeds, Moderation, and Video APIs and SDKs powered by a global edge network and enterprise-grade infrastructure.
- Project mention: Bash-ini-parser: Advanced bash INI parser library | news.ycombinator.com | 2025-03-31
which is a utility designed for interacting with ini files from shell scripts:
https://github.com/pixelb/crudini
-
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.
-
wireguard-config-benchmark
wireguard-config-benchmark is a python script that benchmarks the download speeds for the connections defined in one or more wireguard config files. If multiple configs are benchmarked it will output a file ranking them from fastest to slowest.
Python configuration-file discussion
Python configuration-file related posts
Index
What are some of the best open-source configuration-file projects in Python? This list will help you:
| # | Project | Stars |
|---|---|---|
| 1 | strictyaml | 1,589 |
| 2 | crudini | 474 |
| 3 | parse_it | 114 |
| 4 | wireguard-config-benchmark | 14 |