tomli | toml | |
---|---|---|
5 | 45 | |
439 | 19,163 | |
- | 0.4% | |
3.0 | 4.0 | |
5 days ago | 26 days ago | |
Python | Python | |
MIT License | MIT License |
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.
tomli
-
What Is Wrong with TOML?
But the whitespace handling involved is an extra complication, at least the provided example fails to be parsed by `tomli`, which is following the currently release TOML spec: https://github.com/hukkin/tomli/issues/199
-
ConfigParser potential inconsistencies
ini files aren't standardized, the syntax is really "whatever the parser implements". For new projects I recommend using toml instead. It's ini-like, but standardized. Python 3.11 even comes with a builtin parser tomllib (earlier python versions can use tomli, which is what tomllib is based on).
-
Python 3.11 will now have tomllib - Support for Parsing TOML in the Standard Library
tomllib is primary the library tomli: https://github.com/hukkin/tomli
-
Upcoming Python Features Brought to You by Python Enhancement Proposals
TOML as a format is by default used by many Python tools, including build tools. This creates a bootstrapping problem for them. Additionally, many popular tools such as flake8 don't include TOML support citing its lack of support in standard library. This PEP proposes to add TOML support to standard library based on tomli which is already used by packages such as pip or pytest.
-
Comparison of Python TOML parser libraries
tomli Relatively fast read-only parsing. Companion library tomli-w for writing.
toml
-
Let's meet Black: Python Code Formatting
Black uses by default the pyproject.toml file. This file contains a section for each different tool we want to use. The use of a configuration file like pyproject.toml is quite a good choice and helps the contributors to use the same tools and configurations you're using.
-
Why the fuck are we templating YAML? (2019)
> I don't think even though TOML has some official spec
Read it on https://toml.io/ (Full spec on upper-right… with its evolutions up to final 1.00 version).
-
'Hypermodernize' your Python Package
ini2toml which automatically translates .ini/.cfg files into TOML
-
An INI Critique of TOML
toml 1.1 will allow non-ascii in keys (and multi-line inline tables)
See https://github.com/toml-lang/toml/blob/main/CHANGELOG.md
- What Is Wrong with TOML?
- TOML: Tom's Obvious Minimal Language
-
What do ya'll think of TOML's - Support almost all programming language popularized today.
GitHub - toml-lang/toml: Tom's Obvious, Minimal Language
-
`toml` vs `toml_edit` (ie `toml` 0.6 is out)
See https://github.com/toml-lang/toml/blob/main/CHANGELOG.md
-
The YAML Document from Hell
> I still think it's the best format out there.
What do you think of https://toml.io ?
-
7 Python 3.11 new features 🤩
TOML built-in support
What are some alternatives?
tomlkit - Style-preserving TOML library for Python
json5 - JSON5 — JSON for Humans
rtoml - A fast TOML library for python implemented in rust.
starship - ☄🌌️ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
pytoml - A TOML-0.4.0 parser/writer for Python.
dhall - Maintainable configuration files
toml - Python lib for TOML
tomlplusplus - Header-only TOML config file parser and serializer for C++17.
docker-selenium - Provides a simple way to run Selenium Grid with Chrome, Firefox, and Edge using Docker, making it easier to perform browser automation
flit - Simplified packaging of Python modules
libconfini - Yet another INI parser