YAMLiny - a tiny parser for a tiny subset of YAML
YAMLiny is a parser for a tiny subset of YAML syntax, although behavior may differ slightly in certain scenarios.
Install
YAMLiny is on PyPi, install with pip.
pip install yamliny
Usage
YAMLiny currently only has parsing functionality.
import yamliny
# this is pretty much the entirety of what you can do with YAMLiny syntax at the moment
yamliny_text = """
key: value
multivalue-key: # you can also use inline comments!
array: [one, two, three]
key: value
""".strip()
content = yamliny.loads(yamliny_text)
# content is a dict with:
# {'key': 'value',
# 'multivalue-key': {'array': ['one', 'two', 'three'], 'key': 'value'}}
Metadata
Release files for yamliny 0.0.2
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 |
|---|---|---|---|---|
| yamliny-0.0.2.tar.gz | 4.3 kB | Without provenance | Details for yamliny-0.0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| yamliny-0.0.2-py3-none-any.whl | Python 3 | none | any | Details for yamliny-0.0.2-py3-none-any.whl |
Total release size: 8.9 kB
Release files / yamliny-0.0.2.tar.gz
| Download URL | yamliny-0.0.2.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d2b77633689f900ea1bb054121fccfa6cf840caed055345b0b8c86c5f49d5c0
|
|
BLAKE2b-256 checksum How to use checksums |
cb288ce8141427f4a537231ea7b523a5a045ad445f8188d5cbc80f3c1125ac9e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
|
Release files / yamliny-0.0.2-py3-none-any.whl
| Download URL | yamliny-0.0.2-py3-none-any.whl |
|---|---|
| Size | 4.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fb606fd58945679424bb10d5dfc675c3e3377d38b46a635d666267d065e9154d
|
|
BLAKE2b-256 checksum How to use checksums |
b51b0127b12936b8aee0a4cf3451da4e1790e596419a6137d0b2d9e913fd514e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.9.6
|
Security for yamliny 0.0.2
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.