Configuration & Data Formats

Tools for reading and validating settings and structured data.

Configuration & Data Formats

attrs

Wrote the same repetitive class code one too many times, so its creator taught Python to write it for you.

Configuration & Data Formats

Cerberus

A lightweight guard dog for your dictionaries, checking every key and value before letting them through.

Configuration & Data Formats

dataclasses-json

Teaches Python's tidy little data containers how to speak fluent JSON.

Configuration & Data Formats

jsonschema

The rulebook checker that makes sure a piece of JSON actually follows the rules it claims to follow.

Configuration & Data Formats

marshmallow

A translator that turns messy Python objects into clean JSON and back again, no confusion allowed.

Configuration & Data Formats

pydantic

The bouncer that checks every piece of data at the door before your program lets it in.

Configuration & Data Formats

python-dotenv

The quiet helper that keeps your passwords out of your code and out of GitHub by accident.

Configuration & Data Formats

PyYAML

The reader that turns those indented, human-friendly config files into something a computer understands.

Configuration & Data Formats

toml

A config file format one GitHub co-founder built because YAML's quirks were driving him up the wall.