YamlPlus
YAML, but better!
YamlPlus is a stricter version of YAML that produces documents that are valid both in YAML And in the Yapyon format standard.
# Example goes here
Quick-Start Guide
Install the ymlplus distribution. Its Python import and console command
are still spelled yamlplus:
python -m pip install ymlplus
This distribution starts its independent version history at 0.1.0. It is not
the unrelated yamlplus distribution on PyPI; use pip install ymlplus, not
pip install yamlplus. To install this source checkout instead, run
python -m pip install ..
YamlPlus is also included in the Yapyon reference implementation.
It can be quickly tested, too:
import yamlplus
assert yamlplus.loads('missing: None\nword: "None"\n') == {
"missing": "None", "word": "None"}
assert yamlplus.normalize('yes: 1 # keep this comment\n') == (
'"yes": 1 # keep this comment\n')
yamlplus.check validates source, yamlplus.is_yamlplus returns a predicate,
yamlplus.load/loads read data, yamlplus.dump/dumps write host values, and
yamlplus.normalize formats source while preserving comments.
python -m yamlplus settings.yaml
yamlplus --write --info settings.yaml
Reading uses PyYAML's safe native YAML interpretation after profile validation.
It does not decode bytes-looking strings or turn the YAML string None into
Python None. Writing also uses PyYAML, with profile-safe spellings and layout;
the complete output is validated before it is returned or written. See the
binding guide for the unavoidable cross-reader differences.
The runtime has no Yapyon dependency, evaluator, contracts, slots, or full-language parser. The test suite covers native YAML semantics, profile validation, conforming output, comments, diagnostics, and the independent package boundary.
Read More
- Python binding guide — validation, native YAML I/O, output, and limits
- Yapyon — the related format and reference implementation
Diagnostic Terminology
This package uses conventional warning:, error:, and info: diagnostics.
Invalid source raises yamlplus.ValidationError with a source location when
available. Optional warn= and info= callbacks receive formatted messages;
callback failures propagate. The CLI displays warnings on stderr and enables
informational summaries with --info; payload output stays on stdout.
Warnings and information do not change validity or successful exit status.
Metadata
Release files for ymlplus 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| ymlplus-0.1.0.tar.gz | 61.9 kB | Without provenance | Details for ymlplus-0.1.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ymlplus-0.1.0-py3-none-any.whl | Python 3 | none | any | Details for ymlplus-0.1.0-py3-none-any.whl |
Total release size: 108.5 kB
Release files / ymlplus-0.1.0.tar.gz
| Download URL | ymlplus-0.1.0.tar.gz |
|---|---|
| Size | 61.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a903b6e0df52b39347ab94c1fa6a22b31a0b45eb27c46339a1a903f617cd0fe6
|
|
BLAKE2b-256 checksum How to use checksums |
df87dc77f1caa9894ab344dd4ae5ff9a353a38f17ad4721991a82167f3b2d074
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Release files / ymlplus-0.1.0-py3-none-any.whl
| Download URL | ymlplus-0.1.0-py3-none-any.whl |
|---|---|
| Size | 46.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
714e0aa695a0fc2b047afd7c7f0cea8cb6aed5cdf1e75b7c3f563db6dadde11a
|
|
BLAKE2b-256 checksum How to use checksums |
0cbd95dd74d5a5c386b5d76fc9277bd79db9259a2d1d2c8121fd574eb166cb39
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.12.3
|
Security for ymlplus 0.1.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.