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

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.2
File Size Uploaded
tombi_lib-1.8.2.tar.gz 521.4 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for tombi-lib 1.8.2
File
tombi_lib-1.8.2-cp312-abi3-win_amd64.whl CPython 3.12 abi3 Windows x86-64 Details
tombi_lib-1.8.2-cp312-abi3-win32.whl CPython 3.12 abi3 Windows x86-32 Details
tombi_lib-1.8.2-cp312-abi3-musllinux_1_2_x86_64.whl CPython 3.12 abi3 Linux musl 1.2+ x86-64 Details
tombi_lib-1.8.2-cp312-abi3-musllinux_1_2_i686.whl CPython 3.12 abi3 Linux musl 1.2+ x86-32 Details
tombi_lib-1.8.2-cp312-abi3-musllinux_1_2_armv7l.whl CPython 3.12 abi3 Linux musl 1.2+ ARMv7l Details
tombi_lib-1.8.2-cp312-abi3-musllinux_1_2_aarch64.whl CPython 3.12 abi3 Linux musl 1.2+ ARM64 Details
tombi_lib-1.8.2-cp312-abi3-manylinux_2_28_aarch64.whl CPython 3.12 abi3 Linux glibc 2.28+ ARM64 Details
tombi_lib-1.8.2-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.2-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.2-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.2-cp312-abi3-manylinux_2_17_i686.manylinux2014_i686.whl CPython 3.12 abi3 Linux glibc 2.17+ x86-32 Details
tombi_lib-1.8.2-cp312-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl CPython 3.12 abi3 Linux glibc 2.17+ ARMv7l Details
tombi_lib-1.8.2-cp312-abi3-macosx_11_0_arm64.whl CPython 3.12 abi3 macOS 11.0+ ARM64 Details
tombi_lib-1.8.2-cp312-abi3-macosx_10_12_x86_64.whl CPython 3.12 abi3 macOS 10.12+ x86-64 Details

Total release size: 68.7 MB

Release files / tombi_lib-1.8.2.tar.gz

Download URL tombi_lib-1.8.2.tar.gz
Size 521.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f09038c7ce67a15e14d43456ae4c957c19d704b9a60577fdc581916dd3720bee
BLAKE2b-256 checksum
How to use checksums
cdb94a7777ab1e4be6f333598bde894d6103b6cbd961caffcb66c2822a44c1bb
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 12, 2026.

Transparency log

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

Download URL tombi_lib-1.8.2-cp312-abi3-win_amd64.whl
Size 5.3 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
708f97dd42d902114c242ce6eab8a38a3b3f03a38ccada8d21057d531d736ce7
BLAKE2b-256 checksum
How to use checksums
7df28a549c025c1ba1eb5bc464487c7f633cdcaec027de9a63c351739bcbca6c
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 12, 2026.

Transparency log

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

Download URL tombi_lib-1.8.2-cp312-abi3-win32.whl
Size 4.6 MB
Tags CPython 3.12 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
011baa3a8892d8793dab1ebabc6618a644fe7b3c94918826c72dc9d8f03e13ed
BLAKE2b-256 checksum
How to use checksums
8ee5a58e059e9b7b057813c67807943069ec8130c19796b83d827ba04798d511
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 12, 2026.

Transparency log

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

Download URL tombi_lib-1.8.2-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
6fa354554f6b8c5a60aa3a8f1a1e8cffaa4b87355e43a320324848c1c29d2edb
BLAKE2b-256 checksum
How to use checksums
e25f38177a75f495323791ecb6eb2de287dd06b90a40a5ba62d95bacfdad2ee8
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 12, 2026.

Transparency log

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

Download URL tombi_lib-1.8.2-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
a4c5752233247a8857cbb9e5d264d5d68de0aff9986f83ac4028d1d42ff1c36a
BLAKE2b-256 checksum
How to use checksums
8fb5e8a2623f4388484bd71bd1374dba2de95babeea91984143706703ac02b58
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 12, 2026.

