Metadata-Version: 2.4
Name: taml
Version: 1.3.0
Summary: YAML but with tabs
Author-email: EpicStuff <EpicStuff@users.noreply.github.com>
Project-URL: Homepage, https://github.com/EpicStuff/taml
Project-URL: Issues, https://github.com/EpicStuff/taml/issues
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: epicstuff
Requires-Dist: ruamel.yaml==0.18.10
Dynamic: license-file

# TAML

YAML but with tabs

## Installation

```bash
pip install taml
```

## Usage

see [ruamel.yaml](https://yaml.readthedocs.io/en/latest/) and replace

```python
from ruamel.yaml import YAML
yaml=YAML()
```

with

```python
from taml import taml
```

## Additional Features

you can use a separate taml file or dict to type the taml

```yaml
a:
	a: 3
	b: 956579776
	c:
		- 1
		- 2
		- 3
	d:
		- 1.12345
		- 2
		- {'a': 1}
		- 4
```

and

```yaml
a:
	b: datetime.datetime.fromtimestamp(tz=datetime.timezone.utc)
	c: tuple
	d:
		- round(ndigits=2)
		- null
		- epicstuff.Dict(b='1')  # make sure b stays str during resolve
		- str
```

## Note to self

- upload with `python -m build` then `python -m dotenv run -- twine upload --skip-existing dist/*`
