ytools3
Library for validating `yaml` files against schema and selectively dumping nodes from `yaml` (or `json`) documents in `yaml` or `json` format.
This is a port of ytools ( https://github.com/yaccob/ytools ), which was Python 2 only, to Python 3.
Docs |
|
|---|---|
Tests |
|
PyPI |
|
Activity |
|
Other |
Features
Output yaml as json or python
Output json as yaml or python (provided that there are no duplicate mapping entry in the json source)
Extract particular nodes from yaml and json files.
If yaml is used as output format (default) the output is a valid yaml document.
Validate yaml and json documents.
The json-schema can be provided in yaml format as well, which improves readability and writability.
Preserve order of mapping-keys in yaml and json output.
Multi-document support
Multiple input files
… as well as multiple yaml documents within a file
… and a combination of both
Installation
ytools3 can be installed from PyPI.
To install with pip:
$ python -m pip install ytools3
Metadata
Release files for ytools3 3.0.1
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 |
|---|---|---|---|---|
| ytools3-3.0.1.tar.gz | 11.5 kB | Without provenance | Details for ytools3-3.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| ytools3-3.0.1-py3-none-any.whl | Python 3 | none | any | Details for ytools3-3.0.1-py3-none-any.whl |
Total release size: 21.7 kB
Release files / ytools3-3.0.1.tar.gz
| Download URL | ytools3-3.0.1.tar.gz |
|---|---|
| Size | 11.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
59e3fc710842ca6f6440922e4d4c7730d58a6f0afa14ca1358e468e436ec8b14
|
|
BLAKE2b-256 checksum How to use checksums |
8c3202bc7f4dc00c18dad4bd8253dc97295062d711648b8be5c529a2290bc304
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.7
|
Release files / ytools3-3.0.1-py3-none-any.whl
| Download URL | ytools3-3.0.1-py3-none-any.whl |
|---|---|
| Size | 10.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
521ec431dbe6a1cf7234c5f2145b2887e867da1fd1616215067313afecb7562d
|
|
BLAKE2b-256 checksum How to use checksums |
4b9d93261d1803e97c5ded8ca8a0f3adb5af9e3d180406c2e898bc77c1ab3a97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.2.0 requests-toolbelt/0.9.1 tqdm/4.47.0 CPython/3.6.7
|
Security for ytools3 3.0.1
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.