Transparency log

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

Download URL tombi_lib-1.8.2-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
01cbda6451c7bbfd1a0dd1a5cc2baa7824c34c195d4b229f8a0a13b6ebbb9c1a
BLAKE2b-256 checksum
How to use checksums
e2aaeabfe137edda12f4f89faec3313549ca546124ddae84c2d9fa12504065b2
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 12, 2026.

Transparency log

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

Download URL tombi_lib-1.8.2-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
e6c52ff0ce122c50375c223dc31c7f69f5e3f8d39254e8d42e9489d41a29b091
BLAKE2b-256 checksum
How to use checksums
71f75a0796f10c198050dec6b1cbc6047ff761bccd0bb1e560406a7db20faab6
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 12, 2026.

Transparency log

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

Download URL tombi_lib-1.8.2-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
aac62f59c6128a2ea9dd23bc1f3723d98def159e4711cf9da1ac2628105dfd03
BLAKE2b-256 checksum
How to use checksums
505a7be19d98d3cd6056c747909c6e767b4e43b81d9ff1984a432a88859810dc
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 12, 2026.

Transparency log

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

Download URL tombi_lib-1.8.2-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
05a853ff7e563327eb5aef9720653e28911db84cd68053c306a45340275e09f5
BLAKE2b-256 checksum
How to use checksums
510321d200d4ba81512a60757618f20b753633e3914c94a3e1e5acd09a4d1631
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 12, 2026.

Transparency log

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

Download URL tombi_lib-1.8.2-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
eb7f94fe2bd609695f2bbc62d970ab94121016b95ecd74a5d01d46e2c1766779
BLAKE2b-256 checksum
How to use checksums
c9a6100a70ff15c2757b72d2865b0200d648775d8d72cba7b23bacef6ebbf2ac
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 12, 2026.

Transparency log

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

Download URL tombi_lib-1.8.2-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
cc9e2f725f603cf448c3c4d1e04609ffe518184201c1d2054d6f377fa5a5cfc6
BLAKE2b-256 checksum
How to use checksums
fac1f822c1c38eb69b62a6b8c392383cf670d477f7397eb76ac1863e28aa04b6
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 12, 2026.

Transparency log

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

Download URL tombi_lib-1.8.2-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
4022b64a508a0376286273e74dd63c1cccc8639e8f7bb2fe2dff8b482406c4ae
BLAKE2b-256 checksum
How to use checksums
b13d4b9e5d0fb67391f9e28fa8f2cb9023eaa436053757c658f23fceb3b42b13
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 12, 2026.

Transparency log

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

Download URL tombi_lib-1.8.2-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
40030eda3e76a47118be420150984333d3ffac207a4303fd970d2939c76fbd96
BLAKE2b-256 checksum
How to use checksums
70df62199917d4d783704a4f544d908849cab1949abd1c7bd1a46337f9c95283
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 12, 2026.

Transparency log

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

Download URL tombi_lib-1.8.2-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
53f38b9b702e4cb0bda226528092ed4b8146d0aac2d2b179a878ff5ed4751642
BLAKE2b-256 checksum
How to use checksums
6e4223559845f4bf14aaef196e61e17a256f2ddfac650e12a41d7ef5869716ab
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 12, 2026.

Transparency log

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

Download URL tombi_lib-1.8.2-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
a196b673f87f66a4332ad1a286654cb8fbe01009715f6881e866bc42da9d97d4
BLAKE2b-256 checksum
How to use checksums
e496851ae72c288fb83fb1ba9dd9a9a698c491aa7638c9aac99a3dac82033f88
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 12, 2026.

Transparency log

Release history Release notifications | RSS feed

1.8.4

15 release files

1.8.3

15 release files

This release

1.8.2 This release

15 release files

1.8.1

15 release files

1.8.0

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