Metadata-Version: 2.1
Name: yamliny
Version: 0.0.1
Summary: Parser for a tiny subset of YAML; YAML lite
Home-page: https://github.com/slarse/yamliny
Author: Simon Larsén
Author-email: slarse@slar.se
License: MIT
Download-URL: https://github.com/slarse/yamliny/archive/v0.0.1.tar.gz
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Intended Audience :: Education
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: POSIX
Classifier: Operating System :: Microsoft :: Windows
Description-Content-Type: text/markdown
Provides-Extra: TEST
License-File: LICENSE

# 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.

```bash
pip install yamliny
```

## Usage

YAMLiny currently only has parsing functionality.

```python
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'}}
```


