Our great sponsors
toml | json5 | |
---|---|---|
45 | 94 | |
19,134 | 6,278 | |
0.6% | 0.8% | |
4.3 | 0.0 | |
11 days ago | 4 months ago | |
Python | JavaScript | |
MIT License | 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.
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
json5
- JSON5 β JSON for Humans
- Why the fuck are we templating YAML? (2019)
-
I pre-released my project "json-responder" written in Rust
JSON5 support
-
topoconfig: enhancing config declarations with graphs
Meanwhile, formats have been evolving (JSON5, YAML), config entry points are constantly changing. These fluctuations, fortunately, were covered by tools like the cosmiconfig.
-
That's a Lot of YAML
I think JSON5 is fairly close to this: https://json5.org
I reckon the only thing it's missing to be truly accessible to non-techies is that string values still need to be quoted, i.e. you can't have:
key: this is my value
(I'm definitely not saying it would be a good idea to allow quotes to be dropped, just that that's the only potential stumbling block I see for non-techies.)
-
XML is better than YAML
I believe that's JSON5.
https://github.com/json5/json5
It's my preferred configuration file format, it fixes all the problems I have with JSON (trailing commas, comments) without turning it into a mess full of gotchas like YAML.
- Fx β Terminal JSON Viewer
- What Is Wrong with TOML?
-
π 'GET' API in API Maker
JSON 5 support
-
TySON: a native go library that lets you use TypeScript as an embedded configuration language without depending on Node or V8
I would like to see mention of JSON5 which is 11 years its elder. For comments in JSON, JSON5 is a good starting point.
What are some alternatives?
tomli - A lil' TOML parser
Json.NET - Json.NET is a popular high-performance JSON framework for .NET
starship - βποΈ The minimal, blazing-fast, and infinitely customizable prompt for any shell!
hjson-js - Hjson for JavaScript
dhall - Maintainable configuration files
jq - Command-line JSON processor [Moved to: https://github.com/jqlang/jq]
docker-selenium - Provides a simple way to run Selenium Grid with Chrome, Firefox, and Edge using Docker, making it easier to perform browser automation
jsonnet - Jsonnet - The data templating language
tomlplusplus - Header-only TOML config file parser and serializer for C++17.
sublime-hjson - Hjson support for Sublime Text
libconfini - Yet another INI parser
ron - Rusty Object Notation