Skip to main content

tombi-lib

Tombi formatter and linter library API for Python.

import tombi_lib

result = tombi_lib.format("key=1", "example.toml")
assert result.formatted == "key = 1\n"

result = tombi_lib.lint("key =", "example.toml")
assert result.diagnostics

options accepts a dict matching a tombi.toml configuration, e.g. {"config": "[schema]\nenabled = false\n"}. Configuration, schema resolution, and I/O failures raise tombi_lib.TombiError. Malformed options raise TypeError.

format_async/lint_async are also available for asyncio callers:

result = await tombi_lib.format_async("key=1", "example.toml")

Metadata

Release files for tombi-lib 1.7.1

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

Source distribution (sdist)

Source distribution for tombi-lib 1.7.1
File Size Uploaded
tombi_lib-1.7.1.tar.gz 503.8 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for tombi-lib 1.7.1
File
tombi_lib-1.7.1-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details
tombi_lib-1.7.1-cp312-abi3-win32.whl CPython 3.12 abi3 Windows x86-32 Details
tombi_lib-1.7.1-cp312-abi3-musllinux_1_2_x86_64.whl CPython 3.12 abi3 Linux musl 1.2+ x86-64 Details
tombi_lib-1.7.1-cp312-abi3-musllinux_1_2_i686.whl CPython 3.12 abi3 Linux musl 1.2+ x86-32 Details
tombi_lib-1.7.1-cp312-abi3-musllinux_1_2_armv7l.whl CPython 3.12 abi3 Linux musl 1.2+ ARMv7l Details
tombi_lib-1.7.1-cp312-abi3-musllinux_1_2_aarch64.whl CPython 3.12 abi3 Linux musl 1.2+ ARM64 Details
tombi_lib-1.7.1-cp312-abi3-manylinux_2_28_aarch64.whl CPython 3.12 abi3 Linux glibc 2.28+ ARM64 Details
tombi_lib-1.7.1-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.12 abi3 Linux glibc 2.17+ x86-64 Details
tombi_lib-1.7.1-cp312-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl CPython 3.12 abi3 Linux glibc 2.17+ IBM System/390x Details
tombi_lib-1.7.1-cp312-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl CPython 3.12 abi3 Linux glibc 2.17+ PowerPC 64-le Details
tombi_lib-1.7.1-cp312-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl CPython 3.12 abi3 Linux glibc 2.17+ ARMv7l Details
tombi_lib-1.7.1-cp312-abi3-manylinux_2_12_i686.manylinux2010_i686.whl CPython 3.12 abi3 Linux glibc 2.12+ x86-32 Details
tombi_lib-1.7.1-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details
tombi_lib-1.7.1-cp312-abi3-macosx_10_12_x86_64.whl CPython 3.12 abi3 macOS 10.12+ x86-64 Details

Total release size: 67.9 MB

Release files / tombi_lib-1.7.1.tar.gz

Download URL tombi_lib-1.7.1.tar.gz
Size 503.8 kB
Tags Source
SHA-256 checksum
How to use checksums
296721bfe3149fdd7330c588ebd04bbeca1737b34c4c4ee4a1b5ad989ed5c05e
BLAKE2b-256 checksum
How to use checksums
d3916ab748376b11de7c1cdaa9b5e5fd64f536986051b6d6ea4c367c9d1095b0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release files / tombi_lib-1.7.1-cp312-abi3-win_amd64.whl

Download URL tombi_lib-1.7.1-cp312-abi3-win_amd64.whl
Size 5.3 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
d0587128ed55431bd8bf823d5aeeffa63da405b95afc79d1dd9a164e82404199
BLAKE2b-256 checksum
How to use checksums
206cab102e97ce38b523df9ed91cc65f11a75bb744a2a3349c8cd58001eb65dc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release files / tombi_lib-1.7.1-cp312-abi3-win32.whl

Download URL tombi_lib-1.7.1-cp312-abi3-win32.whl
Size 4.5 MB
Tags CPython 3.12 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
f8f6d9b0d613dde92137df4de7ea199337c723e9a2a66c6100e85e10bcc64baf
BLAKE2b-256 checksum
How to use checksums
4bd4191a712df22e17c0a140f657f74b32059b5fa247eb9e6af9e71e8561c498
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release files / tombi_lib-1.7.1-cp312-abi3-musllinux_1_2_x86_64.whl

Download URL tombi_lib-1.7.1-cp312-abi3-musllinux_1_2_x86_64.whl
Size 5.1 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
7e55220e03487b24b90544ce52987791ac043bd8e9278e346b1bb1ed3b6ccc3a
BLAKE2b-256 checksum
How to use checksums
5bcca413a22347b26b41c5143aa5032c817bdcac0773ea33e136673c539de7f5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release files / tombi_lib-1.7.1-cp312-abi3-musllinux_1_2_i686.whl

Download URL tombi_lib-1.7.1-cp312-abi3-musllinux_1_2_i686.whl
Size 5.0 MB
Tags CPython 3.12 Linux musl 1.2+ x86-32 abi3
SHA-256 checksum
How to use checksums
b1ff0e4b2957f5307382a97ec566018bc39045856cf691ee96de78c5ab34517a
BLAKE2b-256 checksum
How to use checksums
e591b264ad1d43fae5d62b4d429c8cae0d52d7bbb274be4f0677cc7a39c752da
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release files / tombi_lib-1.7.1-cp312-abi3-musllinux_1_2_armv7l.whl

