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. Anthropic-Cybersecurity-Skills

    754 structured cybersecurity skills for AI agents · Mapped to 5 frameworks: MITRE ATT&CK, NIST CSF 2.0, MITRE ATLAS, D3FEND & NIST AI RMF · agentskills.io standard · Works with Claude Code, GitHub Copilot, Codex CLI, Cursor, Gemini CLI & 20+ platforms · 26 security domains · Apache 2.0

    Project mention: Claude for Small Business: 382K Day-One Buyer's Guide | dev.to | 2026-05-25

    The GitHub Trending board today corroborates this. Of the top fifteen repos, at least four are explicitly Skills-targeted: multica-ai/andrej-karpathy-skills (154K stars), affaan-m/ECC (192K stars), mukul975/Anthropic-Cybersecurity-Skills (9K), and the broader multica-ai/multica managed-agents platform.

  2. SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  3. 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: The Terminal of the Future | news.ycombinator.com | 2025-11-11

    I guess I don't see those as big downsides because I don't think people usually want binary data or quoted strings back from a CLI command, nor do they want column oriented output, nor "user friendly" tables.

    Answering --help with JSON is a good example, how bad is it really if the response is JSON? Well, using less works fine still and you can still grep if you want simple substring search. Wanting a section is probably more common, so maybe you'd "grep" for a subcommand with `jq .subcommand` or an option with `jq .subcommand.option`. Tables and tab-or-space delimited output overflow char limits, force the command-generator to figure out character wrapping, and so on. Now you need a library to generate CLI help properly, but if you're going to have a library why not just spit JSON and decouple completely from display details.

    Structured output by default just makes sense for practically everything except `cat`. And while your markdown files or csv files might have quoted strings, looking at the raw files isn't something people really want from shells or editors.. they want something "rendered" in one way or another, for example with syntax highlighting.

    Basically in 2025 neither humans nor machines benefit much from unstructured raw output. Almost any CLI that does this needs to be paired with a parser (like https://github.com/kellyjonbrazil/jc) and/or a renderer (like https://github.com/charmbracelet/glow). If no such pairing is available then it pushes many people to separately reinvent parsers badly. JSON's not perfect but (non-minified) it's human-readable enough to address the basic issues here without jumping all the way towards binary or (shudder) HTML

  4. tmuxp

    🖥️ Session manager for tmux, built on libtmux.

  5. dynaconf

    Configuration Management for Python ⚙

  6. datamodel-code-generator

    Python data model generator (Pydantic, dataclasses, TypedDict, msgspec) from OpenAPI, JSON Schema, GraphQL, and raw data (JSON/YAML/CSV).

  7. msgspec

    A fast serialization and validation library, with builtin support for JSON, MessagePack, YAML, and TOML (by msgspec)

    Project mention: msgspec VS ctxure - a user suggested alternative | libhunt.com/r/msgspec/msgspec | 2026-06-05
  8. yamllint

    A linter for YAML files.

    Project mention: Best Online YAML Linter Tools in 2026 | dev.to | 2026-03-25
  9. yq

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

  10. pyyaml

    Canonical source repository for PyYAML

  11. omegaconf

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

  12. kapitan

    Generic templated configuration management for Kubernetes, Terraform and other things

  13. strictyaml

    Type-safe YAML parser and validator.

    Project mention: YAML? That's Norway Problem | news.ycombinator.com | 2026-05-22
  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.

  15. scanapi

    Automated Integration Testing and Live Documentation for your API

    Project mention: Scanapi | news.ycombinator.com | 2026-01-29
  16. homeassistant

    Example Home Assistant Configs

  17. npcpy

    The python library for research and development in NLP, multimodal LLMs, Agents, ML, Knowledge Graphs, and more.

    Project mention: We are building data breach machines and nobody cares | news.ycombinator.com | 2026-03-10
  18. themes

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

  19. mashumaro

    Fast and well tested serialization library

    Project mention: ctxure alternatives - mashumaro, cattrs, pydantic, and msgspec | libhunt.com/r/ctxure | 2026-06-05
  20. pyserde

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

  21. netplan

    Declarative network configuration for various backends

  22. shyaml

    YAML for command line

  23. Yamale

    A schema and validator for YAML.

    Project mention: Yamale – A Schema and Validator for YAML | news.ycombinator.com | 2025-08-09
  24. jinja2-cli

    The CLI for Jinja2

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? That's Norway Problem

    2 projects | news.ycombinator.com | 22 May 2026
  • Anthropic Cybersecurity Skills: 754 playbooks de seguridad para agentes IA

    6 projects | dev.to | 19 Apr 2026
  • Best Online YAML Linter Tools in 2026

    1 project | dev.to | 25 Mar 2026
  • Detect memory leaks of C extensions with psutil and psleak

    7 projects | news.ycombinator.com | 24 Dec 2025
  • 🚀 YAMLpp: An DevOps Project is Making a Big Leap Forward

    2 projects | dev.to | 19 Dec 2025
  • Yamale – A Schema and Validator for YAML

    1 project | news.ycombinator.com | 9 Aug 2025
  • Ask HN: What are your current programming pet peeves?

    6 projects | news.ycombinator.com | 17 Jul 2025
  • A note from our sponsor - SaaSHub
    www.saashub.com | 13 Jun 2026
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 Anthropic-Cybersecurity-Skills 15,458
2 jc 8,624
3 tmuxp 4,520
4 dynaconf 4,306
5 datamodel-code-generator 3,923
6 msgspec 3,800
7 yamllint 3,402
8 yq 2,950
9 pyyaml 2,900
10 omegaconf 2,392
11 kapitan 1,914
12 strictyaml 1,616
13 python-benedict 1,606
14 scanapi 1,564
15 homeassistant 1,477
16 npcpy 1,385
17 themes 992
18 mashumaro 923
19 pyserde 850
20 netplan 845
21 shyaml 769
22 Yamale 765
23 jinja2-cli 603

Sponsored
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com

Did you know that Python is
the 1st most popular programming language
based on number of references?