Configuration & Data Formats
Tools for reading and validating settings and structured data.
attrs
Wrote the same repetitive class code one too many times, so its creator taught Python to write it for you.
Configuration & Data FormatsCerberus
A lightweight guard dog for your dictionaries, checking every key and value before letting them through.
Configuration & Data Formatsdataclasses-json
Teaches Python's tidy little data containers how to speak fluent JSON.
Configuration & Data Formatsjsonschema
The rulebook checker that makes sure a piece of JSON actually follows the rules it claims to follow.
Configuration & Data Formatsmarshmallow
A translator that turns messy Python objects into clean JSON and back again, no confusion allowed.
Configuration & Data Formatspydantic
The bouncer that checks every piece of data at the door before your program lets it in.
Configuration & Data Formatspython-dotenv
The quiet helper that keeps your passwords out of your code and out of GitHub by accident.
Configuration & Data FormatsPyYAML
The reader that turns those indented, human-friendly config files into something a computer understands.
Configuration & Data Formatstoml
A config file format one GitHub co-founder built because YAML's quirks were driving him up the wall.