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.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.7.0
File Size Uploaded
tombi_lib-1.7.0.tar.gz 503.8 kB Details

Built distributions (wheels)

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

Download URL tombi_lib-1.7.0.tar.gz
Size 503.8 kB
Tags Source
SHA-256 checksum
How to use checksums
8f6b74522a56eb07fe0442e6dee3d813ded62454aed1338d535c81214e173e45
BLAKE2b-256 checksum
How to use checksums
3e2ae8a914825a48411771e86c2576a2bc93fe1d859d26fb5acad3c605bfab9e
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 1, 2026.

Transparency log

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

Download URL tombi_lib-1.7.0-cp312-abi3-win_amd64.whl
Size 5.3 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
1da048ecf46e036c3508dd60e80075fe79ebecfc3806a03b6da83c557bd7b3f2
BLAKE2b-256 checksum
How to use checksums
05b9ac1b033fd50a6b395a00cc2dc837bb694a3c9e0d86621dce91a12b74b5d7
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 1, 2026.

Transparency log

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

Download URL tombi_lib-1.7.0-cp312-abi3-win32.whl
Size 4.5 MB
Tags CPython 3.12 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
f6153e038b0c9419998a41e4932206010ddb1ea40a731911e6fb00e86a57a17a
BLAKE2b-256 checksum
How to use checksums
f84da8b5fbce5b8fcfe12175edb7da0fb22cb5925ce4dd58db58dc0b08335878
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 1, 2026.

Transparency log

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

Download URL tombi_lib-1.7.0-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
e88b72ba202158bc8c8b7f18df3da6714d39190d72e64184c9a28e3690f22bc5
BLAKE2b-256 checksum
How to use checksums
a77f418deed12935f1ae4f632ed384b8483bdd3c4f5ec43e6c3a4396e8b24636
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 1, 2026.

Transparency log

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

Download URL tombi_lib-1.7.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
c7fae870c802a2c2b33ef1ef090a6515e8af558405c3209b49efec0207260351
BLAKE2b-256 checksum
How to use checksums
328b5568be7887ca4fbd8031e379e377092cd3a62004906b066f5ed174f5bf50
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 1, 2026.

Transparency log

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

Download URL tombi_lib-1.7.0-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
80bc3043b6fca9be317c8256f831c3bd124bfc43c119ec488ca82fb4d19088af
BLAKE2b-256 checksum
How to use checksums
aac63cdc57ccdf1237a3625403547134e66531eeb2d7f8492e57e48c3cacb1b6
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 1, 2026.

Transparency log

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

Download URL tombi_lib-1.7.0-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
cd1766ae3e916f769c6dae2ce90c2ec8e9d5dcc40fabac30faf764b029203e95
BLAKE2b-256 checksum
How to use checksums
6aeabb697c41c97a4624df50086556977d4b1a31a42849bc40737a876dc8c867
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 1, 2026.

Transparency log

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

Download URL tombi_lib-1.7.0-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
0cd462a7af418576e5d16d457d4e061288d78905990e270d2210fcd1941814df
BLAKE2b-256 checksum
How to use checksums
48dc920797c8eedad765abcec8fa22a22303aca0a24b7611b1780dcd71a681d1
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 1, 2026.

Transparency log

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

Download URL tombi_lib-1.7.0-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
01325634ae0ca2b0c6059516c3dc090ab78b217779e07a58f1aae2d95695afb3
BLAKE2b-256 checksum
How to use checksums
bcb2fd507ab76aa7831b41f7f275c6be60b6a69e9cafd46253704b6b42714812
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 1, 2026.

Transparency log

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

Download URL tombi_lib-1.7.0-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
8b62a64a09ef43d09a4fc7d214add0a7ca8051f674cd3472988ac75fc62031ca
BLAKE2b-256 checksum
How to use checksums
573829f9e5b4333b69ee5280a550898fbf707447fa0fb1fdc2401595f57ad137
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 1, 2026.

Transparency log

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

Download URL tombi_lib-1.7.0-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
beb274f6bd3726f186dd2e0dc670c2eb519f9c0ff5ffaec08d30faed18d7d1ab
BLAKE2b-256 checksum
How to use checksums
8021d32be625cfdb35205108f8bf5480da3fce459fdd61ec16f9e308289623b5
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 1, 2026.

Transparency log

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

Download URL tombi_lib-1.7.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
ba29d449fca52dcd7b55dcec6af36e6ecdc2813dab6c9850efe4369e96dd5367
BLAKE2b-256 checksum
How to use checksums
19ec73c6cfbc305fe99019b04f4530f3fd7cf23ea32644bd32c18688ac64c358
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 1, 2026.

Transparency log

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

Download URL tombi_lib-1.7.0-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
dc616c741b0497b57f98998b73c39941c50dfa5f1b05f6280759dd45f41bc003
BLAKE2b-256 checksum
How to use checksums
66d03c2a45092a357cc38eac9a5e4fb59e2815b0718b1c80d34a2b8819a95f6b
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 1, 2026.

Transparency log

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

Download URL tombi_lib-1.7.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
8c81910049fa73953fc7b53262b1837df06712935e8bcb5f96a125af4b3dbfba
BLAKE2b-256 checksum
How to use checksums
230a24d1499dce1450198a1b5e4f9ec81d63cf8ec676ae65a6f52a4c5421ca4d
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 1, 2026.

Transparency log

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

Download URL tombi_lib-1.7.0-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
16668e9496a26cdcc332c856b8603540c5883534b158e988bfb829c87e51af4e
BLAKE2b-256 checksum
How to use checksums
449829fb695c4b26b42fe63ae1ab4a972a1f0c076b3d1e2c2e389a7b3a59bedf
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 1, 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.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