Skip to main content

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.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for teptris 0.2.3
File
teptris-0.2.3-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
teptris-0.2.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ x86-64 Details
teptris-0.2.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ ARM64 Details
teptris-0.2.3-cp313-cp313-macosx_11_0_x86_64.whl CPython 3.13 CPython 3.13 macOS 11.0+ x86-64 Details
teptris-0.2.3-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
teptris-0.2.3-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
teptris-0.2.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ x86-64 Details
teptris-0.2.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ ARM64 Details
teptris-0.2.3-cp312-cp312-macosx_11_0_x86_64.whl CPython 3.12 CPython 3.12 macOS 11.0+ x86-64 Details
teptris-0.2.3-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
teptris-0.2.3-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
teptris-0.2.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ x86-64 Details
teptris-0.2.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ ARM64 Details
teptris-0.2.3-cp311-cp311-macosx_11_0_x86_64.whl CPython 3.11 CPython 3.11 macOS 11.0+ x86-64 Details
teptris-0.2.3-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
teptris-0.2.3-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
teptris-0.2.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ x86-64 Details
teptris-0.2.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ ARM64 Details
teptris-0.2.3-cp310-cp310-macosx_11_0_x86_64.whl CPython 3.10 CPython 3.10 macOS 11.0+ x86-64 Details
teptris-0.2.3-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details

Total release size:1.7 MB

Release files / teptris-0.2.3-cp313-cp313-win_amd64.whl

Download URL teptris-0.2.3-cp313-cp313-win_amd64.whl
Size 57.1 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
336f47a6abcc3c940cf35bc7e1336b58f099ab82121bb846cdef97720f971b59
BLAKE2b-256 checksum
How to use checksums
a7ebbdbda790e611d1296a677cddf6a1ee888b0677c3603b2e808b2cbcda890f
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.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL teptris-0.2.3-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 118.2 kB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
b6d21e10c9fac6a889640005667794b0aa50e0f6244fe9a16920117ac6ee104c
BLAKE2b-256 checksum
How to use checksums
1c8c8bc42b89520b382f068dfd2f9a207d8a78402094ab59664ace4cca6783be
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.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL teptris-0.2.3-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 121.9 kB
Tags CPython 3.13 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
67a018f7a1b5f07e4fdc5c5063f865393831b11f4ae53717aff0fbabcbb1184e
BLAKE2b-256 checksum
How to use checksums
8ac21d6934eec2578081e290604be270520c64cdfced947a0f5ddfe29ae311b3
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.3-cp313-cp313-macosx_11_0_x86_64.whl

Download URL teptris-0.2.3-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
931b1a95a3811883a277ba5baba370462d5cc5783b48eae5bb3bb95a046975f6
BLAKE2b-256 checksum
How to use checksums
868c34d33c82cf15aaaf3323445bfd289e711e5eeaf9dbaa1e5703e7fe3b0e00
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.3-cp313-cp313-macosx_11_0_arm64.whl

Download URL teptris-0.2.3-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
36690b09476ccb1f5686ca3158c6d7e170b7956240fbe92fdf3c7d5ab7d9d99f
BLAKE2b-256 checksum
How to use checksums
d2de6e46e9b52e9c9d6ffac2ca1121411f2b13dd5e1eee13c99f905e14c0f5b6
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.3-cp312-cp312-win_amd64.whl

Download URL teptris-0.2.3-cp312-cp312-win_amd64.whl
Size 57.1 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
0a2feacba20a42b458094ecbfc5047be6a614d4091ceb1cde70415e92caf2ce1
BLAKE2b-256 checksum
How to use checksums
e9ce8407aa16911c2343e75ab2acaee78ef02047f0d63ce6af84efe8b17ed47f
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.3-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL teptris-0.2.3-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
5be60f85eb66c8c39a5620991da3345f37ec0f27437e7cff265bdf4de1ed8aec
BLAKE2b-256 checksum
How to use checksums
09198157383550d9caceed4c0124d04b8f50dfdd74fc3a352807912ec924efc1
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.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL teptris-0.2.3-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 121.8 kB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
8650d82a82fb2818ae0f468e704b6545094fa98601d3101531ed9c7ebd73f646
BLAKE2b-256 checksum
How to use checksums
88e14cd2680843faae99346f8a589ee3d3e51317e39083708f4e54102f369f08
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.3-cp312-cp312-macosx_11_0_x86_64.whl

Download URL teptris-0.2.3-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
cb34788ef647d3f955eead7e384194edcd976f592ef31bd98fb62d16726e6139
BLAKE2b-256 checksum
How to use checksums
411f2fe97cc268283340935bebc75c2e39c1367c8a91cf31d4c1e96653659271
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.3-cp312-cp312-macosx_11_0_arm64.whl

