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.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.8.1
File Size Uploaded
tombi_lib-1.8.1.tar.gz 521.2 kB Details

Built distributions (wheels)

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

Download URL tombi_lib-1.8.1.tar.gz
Size 521.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bf6c49c3862a53c42c9ccdea68851143f1d7cf7058dc3e96cde9bfa1cd67112e
BLAKE2b-256 checksum
How to use checksums
bda7d66ea82078ce1024a6cfaccc68c8c180d70195a85eb1be61a0e891cee588
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 11, 2026.

Transparency log

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

Download URL tombi_lib-1.8.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
6c84db36bf090c9e10680b4f7151018f0e36c825619a22ade73428cdd9e8b579
BLAKE2b-256 checksum
How to use checksums
2a47dfb36b301c0696781547d87ff21d8886eed65c6a45ed98a8001ca3f14a92
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 11, 2026.

Transparency log

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

Download URL tombi_lib-1.8.1-cp312-abi3-win32.whl
Size 4.6 MB
Tags CPython 3.12 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
e567db26f7a342f60c49c9604d5d3cadd009fd77a1ba10cac42e7063bc784e74
BLAKE2b-256 checksum
How to use checksums
6fa9c488c3ad6993089502fe422cc88a3acd821a6210775603146348cd8a4cb3
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 11, 2026.

Transparency log

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

Download URL tombi_lib-1.8.1-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
993760be0f438a39cefd0082196735934850419d039734999bff34fda48a321b
BLAKE2b-256 checksum
How to use checksums
47793fe05db90a1e08efb0e99d4c047c074581e019b1e8cc206a90481d338add
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 11, 2026.

Transparency log

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

Download URL tombi_lib-1.8.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
9c87acbb6559bdf41ab6746b01634955246e69d0b1770b1c03479d5c493f5382
BLAKE2b-256 checksum
How to use checksums
773d68ddc43aa8629f1a7d845c5eee66ca78eee2b77c6e56c02d7ce376e5c176
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 11, 2026.

Transparency log

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

Download URL tombi_lib-1.8.1-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
64953decee54fb984d54ac5e34f3c63f0ca957353757d5b12c24d4e89a737987
BLAKE2b-256 checksum
How to use checksums
92d13ba74fc59edcffa6496113a0b7fd2d7b2f1fdf71666944c44330b9c848e2
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 11, 2026.

Transparency log

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

Download URL tombi_lib-1.8.1-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
b26009011ca3514b469a26ebfd146c1881711d9ccdae4925762937f7e67a2848
BLAKE2b-256 checksum
How to use checksums
c46d943fea0a7eea9a3f1f48cdbb03277e858b46c1adeedae4456055395305b0
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 11, 2026.

Transparency log

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

Download URL tombi_lib-1.8.1-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
2f8c61345b8e4be78206c99c44e1c3771e0fcfbb7b5af35ad84b4c4c5c424a67
BLAKE2b-256 checksum
How to use checksums
b85e5f0d2a0bce8ec4d1c67f4279b7b1f0b25a61d086e1c90c0f05f9ea7bb2e4
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 11, 2026.

Transparency log

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

Download URL tombi_lib-1.8.1-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
e2a5131dcec61fe0a1e2e5ebe4c0265179d8041683a832a159732d10be40510c
BLAKE2b-256 checksum
How to use checksums
c98fbff6a98f5c07d2db1ce77ebfee7db6952786c5b1a7de9a0a480fbd432beb
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 11, 2026.

Transparency log

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

Download URL tombi_lib-1.8.1-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
ba45b9c459ae3616c322c29e723819778511dc76b67d55d9812a1f90683e0bff
BLAKE2b-256 checksum
How to use checksums
6ef6cfa9e7fe56cddc675ee76e9fd0131e6cb280a65c3c418c6ffeaa753c3d6f
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 11, 2026.

Transparency log

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

Download URL tombi_lib-1.8.1-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
48e2f12fde076ffa2a6b3019618140d99aeeacaac9cb55cd1cf8018b92509a67
BLAKE2b-256 checksum
How to use checksums
cdafefe1f776fa5eeed921ddb391517268a01ee6d0a36a1217c10b39cd49c62f
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 11, 2026.

Transparency log

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

Download URL tombi_lib-1.8.1-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
6c30dd3ceaf723065808268f2ba23abf4a30895f94006893572c02b165b49f0b
BLAKE2b-256 checksum
How to use checksums
7436813f5c6f65c3dff6924b5177530d9ccc63f47fc2466bc80fa3fa455cbe3f
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 11, 2026.

Transparency log

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

Download URL tombi_lib-1.8.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
ee9312be902a0baf31c11063fd5a463767d511d13dccb9d153cc89dac9cc240a
BLAKE2b-256 checksum
How to use checksums
12b8d3cb8bce161d597172c42bfa9906798c466ea293b2c5f6e8e167aff046e5
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 11, 2026.

Transparency log

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

Download URL tombi_lib-1.8.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
cc9e311be400ada5ea41aad9bb2a0e63ad7923ac311cc5385f17568163a20e07
BLAKE2b-256 checksum
How to use checksums
93c4c094ec3a6fccea0df970bf4efc0c6517ef3b30dd44bfd21703eecce77303
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 11, 2026.

Transparency log

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

Download URL tombi_lib-1.8.1-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
19c41b53e60d514480c86cc1f21108d68d4c480cb7c8cde6b600865795ad1b2e
BLAKE2b-256 checksum
How to use checksums
f97adcded550a38d6372ac8560077da7a00f26d621d258a895504a4a825ef3a3
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 11, 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

This release

1.8.1 This release

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