awesome-json-next
pyyaml
Our great sponsors
awesome-json-next | pyyaml | |
---|---|---|
3 | 16 | |
55 | 2,402 | |
- | 1.5% | |
0.0 | 3.9 | |
about 3 years ago | 9 days ago | |
Python | ||
Creative Commons Zero v1.0 Universal | 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.
awesome-json-next
-
The Norway Problem
You might look at JSON Next variants (if you remember - "classic" JSON is a subset of YAML), see https://github.com/json-next/awesome-json-next
my own little JSON Next entry / format is called JSON 1.1 or JSONX, that is, JSON with eXtensions, see https://json-next.github.io/
-
JSON with Commas and Comments
FYI: I collect JSON variants with extension at the Awesome JSON - What's Next? page [1].
pyyaml
-
Cython 3.0 Released
Mostly because of PyYAML: https://github.com/yaml/pyyaml/issues/724
PyYAML knew about the breakage since january 2022[0], and nothing really happened. After a year and a half with lots of alphas and betas, I don't think there is much cython could do, short of fixing PyYAML themselves.
- I'm needing a hand, I do not understand some (seemingly) simple Python stuff.
-
Using Rust to not have to touch Yaml in k8s land
Note some parsers, most notably pyyaml are still at yaml 1.1, because 13 years is just not enough time to update it.
-
I accidentally used YAML.parse instead of JSON.parse, and it worked?
Many parsers either default to YAML pre-1.2 or do not even expose a YAML 1.2 option. PyYAML has no 1.2 option, for example. So unless Ansible is using something other than PyYAML...
Relevant (open) PR: https://github.com/yaml/pyyaml/pull/555
- The Norway Problem
-
Strict YAML deserialization in Python with marshmallow
So I imported PyYaml and call load method:
What are some alternatives?
confuse - painless YAML config files for Python
strictyaml - Type-safe YAML parser and validator.
yamllint - A linter for YAML files.
russian-words - List of Russian words
jsonnet - Jsonnet - The data templating language
marshmallow - A lightweight library for converting complex objects to and from simple Python datatypes.
python-strict-yaml-parsing - Examples of strict yaml parsing in python
python-frontmatter - Parse and manage posts with YAML (or other) frontmatter
kubernetes - Production-Grade Container Scheduling and Management
dhall-lang - Maintainable configuration files
yaml-spec - YAML Specification
toml.io - Source Code for toml.io