Download URL teptris-0.2.3-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
084abb4bf6d5ad1aa3bc9fd99e74a1588daf06dc48cefce928a6505dd1db269c
BLAKE2b-256 checksum
How to use checksums
2834487d2ac90ffd151c12cc6439c29bc82f1e332d9418438432182a79e43cd6
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.3-cp311-cp311-win_amd64.whl

Download URL teptris-0.2.3-cp311-cp311-win_amd64.whl
Size 57.0 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
d3fed6428a511a7ec3aa4277f6b568587e4a35cabcddb93932712e5e2c68307c
BLAKE2b-256 checksum
How to use checksums
119e4b473750335e6a377a19ae4af233fffe87b71f387f0e93d5d0442addd1dd
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.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL teptris-0.2.3-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 117.6 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
d93120e4db6154b77425f01c16f5472aac8a9207dc29f4d0dd43210a674b7d2e
BLAKE2b-256 checksum
How to use checksums
ab458c8c837b1cfe46e4f604855db41177db67d02db374423e9b7d0d82b4d09c
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.3-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL teptris-0.2.3-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
b4531e0a5ead62b39f47ce352f9258c9732365bbfa7ba54d2bd1aa661906cce1
BLAKE2b-256 checksum
How to use checksums
b3fdfcd29f8aa0605a6e69b55c086739ec2edca9e0f5ba388fa0608df2e85bc1
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.3-cp311-cp311-macosx_11_0_x86_64.whl

Download URL teptris-0.2.3-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
455da66830d3b5de7f0ebda813797351492d1dab0cf2a512225e06037669df19
BLAKE2b-256 checksum
How to use checksums
1882322862180a90c974827ae9bdf32a56268262d325dc79059a90d3e354c3ee
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.3-cp311-cp311-macosx_11_0_arm64.whl

Download URL teptris-0.2.3-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
ac79c22860a0e282c25d82d870fe679855d90e5d522fb2d14c0b010bd4c73e62
BLAKE2b-256 checksum
How to use checksums
d1fa51a7474b998bb3196d90dd598e9e7c634d871679271f75a71e9060eaa3d2
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.3-cp310-cp310-win_amd64.whl

Download URL teptris-0.2.3-cp310-cp310-win_amd64.whl
Size 57.0 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
c0890823d0ed26d14f39fc53edc0b4ddeb4c19e55849978fb966699269f1480f
BLAKE2b-256 checksum
How to use checksums
236705c81284bb6cf101f55a9865450b0fabcfdf7c9db87db38e6f906060af92
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.3-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL teptris-0.2.3-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
10c3ee72d6709b4c08e9722e6c435cb771f645cd38f0da63fa4de3014b0137f1
BLAKE2b-256 checksum
How to use checksums
36f875e83150400779b3e772ee2ac95658c1e2b6385bf917bbdc5be02d467e08
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.3-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL teptris-0.2.3-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
5dbf4fa83a283a6d02da7c3ca0b09610a3c83d4ee52fca9a4c1b5b26c7060d2a
BLAKE2b-256 checksum
How to use checksums
f0f80086a0349ba1f83b47a2f05a51b2b526f3f0870e46e4bfef5181d92f2cc3
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.3-cp310-cp310-macosx_11_0_x86_64.whl

Download URL teptris-0.2.3-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
d43ca81d66fe90a919b6f36d28cc06fcbd870afc68430fad68ce47820b81df4a
BLAKE2b-256 checksum
How to use checksums
1f529f56e2b63a1d34fd077e010421b1ebbb2cd4dc528ec117b9e0cb95e8fe39
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.3-cp310-cp310-macosx_11_0_arm64.whl

Download URL teptris-0.2.3-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
16ca9282157056b33db9cff221db2b781f45d855752068277599c7d7b26657b8
BLAKE2b-256 checksum
How to use checksums
812362b0bbbf184be37d3bb546cc64f9d4cf1824b4563081ad3bd1979a01aa85
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.10.5

Release history Release notifications | RSS feed

0.2.16

9 release files

0.2.15

9 release files

0.2.14

8 release files

0.2.13

8 release files

0.2.12

8 release files

0.2.11

8 release files

0.2.9

43 release files

0.2.8

43 release files

0.2.7

43 release files

0.2.6

43 release files

0.2.5

20 release files

0.2.4

20 release files

This release

0.2.3 This release

20 release files

0.2.2

20 release files

0.2.1

20 release files

0.2.0

12 release files

0.1.1

4 release files

0.1.0

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page