Python YAML

Open-source Python projects categorized as YAML | Edit details

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

  • tmuxp

    :computer: tmux session manager. built on libtmux

    Project mention: AWS price reduction for data transfers out to the internet | | 2021-11-26

    I never really paid much on these fees. Not enough traffic.

    For newcomers, Cache invalidations are the ones that will really get you bad in CloudFront.

    I was working an publishing open source documentation via CloudFront ( and made a mistake of invalidating '*', and doing it every time I pushed to CI.

    My bill was absolutely enormous. I chewed threw the free tier credits.

    If CloudFront ever gets more generous with invalidations, that'd help reduce the sting for those of us that misuse them.

  • dynaconf

    Configuration Management for Python ⚙

    Project mention: How to organize Django settings | | 2021-11-12

    I've been meaning to take a look at lately. Seems really great, can even load values dynamically from external sources. Seems like the next evolution in configuration IMO ¯_(ツ)_/¯

  • OPS

    OPS - Build and Run Open Source Unikernels. Quickly and easily build and deploy open source unikernels in tens of seconds. Deploy in any language to any cloud.

  • yamllint

    A linter for YAML files.

    Project mention: Modern Python setup for quality development | | 2022-01-07

    repos: - repo: rev: v4.0.1 hooks: - id: check-added-large-files - id: check-ast - id: check-builtin-literals - id: check-case-conflict - id: check-docstring-first - id: check-executables-have-shebangs - id: check-json - id: check-merge-conflict - id: check-symlinks - id: check-toml - id: check-vcs-permalinks - id: check-xml - id: check-yaml args: [--allow-multiple-documents] - id: debug-statements - id: detect-aws-credentials args: [--allow-missing-credentials] - id: destroyed-symlinks - id: end-of-file-fixer - id: fix-byte-order-marker - id: fix-encoding-pragma args: [--remove] - id: forbid-new-submodules - id: mixed-line-ending args: [--fix=auto] - id: name-tests-test args: [--django] - id: requirements-txt-fixer - id: trailing-whitespace - repo: local hooks: - id: black name: black entry: poetry run black language: system types: [python] - id: flake8 name: flake8 entry: poetry run flake8 language: system types: [python] - repo: rev: "5.9.1" hooks: - id: isort args: - --profile - black - --filter-files - repo: rev: v1.26.1 hooks: - id: yamllint args: [-c=.yamllint.yaml] - repo: rev: v1.0.2 hooks: - id: gitlab-ci-linter args: - "--server" - "https://your.gitlab.server" # Need env var GITLAB_PRIVATE_TOKEN with gitlab api read token - repo: rev: v2.17.11 hooks: - id: commitizen stages: [commit-msg] - repo: rev: 2.1.5 # or specific git tag hooks: - id: forbid-binary - id: shellcheck - id: shfmt

  • pyyaml

    Canonical source repository for PyYAML

    Project mention: I accidentally used YAML.parse instead of JSON.parse, and it worked? | | 2022-01-23

    Many parsers either default to YAML pre-1.2 or do not even expose a YAML 1.2 option. PyYAML has no 1.2 option, for example. So unless Ansible is using something other than PyYAML...

    Relevant (open) PR:

  • yq

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

    Project mention: YAML: It's Time to Move On | | 2021-11-14

    > Is there a yaml cli equiv to jq for json?

    You could have found this by searching the Web for "jq for yaml". <>

    > yaml schema

    You could have found this by searching the Web for "yaml schema". <> <>

    In practice, schemas designed for operating on the JSON infoset (not the serialisation) will also work.

  • JobFunnel

    Scrape job websites into a single spreadsheet with no duplicates.

    Project mention: Late Night Random Discussion Thread - February 05, 2021 at 09:00PM | | 2021-02-05

    JobFunnel ( repo for scrapping )

  • kapitan

    Generic templated configuration management for Kubernetes, Terraform and other things

    Project mention: Would a visual drag and drop builder for K8s clusters be useful to people here? | | 2021-07-25

    There's a reason that other tooling is taking different approaches. Visual workflows help for understanding existing manifests - but they'd be horrible for creating/modifying new ones.

  • SonarLint

    Deliver Cleaner and Safer Code - Right in Your IDE of Choice!. SonarLint is a free and open source IDE extension that identifies and catches bugs and vulnerabilities as you code, directly in the IDE. Install from your favorite IDE marketplace today.

  • omegaconf

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

  • strictyaml

    Type-safe YAML parser and validator.

    Project mention: Typed Config Languages | | 2022-01-21

    I like the approach of strictyaml. A parser that concentrates on a restricted subset of yaml and allows to use a schema to have a type safe validator.

  • datamodel-code-generator

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

    Project mention: My top python library | | 2022-01-07

    That's what datamodel-code-generator propose.

  • shyaml

    YAML for command line

    Project mention: Simple script that allow read access to YAML files through command line | | 2021-02-28
  • remarshal

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

    Project mention: Zellij – A Terminal Workspace and Multiplexer Written in Rust | | 2021-04-22

    If you don't like it, just generate the YAML from something else:

  • mashumaro

    Fast and well tested serialization framework on top of dataclasses

    Project mention: apischema v0.17 - I've developed the fastest typed JSON (de)serialization library, and you can also build your GraphQL schema with it | | 2022-01-18

    This month, I've released version 0.17, and it's now blazing fast; there is in fact no more comparison with Pydantic, which more than 5x slower (up to 30x in serialization). It's also faster than alternatives like mashumaro or cattrs. (See the quick benchmark result in documentation, and the code)

  • confuse

    painless YAML config files for Python

    Project mention: Yaml config parser package is named "confuse" | | 2021-04-30
  • jinja2-cli

    CLI for Jinja2

    Project mention: M4 – the one true templating language | | 2021-07-29
  • python-benedict

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

    Project mention: Released python-benedict 0.24.0 | | 2021-05-04
  • python-frontmatter

    Parse and manage posts with YAML (or other) frontmatter

    Project mention: Publish blog posts from GIT to | | 2021-07-02

    Chris Amico - For parsing front matter from Markdown file

  • vcspull

    :arrows_counterclockwise: synchronize projects via yaml/json manifest. built on libvcs

  • home-assistant-config

    My Home Assistant Configuration 🏡🏡

  • jenkins-job-wrecker

    convert Jenkins job XML to JJB YAML

    Project mention: Possible new trojan affecting Xcode builds spreading across Github (@ianosh tweet) | | 2021-06-04

    But it's XML, not Yaml. However, you can use Jenkins job wrecker to get Yaml.

  • torchlambda

    Lightweight tool to deploy PyTorch models to AWS Lambda

    Project mention: AWS lambda inference taking 3s even after warmup | | 2021-09-17

    Ok I see. Have you maximized the ram in the lambdas? Since performance scale with ram. I have been using torchlambda.

  • 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.

  • kubesurveyor

    Good enough Kubernetes namespace visualization tool

    Project mention: Kubernetes visualization tool (dot, graphviz, python) | | 2021-05-24
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). The latest post mention was on 2022-01-23.

Python YAML related posts


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

Project Stars
1 tmuxp 3,319
2 dynaconf 2,141
3 yamllint 1,793
4 pyyaml 1,727
5 yq 1,724
6 JobFunnel 1,539
7 kapitan 1,495
8 omegaconf 999
9 strictyaml 969
10 datamodel-code-generator 782
11 shyaml 692
12 remarshal 460
13 mashumaro 369
14 confuse 348
15 jinja2-cli 337
16 python-benedict 327
17 python-frontmatter 205
18 vcspull 190
19 home-assistant-config 167
20 jenkins-job-wrecker 160
21 torchlambda 99
22 parse_it 82
23 kubesurveyor 69
Find remote jobs at our new job board There are 30 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Less time debugging, more time building
Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.