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

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.5
File
teptris-0.2.5-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
teptris-0.2.5-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.5-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.17+ ARM64 Details
teptris-0.2.5-cp313-cp313-macosx_11_0_x86_64.whl CPython 3.13 CPython 3.13 macOS 11.0+ x86-64 Details
teptris-0.2.5-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
teptris-0.2.5-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
teptris-0.2.5-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.5-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.17+ ARM64 Details
teptris-0.2.5-cp312-cp312-macosx_11_0_x86_64.whl CPython 3.12 CPython 3.12 macOS 11.0+ x86-64 Details
teptris-0.2.5-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
teptris-0.2.5-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
teptris-0.2.5-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.5-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.17+ ARM64 Details
teptris-0.2.5-cp311-cp311-macosx_11_0_x86_64.whl CPython 3.11 CPython 3.11 macOS 11.0+ x86-64 Details
teptris-0.2.5-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
teptris-0.2.5-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
teptris-0.2.5-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.5-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.17+ ARM64 Details
teptris-0.2.5-cp310-cp310-macosx_11_0_x86_64.whl CPython 3.10 CPython 3.10 macOS 11.0+ x86-64 Details
teptris-0.2.5-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.5-cp313-cp313-win_amd64.whl

Download URL teptris-0.2.5-cp313-cp313-win_amd64.whl
Size 57.6 kB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
234e8fd8cb8aacb14788dab627fc074c8c771654c1cbd3d6ddca8d2e70640331
BLAKE2b-256 checksum
How to use checksums
dcfb06c72ec6bf60540ce767cb7c87ca65b7ae5860ad2f6c47941105d79dd339
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.5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL teptris-0.2.5-cp313-cp313-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 119.0 kB
Tags CPython 3.13 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
a3aef7185ab6cd0bdc3fc051b849b5f07a7b1161000a8355ce366081ed5c7443
BLAKE2b-256 checksum
How to use checksums
800888ec44326047789a174d5b90cce445b5d9d21e05cf1a1f2b0cd8e4c8886a
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.5-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL teptris-0.2.5-cp313-cp313-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 122.9 kB
Tags CPython 3.13 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
17db20f9258911b47a4d1d2209941aec7e805052be36d6f2b200234d29d495fd
BLAKE2b-256 checksum
How to use checksums
5eb1e04ddc4c08fb55129535b6b85942672332f15c4f46597d62c7fc37f1a15d
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.5-cp313-cp313-macosx_11_0_x86_64.whl

Download URL teptris-0.2.5-cp313-cp313-macosx_11_0_x86_64.whl
Size 60.7 kB
Tags CPython 3.13 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
f6901d45402f3b0dc06f793a084858a89997267c3f153ba2769ce128bb4c01f5
BLAKE2b-256 checksum
How to use checksums
65d3cf86fe87fc48cccd88b3bdc21c394f624389a4948cc3e843f54d529b7835
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.5-cp313-cp313-macosx_11_0_arm64.whl

Download URL teptris-0.2.5-cp313-cp313-macosx_11_0_arm64.whl
Size 60.1 kB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0f1dd9a09380abb2728ef7c844a70d1c3cf04f5c1164aba1c390ca5bf8f9bbec
BLAKE2b-256 checksum
How to use checksums
2ba32f925f777d873cfa9c690097f629f9dc688956ff2185abc27db329a7d38e
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.5-cp312-cp312-win_amd64.whl

Download URL teptris-0.2.5-cp312-cp312-win_amd64.whl
Size 57.6 kB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
362fe60f85be5343e489b6b5a7ffe97573a1e2be3046886fd18784ae83efb176
BLAKE2b-256 checksum
How to use checksums
f1e7a7b548202442e5024337d7d48a169425ec65fa772e8e1da347e2aeac04a9
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.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL teptris-0.2.5-cp312-cp312-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 118.9 kB
Tags CPython 3.12 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
30d6163da8ade57c04373f4e97bfab48c57666396e8bf0d5549fca4590a33c29
BLAKE2b-256 checksum
How to use checksums
db58ef7df3d152752fda215a64c0a36caa27354c3ca0db9c35e266c64ff382b8
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.5-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL teptris-0.2.5-cp312-cp312-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 122.8 kB
Tags CPython 3.12 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
3c48e7b9011dbad7f2472e9bbd027fe9118344b812d5b6a704f415b7aced09e7
BLAKE2b-256 checksum
How to use checksums
1f03ade7c0c972753423b1b0b8552287534ac91a685c061ad84785271b3fac31
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.5-cp312-cp312-macosx_11_0_x86_64.whl

Download URL teptris-0.2.5-cp312-cp312-macosx_11_0_x86_64.whl
Size 60.7 kB
Tags CPython 3.12 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
9bcfc8d70f32b82b00727303dced745d8166979e59c3cbb190103d7e196513b2
BLAKE2b-256 checksum
How to use checksums
39e3a41fcb15c06e0ba406b0990c98487e1091422ff0c4276df161f2134c8e79
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.5-cp312-cp312-macosx_11_0_arm64.whl

