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/*
Metadata
Release files for taml 1.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| taml-1.3.0.tar.gz | 16.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| taml-1.3.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 32.3 kB
Release files / taml-1.3.0.tar.gz
| Download URL | taml-1.3.0.tar.gz |
|---|---|
| Size | 16.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1bf189b7f29fc6ddec3741bad22913ffbbdffb0b227e85470866a59bb9fdf6a5
|
|
BLAKE2b-256 checksum How to use checksums |
56e297a5b3a179674a521ba3d88f39be1fec13b6e6db058473750820cb9856cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|
Release files / taml-1.3.0-py3-none-any.whl
| Download URL | taml-1.3.0-py3-none-any.whl |
|---|---|
| Size | 16.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
27eacfa8491ee425d933e1ccae2879f616bdb4e8aad60aa509435e3898d37844
|
|
BLAKE2b-256 checksum How to use checksums |
3f6571cbc868d9132f52ef56ea4352dce32c5ce7f4742f656846ca47b78a4fa9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.14.5
|