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

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.8.0
File Size Uploaded
tombi_lib-1.8.0.tar.gz 520.7 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for tombi-lib 1.8.0
File
tombi_lib-1.8.0-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details
tombi_lib-1.8.0-cp312-abi3-win32.whl CPython 3.12 abi3 Windows x86-32 Details
tombi_lib-1.8.0-cp312-abi3-musllinux_1_2_x86_64.whl CPython 3.12 abi3 Linux musl 1.2+ x86-64 Details
tombi_lib-1.8.0-cp312-abi3-musllinux_1_2_i686.whl CPython 3.12 abi3 Linux musl 1.2+ x86-32 Details
tombi_lib-1.8.0-cp312-abi3-musllinux_1_2_armv7l.whl CPython 3.12 abi3 Linux musl 1.2+ ARMv7l Details
tombi_lib-1.8.0-cp312-abi3-musllinux_1_2_aarch64.whl CPython 3.12 abi3 Linux musl 1.2+ ARM64 Details
tombi_lib-1.8.0-cp312-abi3-manylinux_2_28_aarch64.whl CPython 3.12 abi3 Linux glibc 2.28+ ARM64 Details
tombi_lib-1.8.0-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.8.0-cp312-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl CPython 3.12 abi3 Linux glibc 2.17+ IBM System/390x Details
tombi_lib-1.8.0-cp312-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl CPython 3.12 abi3 Linux glibc 2.17+ PowerPC 64-le Details
tombi_lib-1.8.0-cp312-abi3-manylinux_2_17_i686.manylinux2014_i686.whl CPython 3.12 abi3 Linux glibc 2.17+ x86-32 Details
tombi_lib-1.8.0-cp312-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl CPython 3.12 abi3 Linux glibc 2.17+ ARMv7l Details
tombi_lib-1.8.0-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details
tombi_lib-1.8.0-cp312-abi3-macosx_10_12_x86_64.whl CPython 3.12 abi3 macOS 10.12+ x86-64 Details

Total release size: 69.0 MB

Release files / tombi_lib-1.8.0.tar.gz

Download URL tombi_lib-1.8.0.tar.gz
Size 520.7 kB
Tags Source
SHA-256 checksum
How to use checksums
b0c41c24b4057db829c05b6e78ae21667c028637fd015624779b65d13af67d22
BLAKE2b-256 checksum
How to use checksums
3902e606dfcf6e5b61e615657796befc6727b85d59b857960e202dd9cc37cd5e
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 10, 2026.

Transparency log

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

Download URL tombi_lib-1.8.0-cp312-abi3-win_amd64.whl
Size 5.4 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
e0b1172c9fbc2f6051e2849e0518d036e2e6b2fe5a0fe911d252568c49abfcaa
BLAKE2b-256 checksum
How to use checksums
05b25f4f30d3df6d83e9e129981d31724b514fbeab857f483670d62f64858785
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 10, 2026.

Transparency log

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

Download URL tombi_lib-1.8.0-cp312-abi3-win32.whl
Size 4.6 MB
Tags CPython 3.12 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
72ccc4fe6e8c89b599a6867fece479a016044aeea5d2c5f2595fc0b55ad2d774
BLAKE2b-256 checksum
How to use checksums
d7013f8a8d1f0585265319301cced91182650af4ecec9d619e20b097ce4cb669
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 10, 2026.

Transparency log

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

Download URL tombi_lib-1.8.0-cp312-abi3-musllinux_1_2_x86_64.whl
Size 5.2 MB
Tags CPython 3.12 Linux musl 1.2+ x86-64 abi3
SHA-256 checksum
How to use checksums
9780dea97821cf0f7f5a733ba7cdc57870a03a793807da30c455b68884b1129f
BLAKE2b-256 checksum
How to use checksums
a7d1b1dcc2a9200499b6e7020a5587bb2a1eebfb4893982f03033b277884b500
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 10, 2026.

Transparency log

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

Download URL tombi_lib-1.8.0-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
8cb1323edb4b62021fe958d2506a4f8981dc0c5cec47ac1b2271444746598d40
BLAKE2b-256 checksum
How to use checksums
a36649022a501fe20ed251fee298bb3958ebfd8ea30fec7f6f36465c51282889
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 10, 2026.

Transparency log

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

Download URL tombi_lib-1.8.0-cp312-abi3-musllinux_1_2_armv7l.whl
Size 4.9 MB
Tags CPython 3.12 Linux musl 1.2+ ARMv7l abi3
SHA-256 checksum
How to use checksums
47e0df5cda0b207457d3fbf0d403e08205eb74ec41f32baffc8932b85414ab92
BLAKE2b-256 checksum
How to use checksums
0f4bb3676220628ba9dbbaff0a2173e4b9d7d14ce105cc0b7336fb25fc09d76a
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 10, 2026.