Download URL teptris-0.2.5-cp312-cp312-macosx_11_0_arm64.whl
Size 60.1 kB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
4af3e4b38004592f59105991b1df53d526906c4499003cba13e325cc25ca4c53
BLAKE2b-256 checksum
How to use checksums
a5b0282cab97db8bb176dd7c38ce02e5e92bf2f7b0917f567323b05ddf5d2c24
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.5-cp311-cp311-win_amd64.whl

Download URL teptris-0.2.5-cp311-cp311-win_amd64.whl
Size 57.5 kB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
6e51ce4718ea6af6c0c8849becccb6e25ada948aa6de6d1bd77bfe74a2c2dcba
BLAKE2b-256 checksum
How to use checksums
a37ec6f374f7cd35c46876fbddc93ee6a0a76e896a2108fbea4b3235ae289f94
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.5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL teptris-0.2.5-cp311-cp311-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 118.3 kB
Tags CPython 3.11 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
84a62c1e3721c19642dd475ceb2dd6553ded79fbe8ae30a1cd35592d28f47e31
BLAKE2b-256 checksum
How to use checksums
c0b56da9f55f0aacdc4ac58b9271f6e412f960e855737cf381038155501c7301
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.5-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL teptris-0.2.5-cp311-cp311-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 122.3 kB
Tags CPython 3.11 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
49cb68e4921f3fe2e87598b6cdec28bb2a00897851197f2c0521482c91482c01
BLAKE2b-256 checksum
How to use checksums
e53568284d86776f64f8696079064422fed5918b64198e0c745c5c27855680d2
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.5-cp311-cp311-macosx_11_0_x86_64.whl

Download URL teptris-0.2.5-cp311-cp311-macosx_11_0_x86_64.whl
Size 60.6 kB
Tags CPython 3.11 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
15ea12f79c4dbe978376e9344c9bef9d54412719b5cae02944ac635ff0a6fe08
BLAKE2b-256 checksum
How to use checksums
9d28742e6d8a5cbaa6961441e64e2f82c764d92f1317af7368c24899af70fd7e
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.5-cp311-cp311-macosx_11_0_arm64.whl

Download URL teptris-0.2.5-cp311-cp311-macosx_11_0_arm64.whl
Size 60.0 kB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
20cf843ccebdbf35f2c57cec69089c30a990887bfcee046a88ab1bdbaf67af95
BLAKE2b-256 checksum
How to use checksums
4b01338cb20d817a7fae1db45e9bd8d7b55843577257cf99789d92d3f4a0cfb6
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.5-cp310-cp310-win_amd64.whl

Download URL teptris-0.2.5-cp310-cp310-win_amd64.whl
Size 57.5 kB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
a43bb10e185327fbf8c79cafedf8db45c8c5f26d88e416db3fd8cb67ea064135
BLAKE2b-256 checksum
How to use checksums
5b1f108915bf4e52b9bb585ce439dff0f0c75ac3a811643443ed506010a7fa0e
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.5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl

Download URL teptris-0.2.5-cp310-cp310-manylinux2014_x86_64.manylinux_2_17_x86_64.whl
Size 117.7 kB
Tags CPython 3.10 Linux glibc 2.17+ x86-64
SHA-256 checksum
How to use checksums
7e90cad6a277e3352cf4801b24647f6924c2ee916a4defd27688538c39cf653e
BLAKE2b-256 checksum
How to use checksums
0679bcfc95ba84a12137d56c069dbe8822f7f3ee05509d1fae5bfa0d08f64f7e
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.5-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl

Download URL teptris-0.2.5-cp310-cp310-manylinux2014_aarch64.manylinux_2_17_aarch64.whl
Size 121.5 kB
Tags CPython 3.10 Linux glibc 2.17+ ARM64
SHA-256 checksum
How to use checksums
18ce61056e3ff03fc8332b2f79d375a5393396d93da37bd699376f4edc0c0085
BLAKE2b-256 checksum
How to use checksums
e80e4ca7dd78dc219e48f73660bd07bdf7d76abfe199024028bec6eed92772c1
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.5-cp310-cp310-macosx_11_0_x86_64.whl

Download URL teptris-0.2.5-cp310-cp310-macosx_11_0_x86_64.whl
Size 55.1 kB
Tags CPython 3.10 macOS 11.0+ x86-64
SHA-256 checksum
How to use checksums
2510d280130774520266b7d1d8048b778e49539760e15e66865e8d2c3dfab64e
BLAKE2b-256 checksum
How to use checksums
b051d951187093d5ae6d7ca1178f1dae9010ae053021efcd23928222dd8d859d
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.5-cp310-cp310-macosx_11_0_arm64.whl

Download URL teptris-0.2.5-cp310-cp310-macosx_11_0_arm64.whl
Size 60.0 kB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
f9aec3d474bf9cd7e594e7e3d96f5a32d9f507e60ce052e467a17b16b8390a1c
BLAKE2b-256 checksum
How to use checksums
e08e489276e67cf8870397090eb86022098b8a3ba3ef90d79c2973e808e30bcf
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

This release

0.2.5 This release

20 release files

0.2.4

20 release files

0.2.3

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