pytoml | JSON6 | |
---|---|---|
3 | 1 | |
129 | 230 | |
- | - | |
10.0 | 10.0 | |
almost 5 years ago | over 2 years ago | |
Python | JavaScript | |
GNU General Public License v3.0 or later | GNU General Public License v3.0 or later |
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.
pytoml
-
TOML: Tom's Obvious Minimal Language
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
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...
JSON6
-
TOML: Tom's Obvious Minimal Language
I pretty like the idea of a superset of JSON taht supports (1) comments, (2) trailing commas, (3) unquoted properties, (4) optional {} for the root object, (5) multi-line strings, (6) number separator.
JSON6 proposal [1] supports all of this, except (4). Unfortunately it also supports more and make the spec a bit too complex for my taste (JSON has a compact spec; any extension should honor this). Same issue with JSON5 proposal [2].
EKON [3] is certainly the best candidate. However, it doesn't get any traction.
[1] https://github.com/d3x0r/JSON6
What are some alternatives?
tomli - A lil' TOML parser
pyspnego - Python SPNEGO authentication library
rtoml - A fast TOML library for python implemented in rust.
gura - Gura configuration language
toml - Python lib for TOML
config - configuration library for JVM languages using HOCON files
tomlkit - Style-preserving TOML library for Python
cue - The home of the CUE language! Validate and define text-based and dynamic configuration
pip - The Python package installer
knot8 - define and manipulate "knobs" in K8s manifests
pytomlpp - A python wrapper for tomlplusplus
ekon - A JSON alternative for sane people. Combination of simplicity & power. Check it out!