tomlkit VS pytoml

Compare tomlkit vs pytoml and see what are their differences.

tomlkit

Style-preserving TOML library for Python (by python-poetry)

pytoml

A TOML-0.4.0 parser/writer for Python. (by avakar)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
tomlkit pytoml
3 3
623 129
2.6% -
7.0 10.0
15 days ago almost 5 years ago
Python Python
MIT License GNU General Public License v3.0 or later
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

tomlkit

Posts with mentions or reviews of tomlkit. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-12-14.

pytoml

Posts with mentions or reviews of pytoml. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-21.
  • TOML: Tom's Obvious Minimal Language
    17 projects | news.ycombinator.com | 21 May 2023
    Funny thing: TOML author/inventor calls it a mistake:

    > TOML is a bad file format. It looks good at first glance, and for really really trivial things it is probably good. But once I started using it and the configuration schema became more complex, I found the syntax ugly and hard to read.

    > I personally abandoned TOML and as such, I'm not planning on adding any new features

    https://github.com/avakar/pytoml/issues/15#issuecomment-2177...

  • Comparison of Python TOML parser libraries
    19 projects | dev.to | 14 Dec 2021
    pytoml Abandoned by the creator for eminently sensible reasons (interesting read too... https://github.com/avakar/pytoml/issues/15) But let's not get into an argument over whether a shiny new fashion in config formats is in fact doing anything better than the previous fashions in config management...

What are some alternatives?

When comparing tomlkit and pytoml you can also consider the following projects:

tomli - A lil' TOML parser

rtoml - A fast TOML library for python implemented in rust.

toml - Tom's Obvious, Minimal Language

toml - Python lib for TOML

mypy - Optional static typing for Python

pip - The Python package installer

qtoml - Another Python TOML encoder/decoder

pytomlpp - A python wrapper for tomlplusplus

JSON6 - JSON for Humans (ES6)