Python YAML

Open-source Python projects categorized as YAML

YAML is a digestible data serialization language that is often utilized to create configuration files and works in concurrence with any programming language. YAML targets many of the same communications applications as Extensible Markup Language but has a minimal syntax which intentionally differs from SGML.

Top 23 Python YAML Projects

  1. jc

    CLI tool and python library that converts the output of popular command-line tools, file-types, and common strings to JSON, YAML, or Dictionaries. This allows piping of output to tools like jq and simplifying automation scripts.

    Project mention: Show HN: Jb / json.bash – Command-line tool (and bash library) that creates JSON | news.ycombinator.com | 2024-07-03

    How is this different to this https://github.com/kellyjonbrazil/jc

  2. Judoscale

    Save 47% on cloud hosting with autoscaling that just works. Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.

    Judoscale logo
  3. tmuxp

    πŸ–₯️ Session manager for tmux, build on libtmux.

  4. dynaconf

    Configuration Management for Python βš™

  5. datamodel-code-generator

    Pydantic model and dataclasses.dataclass generator for easy conversion of JSON, OpenAPI, JSON Schema, and YAML data sources.

  6. yamllint

    A linter for YAML files.

    Project mention: Simple YAML Linter/Validator Workflow for GitHub Actions | dev.to | 2024-06-23

    The GitHub Actions Ubuntu runners comes with yamllint installed, meaning it's super simple to create linting/validating workflows to ensure your YAML is valid!

  7. yq

    Command-line YAML, XML, TOML processor - jq wrapper for YAML/XML/TOML documents (by kislyuk)

  8. msgspec

    A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML

    Project mention: Don't let dicts spoil your code | news.ycombinator.com | 2024-10-09

    gjson [1] and a few other go packages offer a way to parse arbitrary JSON without requiring structs to hold them.

    re: Python. I like PyRight/PyLance for Python typing, it seems to "just work" afaict. I also like msgspec for dataclass like behavior [2].

    ---

    1: https://github.com/tidwall/gjson

    2: https://jcristharif.com/msgspec/

  9. InfluxDB

    InfluxDB high-performance time series database. Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.

    InfluxDB logo
  10. pyyaml

    Canonical source repository for PyYAML

    Project mention: Release 0.44.0 of Spellcheck (GitHub) Action - baby-steps maintenance | dev.to | 2024-10-25

    PyYAML bumped from version 6.0.1 to 6.0.2, see release notes

  11. omegaconf

    Flexible Python configuration system. The last one you will ever need.

  12. JobFunnel

    Scrape job websites into a single spreadsheet with no duplicates.

    Project mention: Show HN: Scraper for job listings directly from company websites | news.ycombinator.com | 2024-12-07

    jobfunnel is FOSS and accepting contributions: https://github.com/PaulMcInnis/JobFunnel

    Currently supports indeed, in the past supported glassdoor and others.

  13. kapitan

    Generic templated configuration management for Kubernetes, Terraform and other things

  14. python-benedict

    :blue_book: dict subclass with keylist/keypath support, built-in I/O operations (base64, csv, html, ini, json, pickle, plist, query-string, toml, xls, xml, yaml), s3 support and many utilities.

    Project mention: Supercharge Your Python Dictionaries with python-benedict! | dev.to | 2025-04-18

    View the Project on GitHub

  15. strictyaml

    Type-safe YAML parser and validator.

    Project mention: StrictYAML | news.ycombinator.com | 2025-03-07
  16. homeassistant

    Example Home Assistant Configs

  17. mashumaro

    Fast and well tested serialization library

  18. themes

    Custom themes repository for Warp, a blazingly fast modern terminal built in Rust. (by warpdotdev)

  19. shyaml

    YAML for command line

  20. netplan

    Declarative network configuration for various backends

    Project mention: DNSεˆ°εΊ•ζ€ŽδΉˆθΏδ½œηš„ | dev.to | 2024-05-29
  21. pyserde

    Yet another serialization library on top of dataclasses, inspired by serde-rs.

    Project mention: Pyserde | news.ycombinator.com | 2024-05-06
  22. Yamale

    A schema and validator for YAML.

  23. jinja2-cli

    CLI for Jinja2

    Project mention: Overengineer your CV | dev.to | 2025-03-13

    The JSON input is passed to jinja2-cli which applies it to a Markdown jinja template

  24. remarshal

    Convert between CBOR, JSON, MessagePack, TOML, and YAML

  25. srsly

    πŸ¦‰ Modern high-performance serialization utilities for Python (JSON, MessagePack, Pickle)

  26. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020).

Python YAML discussion

Log in or Post with

Python YAML related posts

  • YAML: The Norway Problem (2022)

    4 projects | news.ycombinator.com | 12 Apr 2025
  • That's a Lot of YAML

    3 projects | news.ycombinator.com | 10 Apr 2025
  • Release 0.44.0 of Spellcheck (GitHub) Action - baby-steps maintenance

    5 projects | dev.to | 25 Oct 2024
  • Simple YAML Linter/Validator Workflow for GitHub Actions

    1 project | dev.to | 23 Jun 2024
  • Troubleshoot dependencies in Pipfile/pipenv

    2 projects | dev.to | 8 May 2024
  • StrictYAML

    1 project | news.ycombinator.com | 29 Sep 2023
  • yamllint – A Linter for YAML Files

    1 project | news.ycombinator.com | 20 Sep 2023
  • A note from our sponsor - InfluxDB
    influxdata.com | 18 Apr 2025
    Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems. Learn more β†’

Index

What are some of the best open-source YAML projects in Python? This list will help you:

# Project Stars
1 jc 8,125
2 tmuxp 4,191
3 dynaconf 3,969
4 datamodel-code-generator 3,118
5 yamllint 3,025
6 yq 2,740
7 msgspec 2,740
8 pyyaml 2,672
9 omegaconf 2,105
10 JobFunnel 1,995
11 kapitan 1,852
12 python-benedict 1,545
13 strictyaml 1,519
14 homeassistant 1,412
15 mashumaro 843
16 themes 787
17 shyaml 770
18 netplan 764
19 pyserde 761
20 Yamale 700
21 jinja2-cli 545
22 remarshal 534
23 srsly 461

Sponsored
Save 47% on cloud hosting with autoscaling that just works
Judoscale integrates with Django, FastAPI, Celery, and RQ to make autoscaling easy and reliable. Save big, and say goodbye to request timeouts and backed-up task queues.
judoscale.com