YAML but with tabs
Project description
TAML
YAML but with tabs
Installation
pip install taml
Usage
see ruamel.yaml and replace
from ruamel.yaml import YAML
yaml=YAML()
with
from taml import taml
Additional Features
you can use a separate taml file or dict to type the taml
a:
a: 3
b: 956579776
c:
- 1
- 2
- 3
d:
- 1.12345
- 2
- {'a': 1}
- 4
and
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 buildthenpython -m dotenv run -- twine upload --skip-existing dist/*
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
taml-1.3.0.tar.gz
(16.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
taml-1.3.0-py3-none-any.whl
(16.2 kB
view details)
File details
Details for the file taml-1.3.0.tar.gz.
File metadata
- Download URL: taml-1.3.0.tar.gz
- Upload date:
- Size: 16.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1bf189b7f29fc6ddec3741bad22913ffbbdffb0b227e85470866a59bb9fdf6a5
|
|
| MD5 |
df28a87afc7239829099e589fa25697a
|
|
| BLAKE2b-256 |
56e297a5b3a179674a521ba3d88f39be1fec13b6e6db058473750820cb9856cf
|
File details
Details for the file taml-1.3.0-py3-none-any.whl.
File metadata
- Download URL: taml-1.3.0-py3-none-any.whl
- Upload date:
- Size: 16.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.14.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
27eacfa8491ee425d933e1ccae2879f616bdb4e8aad60aa509435e3898d37844
|
|
| MD5 |
cba2724dfe0c0ebb62c308bcdaeb792f
|
|
| BLAKE2b-256 |
3f6571cbc868d9132f52ef56ea4352dce32c5ce7f4742f656846ca47b78a4fa9
|