JONF parser/formatter in Python
[!WARNING] JONF.py draft is archived in favor of TTT - please check it.
NOTE: This is an early alpha version
# pip install jonf
import jonf, textwrap
text = textwrap.dedent(
"""\
compare =
- true
= true
"""
).rstrip()
data = {
"compare": [
"true",
True,
]
}
# TODO:
# assert jonf.parse(text) == data
assert jonf.format(data) == text
print(jonf.format(data))
Output:
compare =
- true
= true
Release files for jonf 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| jonf-0.0.7.tar.gz | 3.9 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| jonf-0.0.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.7 kB
Release files / jonf-0.0.7.tar.gz
| Download URL | jonf-0.0.7.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3691e6ebeeda97f33b247e94ec7e1e234cc94fb19b710f64d640843b4f627e97
|
|
BLAKE2b-256 checksum How to use checksums |
c9c8f808775356d880fca33d962c54a2b0c41d605d0f053db3237751cfa26c8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.8.12 Linux/5.15.0-144-generic
|
Release files / jonf-0.0.7-py3-none-any.whl
| Download URL | jonf-0.0.7-py3-none-any.whl |
|---|---|
| Size | 3.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6f59923d1e9b4d1330a0e25438e1202da4561990b97a1b438971c0cdefb83e75
|
|
BLAKE2b-256 checksum How to use checksums |
b5e7d7ffbec6a2534700212e6ebecaaf9085335a73dfb4b00e12dea8f930c748
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.1.13 CPython/3.8.12 Linux/5.15.0-144-generic
|