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

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.3
File Size Uploaded
tombi_lib-1.7.3.tar.gz 511.4 kB Details

Built distributions (wheels)

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

Download URL tombi_lib-1.7.3.tar.gz
Size 511.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f28c76375371ab15086c5a368d44e711bc7d0af1af96acd7b040a3c47f6a0430
BLAKE2b-256 checksum
How to use checksums
26f5fef73fe50ec218260d5844d4f0a1fb63e1c527d4459159acebd270f3e4f4
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 6, 2026.

Transparency log

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

Download URL tombi_lib-1.7.3-cp312-abi3-win_amd64.whl
Size 5.3 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
64942ce6cd2dd08f87bf4fd3990d7e9aa5c0f8d7820d6edafd9c0f25b1884967
BLAKE2b-256 checksum
How to use checksums
3ccdbcf1ab7b1723302199c915cb198883d396f0066fb309176d3e322926681b
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 6, 2026.

Transparency log

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

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

Transparency log

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

Download URL tombi_lib-1.7.3-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
da38d8267961f3f21dd0bbf29aaa9a15a48145ec75f5cf941db2bb310389cb77
BLAKE2b-256 checksum
How to use checksums
2ebfcb5e40c8bbf8de72551673904d138ccea194b283df69a593837d49b879dd
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 6, 2026.

Transparency log

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

Download URL tombi_lib-1.7.3-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
837607e8ae36933699d6958c292f421fffe78e402f11bb04dd68c02e38e28d67
BLAKE2b-256 checksum
How to use checksums
5efccd8438e200e297b2034e787f57b3b79a5f173dd1b57795b2afba5ae0e455
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 6, 2026.

Transparency log

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

Download URL tombi_lib-1.7.3-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
0728e7135511269d80ac07c4d0ae2d679ce15fb4c6fdac6daf347723604c31b3
BLAKE2b-256 checksum
How to use checksums
346d3ba923cb01104431a26003bf40b7a46274860ea4349d88801a08deb7d1dc
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 6, 2026.

Transparency log

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

Download URL tombi_lib-1.7.3-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
a114252e33935dc9d35a936ae3687557947b8c3e7a47d55b45fc6dfd89891e5b
BLAKE2b-256 checksum
How to use checksums
c83881d3ff71a93942d09a208c1ed128ddce1859a9af4b4ad6f8c41388bb7016
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 6, 2026.

Transparency log

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

Download URL tombi_lib-1.7.3-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
727ea616f275f933f2259910f1a502e69e1a80f43ca5a9884a06b63525ea92c6
BLAKE2b-256 checksum
How to use checksums
3d716a9492e6c48a03877e6d3d9c95fdd523e346e3379a85e40537fb0e180cb8
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 6, 2026.

Transparency log

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

Download URL tombi_lib-1.7.3-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
a4fa10332b560096b3ba5251feebd0ab9b3ccbc297bb594f240e18249145aec9
BLAKE2b-256 checksum
How to use checksums
516eb68cf37ca26ea79696a75d0305a4ab5fd2183d1ab0847ef081aad90e1f4f
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 6, 2026.

Transparency log

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

Download URL tombi_lib-1.7.3-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
bfd8f87e5c696e57caf15c0c2cd1aa9141c34763bc412ff6cc83d42adc9ef0dd
BLAKE2b-256 checksum
How to use checksums
ac869a224e19de4b9fc9162ac77e42041ea7be1f1070b31145e765b6cd8a88b8
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 6, 2026.

Transparency log

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

Download URL tombi_lib-1.7.3-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
f147ade18c09ba8c6ae6c1594eb69913a718e9a49da23e3e592e45dc343f53d2
BLAKE2b-256 checksum
How to use checksums
591e43795b2b87272e493c7535bd541f93a6345f6d58b1ab57aec8cfbd4c7d58
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 6, 2026.

Transparency log

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

Download URL tombi_lib-1.7.3-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
accf627c365b380179a87b9bfda9762cc96d1671e0cdad79b83badf7a8c90be9
BLAKE2b-256 checksum
How to use checksums
6d06a5bb62b0ab74088d8f52df9655dcddfa9cff3c6a50b0a9246707fd0ca44f
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 6, 2026.

Transparency log

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

Download URL tombi_lib-1.7.3-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
89d42d6903decb22517cdd6c7288e6a11e71c3da9077790ee7f21c5a93782ea0
BLAKE2b-256 checksum
How to use checksums
28320e3e507f4b98de9662f181b31d62eace9bf8728004ccb8bda7cdc5940793
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 6, 2026.

Transparency log

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

Download URL tombi_lib-1.7.3-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
a24ea24382c77b71714de40acfaaeec6c15f2cd2752ab5794216c77eda473699
BLAKE2b-256 checksum
How to use checksums
56ed426d027a194f0e74edd8aec5001e502492df8cc4d18d1a24af9a43387b8c
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 6, 2026.

Transparency log

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

Download URL tombi_lib-1.7.3-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
c45f344d7851c954588883271f46efaa44c57dc2714a38d34ee29d890ec49a9a
BLAKE2b-256 checksum
How to use checksums
ac1c3e5fcc59737acbae7bd1c1c606eb463dbef4718692c4db31adb7198bc459
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 6, 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.3 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