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.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| teptris-0.1.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl | Python 3 | none | Linux glibc 2.17+ x86-64 | Details |
| teptris-0.1.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl | Python 3 | none | Linux glibc 2.17+ ARM64 | Details |
| teptris-0.1.1-py3-none-macosx_11_0_arm64.whl | Python 3 | none | macOS 11.0+ ARM64 | Details |
| teptris-0.1.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size:144.2 kB
Release files / teptris-0.1.1-py3-none-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | teptris-0.1.1-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 |
6d090a468835dbe8460ea010491e31c3903a39cbcb9572e95b47976cd117bb6e
|
|
BLAKE2b-256 checksum How to use checksums |
331cf49e93f93989801e2787956ecedfe4c35092b034f3d03e95b0a8a5760a56
|
| 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.1-py3-none-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | teptris-0.1.1-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 |
76a5fe2a18fd4ec20e31e433750bfae9ff6342350e14cd748cac637c4ab17dfd
|
|
BLAKE2b-256 checksum How to use checksums |
8bece0e645002647babc84ce522a2887d2710d3809f9996067516a46e22ac7cf
|
| 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.1-py3-none-macosx_11_0_arm64.whl
| Download URL | teptris-0.1.1-py3-none-macosx_11_0_arm64.whl |
|---|---|
| Size | 44.6 kB |
| Tags | Python 3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
9b21d024e757391d602d4fb4990a999562426cad2ab5e73d84e7761fe1b2d480
|
|
BLAKE2b-256 checksum How to use checksums |
08df6605ce3bac0094260f4240b9a5f8aa54973234996b10f56f1abdd6c64a0d
|
| 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.1-py3-none-any.whl
| Download URL | teptris-0.1.1-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
77e33bf1adc9993dc5b6a6bb3b931abcd78854069ac6e6b5e1b44f34562eb86f
|
|
BLAKE2b-256 checksum How to use checksums |
3131dce7c212e082a5caa38ac568a97957e84e6f185675fe9b8e4f8868b15852
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.5
|