teptris-py — TOML for Python at libleptris speed
A ctypes binding (no C extension) over
libteptris — the TOML counterpart
of leptris-py (XML) and yeptris-py (YAML). API shape mirrors
tomllib/tomli (loads/load raising TOMLDecodeError) plus a
dumps writer in the tomli_w spirit. Datetime mapping mirrors
tomllib: aware/naive datetime, date, time.
Development
The package loads a shared libteptris — from TEPTRIS_LIB_PATH, a
vendored platform/ directory, the sibling C checkout's build tree, or
the system loader.
cmake -B ../teptris/build-shared -S ../teptris \
-DCMAKE_BUILD_TYPE=Release -DTEPTRIS_BUILD_SHARED=ON -DTEPTRIS_BUILD_STATIC=OFF
cmake --build ../teptris/build-shared
TEPTRIS_LIB_PATH=../teptris/build-shared/src/libteptris.dylib \
python3 -m unittest discover -s tests -v
Publishing and version numbers are USER release decisions.
Release files for teptris 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| teptris-0.1.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details |
| teptris-0.1.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details |
| teptris-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:138.3 kB
Release files / teptris-0.1.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | teptris-0.1.0-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 46.4 kB |
| Tags | Linux glibc 2.17+ x86-64 Python 3 |
|
SHA-256 checksum How to use checksums |
8e221b28931b08ef28b342a09c6814e6147295a0cad67da8f085221a66206596
|
|
BLAKE2b-256 checksum How to use checksums |
10894862d11a7a329b0e9bd5c8fc86cef5caeef4ae639496307ca9f12e7cb0f3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.5
|
Release files / teptris-0.1.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | teptris-0.1.0-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 47.3 kB |
| Tags | Linux glibc 2.17+ ARM64 Python 3 |
|
SHA-256 checksum How to use checksums |
4d7ea6e821195ee9451573852a06137da89c43ffdee06d263216ff72c2f5ffbb
|
|
BLAKE2b-256 checksum How to use checksums |
ee53c1e18af713c002b33897512edfe465c4d1bd9fd25d76805b5c8dd22eccef
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.5
|
Release files / teptris-0.1.0-py3-none-any.whl
| Download URL | teptris-0.1.0-py3-none-any.whl |
|---|---|
| Size | 44.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0b7295b28d210c2ccfaacecad009fcf9670e48514e1003c5b84241105c339be4
|
|
BLAKE2b-256 checksum How to use checksums |
69db5731fbca98106be8edfac3c6835c2bccd37ccb0de0366b02f8e863356113
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.5
|