Python TOML

Open-source Python projects categorized as TOML

Top 23 Python TOML Projects

  1. 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/

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. 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

  4. mashumaro

    Fast and well tested serialization library

  5. pyserde

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

  6. pytablewriter

    pytablewriter is a Python library to write a table in various formats: AsciiDoc / CSV / Elasticsearch / HTML / JavaScript / JSON / LaTeX / LDJSON / LTSV / Markdown / MediaWiki / NumPy / Excel / Pandas / Python / reStructuredText / SQLite / TOML / TSV.

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

  8. audible-cli

    A command line interface for audible package. With the cli you can download your Audible books, cover, chapter files.

  9. SaaSHub

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

    SaaSHub logo
  10. remarshal

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

  11. tomli

    A lil' TOML parser

  12. nestedtext

    Human readable and writable data interchange format

    Project mention: CONL: "Markdown" for your config files | news.ycombinator.com | 2025-04-27
  13. rtoml

    A fast TOML library for python implemented in rust.

  14. pipenv-poetry-migrate

    This is simple migration script, migrate pipenv to poetry

    Project mention: Generate pip requirements.txt file based on imports of any project | news.ycombinator.com | 2024-09-30

    I am planning to move from Pipfiles to pyproject.toml in preparation to use uv and recently found this https://github.com/yhino/pipenv-poetry-migrate

    I have no idea how well it works.

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

  16. tomli-w

    A lil' TOML writer (counterpart to https://github.com/hukkin/tomli)

  17. click-extra

    🌈 Drop-in replacement for Click to make user-friendly and colorful CLI

    Project mention: Rust library for building no-boilerplate CLI apps | news.ycombinator.com | 2024-12-03

    > My holy grail will still be landing on a good multi-layer configuration setup for Rust CLIs. Ideally CLI flags merged over top of environment variables merged over top of configuration files.

    I did that for Python if you are interested: https://github.com/kdeldycke/click-extra

    You create your CLI with Click as usual, then Click Extra introspects your "--parameters" to build up support for a corresponding configuration file in either TOML, YAML, JSON, INI or XML.

  18. ugrd

    A minimalistic and user friendly POSIX initramfs generator, designed for encrypted systems

  19. toml-bench

    Which toml package to use in python?

  20. qtoml

    Another Python TOML encoder/decoder

  21. nestedtextto

    CLI to convert between NestedText and JSON, YAML, or TOML, with explicit type casting

  22. camala

    Caption Markup Language

  23. parametrize_from_file

    Read unit test parameters from config files

  24. cels

    Command line tool to patch your YAML, JSON and TOML files.

  25. tomlparse

    argparse.ArgumentParser wrapper to parse TOML files from the command-line

    Project mention: Best of both worlds: TOML files with argparse | news.ycombinator.com | 2024-06-20
  26. SaaSHub

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

    SaaSHub 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 TOML discussion

Log in or Post with

Python TOML related posts

  • Converting .aaxc files to mb4

    4 projects | /r/AudioBookBay | 2 Feb 2023
  • ConfigParser potential inconsistencies

    2 projects | /r/Python | 30 Jan 2023
  • A practical issue with YAML: your schema is not documentation

    1 project | news.ycombinator.com | 17 Dec 2022
  • How do you yaml

    1 project | /r/devops | 23 Nov 2022
  • Pain points of moving to Poetry?

    3 projects | /r/Python | 14 Oct 2022
  • nt2: a CLI converter between NestedText and JSON, YAML, or TOML

    2 projects | /r/Python | 3 Oct 2022
  • Audible deletes audiobooks from your library.

    1 project | /r/audible | 18 Jun 2022
  • A note from our sponsor - SaaSHub
    www.saashub.com | 13 May 2025
    SaaSHub helps you find the best software and product alternatives Learn more →

Index

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

# Project Stars
1 msgspec 2,819
2 python-benedict 1,565
3 mashumaro 850
4 pyserde 768
5 pytablewriter 626
6 jinja2-cli 548
7 audible-cli 538
8 remarshal 536
9 tomli 508
10 nestedtext 383
11 rtoml 355
12 pipenv-poetry-migrate 125
13 parse_it 113
14 tomli-w 104
15 click-extra 87
16 ugrd 74
17 toml-bench 52
18 qtoml 25
19 nestedtextto 21
20 camala 19
21 parametrize_from_file 18
22 cels 17
23 tomlparse 15

Sponsored
InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com

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