Transparency log

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

Download URL tombi_lib-1.8.0-cp312-abi3-musllinux_1_2_aarch64.whl
Size 4.9 MB
Tags CPython 3.12 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
92f660ae0bbb8393b44a3500b9e3e15a30c60b6da20cf219f4ee64108b2e2ce8
BLAKE2b-256 checksum
How to use checksums
9178b441ca8f229a9a292d17f9032948bb53802a391dc132ab30148e9e76e984
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 10, 2026.

Transparency log

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

Download URL tombi_lib-1.8.0-cp312-abi3-manylinux_2_28_aarch64.whl
Size 4.7 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
361eb1641f9ee5b447ae3bb70cbc6403ef2b9238c5b200cebd0146b05dc37aa7
BLAKE2b-256 checksum
How to use checksums
bbd53ab7fb5cf3933f736188c6719ef6f0b1358ddbfb16b0b4a32473a55aa4c9
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 10, 2026.

Transparency log

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

Download URL tombi_lib-1.8.0-cp312-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 5.0 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
23ecd977e93d2217474a58292a4a9b5d282fecc765737f9ae734ace35d0a31c5
BLAKE2b-256 checksum
How to use checksums
b5b271d90654da7b6d2d6a10d5a557310f136bbd9e3b1b490731ee9bcb959735
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 10, 2026.

Transparency log

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

Download URL tombi_lib-1.8.0-cp312-abi3-manylinux_2_17_s390x.manylinux2014_s390x.whl
Size 4.9 MB
Tags CPython 3.12 Linux glibc 2.17+ IBM System/390x abi3
SHA-256 checksum
How to use checksums
891b657d0aaa4fdc216e78a534095a11b723c3e1ac9ade873852b19ad2e0f216
BLAKE2b-256 checksum
How to use checksums
1cb55b4e2b01e71d629ca784492f1c610d2888920b92fd55ea64e21be4a9eda2
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 10, 2026.

Transparency log

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

Download URL tombi_lib-1.8.0-cp312-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Size 5.1 MB
Tags CPython 3.12 Linux glibc 2.17+ PowerPC 64-le abi3
SHA-256 checksum
How to use checksums
aa6c2a09982b231d6cb1fbdfe2cfafc01dd5bd6ee366170e93a1222768e2570a
BLAKE2b-256 checksum
How to use checksums
0b77ecfc9901a062027f61215a371248c29b67e495cc40a0f50df46702a0cb05
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 10, 2026.

Transparency log

Release files / tombi_lib-1.8.0-cp312-abi3-manylinux_2_17_i686.manylinux2014_i686.whl

Download URL tombi_lib-1.8.0-cp312-abi3-manylinux_2_17_i686.manylinux2014_i686.whl
Size 4.9 MB
Tags CPython 3.12 Linux glibc 2.17+ x86-32 abi3
SHA-256 checksum
How to use checksums
dfcb37d30839226a86d218d39eb50e6247a5f5a8c9544441ec2c1e7a4113e2d0
BLAKE2b-256 checksum
How to use checksums
2acb8749ba655b03823a84dcbae21762b56ded19bb34696b76b4ccf8b41f8f78
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 10, 2026.

Transparency log

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

Download URL tombi_lib-1.8.0-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
71dfa3add9ad54bf6efdadae35897ffa69db026ba49d61c68cf54182b79b34c3
BLAKE2b-256 checksum
How to use checksums
04d6a791d4d3cb701fa6ae41961a3346a9290b3cbe2d8bb8dde0cb37b638c3e8
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 10, 2026.

Transparency log

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

Download URL tombi_lib-1.8.0-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
24d4935b3f046caa973eaab671c1e284e160af62e77e8d3b82e9cbb03970b5f1
BLAKE2b-256 checksum
How to use checksums
493b8b93f8b7e7002eac0062a0fd41584969b0ca5f507c6137785befa5a842ec
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 10, 2026.

Transparency log

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

Download URL tombi_lib-1.8.0-cp312-abi3-macosx_10_12_x86_64.whl
Size 4.8 MB
Tags CPython 3.12 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
dfd75828a6b63d7901fb76b2d67881027c4bd4a329ce98982a361948c9b3d363
BLAKE2b-256 checksum
How to use checksums
3d6ba494cf59618cc1bba520b706539bedd909cb82f06e198a5b63cfb5ee3906
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 10, 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

This release

1.8.0 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