Download URL tombi_lib-1.7.1-cp312-abi3-musllinux_1_2_armv7l.whl
Size 4.8 MB
Tags CPython 3.12 Linux musl 1.2+ ARMv7l abi3
SHA-256 checksum
How to use checksums
29bedc7554543739069a91eb61a9e537288520c9cb60f8d8e759db7a5874b080
BLAKE2b-256 checksum
How to use checksums
7100821463da02def5d0dd5a44b63c8ae61ddb3f8edc585dd95fdfeeeb1dc11b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release files / tombi_lib-1.7.1-cp312-abi3-musllinux_1_2_aarch64.whl

Download URL tombi_lib-1.7.1-cp312-abi3-musllinux_1_2_aarch64.whl
Size 4.8 MB
Tags CPython 3.12 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
06fb560fdb30cd6fc311237714886f8f2ffd42580df361e155e385e947c1886b
BLAKE2b-256 checksum
How to use checksums
2bba6a90526997c685a6cba6b062e630af03eb15f8a114a65eeeb2f27b4fe149
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release files / tombi_lib-1.7.1-cp312-abi3-manylinux_2_28_aarch64.whl

Download URL tombi_lib-1.7.1-cp312-abi3-manylinux_2_28_aarch64.whl
Size 4.6 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
a33e3c03081dc530ff7286d32896d8a8902939796276fcea146936fbbf423ed4
BLAKE2b-256 checksum
How to use checksums
7ed332a882d769a52058f3ccbfa6c5f03780e4028c393c2f43258d971fe181bc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release files / tombi_lib-1.7.1-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL tombi_lib-1.7.1-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 4.9 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
0f6824b53f6073553c85c5ec0e20335e2185a8184f78cc71c2de185e6b195cd7
BLAKE2b-256 checksum
How to use checksums
612d0c47dd500d79b404a8462709fd2fa8744a2b6dd145cbbfe9d05bb6b39be2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release files / tombi_lib-1.7.1-cp312-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl

Download URL tombi_lib-1.7.1-cp312-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Size 4.8 MB
Tags CPython 3.12 Linux glibc 2.17+ IBM System/390x abi3
SHA-256 checksum
How to use checksums
24097795e945228aece3e1748f91a81c5428a708e246b63576f2ff19769573ef
BLAKE2b-256 checksum
How to use checksums
9f911fef4c898f7f2ec97e6412c3c93853c547d480d4da17b36c5bd4886b3973
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release files / tombi_lib-1.7.1-cp312-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl

Download URL tombi_lib-1.7.1-cp312-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Size 5.0 MB
Tags CPython 3.12 Linux glibc 2.17+ PowerPC 64-le abi3
SHA-256 checksum
How to use checksums
f1e64ada9ae8c0c8e6176a6ed0a0e40cdebac4d7d0b54b544d5f217184b74325
BLAKE2b-256 checksum
How to use checksums
29b843c38b5e57800c5bedd213cdf4053caf2f948f8346756d5ce5580f503a92
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release files / tombi_lib-1.7.1-cp312-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl

Download URL tombi_lib-1.7.1-cp312-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Size 4.6 MB
Tags CPython 3.12 Linux glibc 2.17+ ARMv7l abi3
SHA-256 checksum
How to use checksums
857a01d4450c24dbd6bf05ddb991b7b603e98348908b6537a4d2f51d2ac8ba65
BLAKE2b-256 checksum
How to use checksums
6f096b6c0098fea44cd4f40de3ece78e60a764a732eacc236a33b80a375ad51c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release files / tombi_lib-1.7.1-cp312-abi3-manylinux_2_12_i686.manylinux2010_i686.whl

Download URL tombi_lib-1.7.1-cp312-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Size 4.9 MB
Tags CPython 3.12 Linux glibc 2.12+ x86-32 abi3
SHA-256 checksum
How to use checksums
1938ee11dafc2fa5c41373e7a49f14f68d6a9309aebfc0ef1b9ebfb82b6205ec
BLAKE2b-256 checksum
How to use checksums
de51df5c37886bd7ec45f19c3c60e88a851e16ee515d4b916d949d0eeddc40ef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release files / tombi_lib-1.7.1-cp312-abi3-macosx_11_0_arm64.whl

Download URL tombi_lib-1.7.1-cp312-abi3-macosx_11_0_arm64.whl
Size 4.5 MB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
230a1f9ea4fa53d0f87b1b6575f4482e41b2716a465fbab558d9ea9362b9f8ea
BLAKE2b-256 checksum
How to use checksums
45aeb3ae4e6ce0e76dfc0c1d8f35621cf0b7f199aee1423201e1ecc7687a6c13
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release files / tombi_lib-1.7.1-cp312-abi3-macosx_10_12_x86_64.whl

Download URL tombi_lib-1.7.1-cp312-abi3-macosx_10_12_x86_64.whl
Size 4.7 MB
Tags CPython 3.12 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
480e02b114fa644d90e2fd81dbc8d3bc3ba498b1313b52708402e4e551796875
BLAKE2b-256 checksum
How to use checksums
d06bdda57902df46f44fc4781c125cb80e306a1b7e09b5deeebd30483b0fd0a4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.13

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 2, 2026.

Transparency log

Release history Release notifications | RSS feed

1.8.4

15 release files

1.8.3

15 release files

1.8.2

15 release files

1.8.1

15 release files

1.8.0

15 release files

This release

1.7.1 This release

15 release files

1.6.1

15 release files

1.6.0

15 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