teptris-py — TOML for Python at libleptris speed
A native C-extension binding (no ctypes, no fallback) 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.
Both directions are native: dumps walks the object tree in C
through the builder API and emits via the shared engine emitter —
3.5×–14.2× faster than tomli_w on every benchmark shape. The engine
implements the TOML 1.1 draft grammar (a strict superset of 1.0)
with 100% toml-test conformance, and parses at ≥3× the best C/C++
competitor on every shape.
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.2.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
Total release size:1.7 MB
Release files / teptris-0.2.4-cp313-cp313-win_amd64.whl
| Download URL | teptris-0.2.4-cp313-cp313-win_amd64.whl |
|---|---|
| Size | 57.0 kB |
| Tags | CPython 3.13 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
bb05ee615e2e5927d913e2de2f0f0dd8b30162f3aed75236ffece8347f32c3d4
|
|
BLAKE2b-256 checksum How to use checksums |
3fb8da4175a1402d4e0a6b21923965b7844590a3a9dfa9f0cc8643bbec2c7e42
|
| 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.2.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | teptris-0.2.4-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 118.3 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
77a62c87a282666ff805bf3d2cefa20aa6a0a754270f11be75735a906e255704
|
|
BLAKE2b-256 checksum How to use checksums |
3d0c12cb3b45224d516613c658bdb15e350c67dc893e15698713a080e56efdb0
|
| 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.2.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | teptris-0.2.4-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 122.0 kB |
| Tags | CPython 3.13 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
322b39112ee86b431636c1d3c43ceb380342140434e0d7a12695d285679c6989
|
|
BLAKE2b-256 checksum How to use checksums |
e62632aa3d6e4f42540093ce63e90f4fe7a1b8d189f3f630829196413ca304f5
|
| 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.2.4-cp313-cp313-macosx_11_0_x86_64.whl
| Download URL | teptris-0.2.4-cp313-cp313-macosx_11_0_x86_64.whl |
|---|---|
| Size | 60.3 kB |
| Tags | CPython 3.13 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
b760faa795603a08521eb7702a90244176e8a03e89383f894fba421a296a0424
|
|
BLAKE2b-256 checksum How to use checksums |
b820afa04f5643983479b6ecdbef53859bc174e7b25e4ef45fd868e175df08c7
|
| 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.2.4-cp313-cp313-macosx_11_0_arm64.whl
| Download URL | teptris-0.2.4-cp313-cp313-macosx_11_0_arm64.whl |
|---|---|
| Size | 59.7 kB |
| Tags | CPython 3.13 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
c44cb976b99851e9ecbab4d9db12a7a60c911e99aca19ee5f16d90ed9f9283bb
|
|
BLAKE2b-256 checksum How to use checksums |
9d8fa6985475321c071d4bc6f35f759402e7fca9ee18b9c02cc0d0e4a3ed09b1
|
| 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.2.4-cp312-cp312-win_amd64.whl
| Download URL | teptris-0.2.4-cp312-cp312-win_amd64.whl |
|---|---|
| Size | 57.0 kB |
| Tags | CPython 3.12 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
b78be8dc0e550936885cd2272693b715b4a215c60734e07fd428b623170f942c
|
|
BLAKE2b-256 checksum How to use checksums |
ce7268174104d477e0eb67128307edd21e0f01db271bc445d2f2951f72514796
|
| 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.2.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | teptris-0.2.4-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 118.2 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
3c1dfb0a6628556edd5b2805f37bb0c1815c816acc0b45542f6285b833eabd6e
|
|
BLAKE2b-256 checksum How to use checksums |
dd7c13421dc99eccf0404e7800ebe13a80226446f2efeb146f825a35366ce00a
|
| 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.2.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | teptris-0.2.4-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 121.9 kB |
| Tags | CPython 3.12 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
ae054a0457a6897179632d99001cb686ee2a9137377b954120d221aa801e3a4c
|
|
BLAKE2b-256 checksum How to use checksums |
b8031ea2dc46f43aa8227d11a83526471a54c19334eb7107e1458d256e92a30c
|
| 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.2.4-cp312-cp312-macosx_11_0_x86_64.whl
| Download URL | teptris-0.2.4-cp312-cp312-macosx_11_0_x86_64.whl |
|---|---|
| Size | 60.3 kB |
| Tags | CPython 3.12 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
56554e68b26bc34b830c04da240d1516551d0e35c7740fb836114c7426b7eeb9
|
|
BLAKE2b-256 checksum How to use checksums |
eaff5a69f7de2cba4ae538bda71679175c9ca87b5d4a54c9b49ef794076e312a
|
| 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.2.4-cp312-cp312-macosx_11_0_arm64.whl
| Download URL | teptris-0.2.4-cp312-cp312-macosx_11_0_arm64.whl |
|---|---|
| Size | 59.7 kB |
| Tags | CPython 3.12 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
0cd766a56770ed5435a3f04299fb1c98c99e00c0562f4a86ffee9eaaee888e16
|
|
BLAKE2b-256 checksum How to use checksums |
ffd45fbe3d60df6471ac1e2ea21b322ff5d858203328e523a634d48b2c1a6d7a
|
| 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.2.4-cp311-cp311-win_amd64.whl
| Download URL | teptris-0.2.4-cp311-cp311-win_amd64.whl |
|---|---|
| Size | 57.0 kB |
| Tags | CPython 3.11 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
c3caf00adbfbb699fdccad57deaa32c4940603107d3bb9b9ddcabd938d4e873d
|
|
BLAKE2b-256 checksum How to use checksums |
eb77da016b6678c1844c77f952e634bc1f3af19323d17c262d7f52444388caa0
|
| 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.2.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | teptris-0.2.4-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 117.7 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
2dcd5eb29c3ca9b17784f53c7a828a6568dacb324aaa0a4c268d55ce662678f1
|
|
BLAKE2b-256 checksum How to use checksums |
bcc607850815f8e5bb7353ca5c6c5d315fc0c635b886853601fd92fa4ba223f9
|
| 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.2.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | teptris-0.2.4-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 121.3 kB |
| Tags | CPython 3.11 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
e4dcb92a86a5e7aa5778f6714088275385a52d18453b5b7d733009779d94e727
|
|
BLAKE2b-256 checksum How to use checksums |
a6cbb847fbdc53057329686ee453be2d62ffd3ed845ecb7405eba38c58a0b190
|
| 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.2.4-cp311-cp311-macosx_11_0_x86_64.whl
| Download URL | teptris-0.2.4-cp311-cp311-macosx_11_0_x86_64.whl |
|---|---|
| Size | 60.2 kB |
| Tags | CPython 3.11 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
3b1f8a8b56a88b2efe9104d5eda2768972a75dd82d73fe5b99434506354dd48a
|
|
BLAKE2b-256 checksum How to use checksums |
fa6ae8ea8016df99f8c4f5821b8742f2441dac3ec2d91580252dede6b8757d95
|
| 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.2.4-cp311-cp311-macosx_11_0_arm64.whl
| Download URL | teptris-0.2.4-cp311-cp311-macosx_11_0_arm64.whl |
|---|---|
| Size | 59.5 kB |
| Tags | CPython 3.11 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
9bb895aeecaa940ac48d9c73562a8ac9ed9aec1cc54de2fd20279d2e04d54815
|
|
BLAKE2b-256 checksum How to use checksums |
5b7d593194200337d3410eafa1da8d9233e66911f0fa241f425c00d2757ba647
|
| 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.2.4-cp310-cp310-win_amd64.whl
| Download URL | teptris-0.2.4-cp310-cp310-win_amd64.whl |
|---|---|
| Size | 57.0 kB |
| Tags | CPython 3.10 Windows x86-64 |
|
SHA-256 checksum How to use checksums |
adb791c585dc4ee17b1c63c18568421868b4b6fb820b49390da864e034a3822d
|
|
BLAKE2b-256 checksum How to use checksums |
4fa4358a31ace8f8a58d86728596c01d682d94d0f116100f1aa967650842111b
|
| 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.2.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
| Download URL | teptris-0.2.4-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl |
|---|---|
| Size | 117.0 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ x86-64 |
|
SHA-256 checksum How to use checksums |
42c751a5ba5ad1a89177225ceefdf5b4b3f36af77c321fbf45ae08109b9ee5a3
|
|
BLAKE2b-256 checksum How to use checksums |
3ba8081cff4af5f22fcdb9f164af4daad61e88a4111e5e3c6c13b6bca7e6608f
|
| 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.2.4-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
| Download URL | teptris-0.2.4-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl |
|---|---|
| Size | 120.6 kB |
| Tags | CPython 3.10 Linux glibc 2.17+ ARM64 |
|
SHA-256 checksum How to use checksums |
75554302ccfdc51de67e57415ccf546b0f45b504fa8dba4df1478e53525f046e
|
|
BLAKE2b-256 checksum How to use checksums |
e4ff669a04e9ffe9db38478e601fd442c05899b333bffbf7da333b3fe5352ba5
|
| 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.2.4-cp310-cp310-macosx_11_0_x86_64.whl
| Download URL | teptris-0.2.4-cp310-cp310-macosx_11_0_x86_64.whl |
|---|---|
| Size | 54.7 kB |
| Tags | CPython 3.10 macOS 11.0+ x86-64 |
|
SHA-256 checksum How to use checksums |
8a0158b1f8730dfac8c6f657572153b05dd3c85e656a16d33ca36a5c99119f87
|
|
BLAKE2b-256 checksum How to use checksums |
b24e4e14cdbc5e98d3234bf70da72183765cc0404c2feb97cd8ee9a9c8c6c80a
|
| 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.2.4-cp310-cp310-macosx_11_0_arm64.whl
| Download URL | teptris-0.2.4-cp310-cp310-macosx_11_0_arm64.whl |
|---|---|
| Size | 59.6 kB |
| Tags | CPython 3.10 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
54bb472f1dd9c2b085bf5ba937f9ddbd1bf8102af783fcb6add4cbcd72a141b1
|
|
BLAKE2b-256 checksum How to use checksums |
4f03fb9f3ad7b1c6207fd630be175efec3ff45d0c2c71c78d36357d6be4fd6c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.10.5
|