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.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.7.2
File Size Uploaded
tombi_lib-1.7.2.tar.gz 504.5 kB Details

Built distributions (wheels)

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

Download URL tombi_lib-1.7.2.tar.gz
Size 504.5 kB
Tags Source
SHA-256 checksum
How to use checksums
68462ac287706113a607efba2995c84d1bff0c18f2b89bcf4d4ddcbd98a749c2
BLAKE2b-256 checksum
How to use checksums
fc93eead7e7120342b9f00e5dc2dfe669d31ff182ed68807299be658932921bd
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 4, 2026.

Transparency log

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

Download URL tombi_lib-1.7.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
cc4dc68757e4ad4e9c990f4455897c2dcc344218badcdeebce2efb459f2b45b6
BLAKE2b-256 checksum
How to use checksums
e0220a9b22164556e3c1fd7d044f38c2a3ba3ed339f898a69da383066420fcd4
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 4, 2026.

Transparency log

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

Download URL tombi_lib-1.7.2-cp312-abi3-win32.whl
Size 4.5 MB
Tags CPython 3.12 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
03e0f386296da4ff10107e700a4ff068e794764756effa13b659e70a64d94cc8
BLAKE2b-256 checksum
How to use checksums
9dbc0292fb84ae775cd8ac55e44ee3f45b4d532a23dbcef30e56b043311a08de
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 4, 2026.

Transparency log

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

Download URL tombi_lib-1.7.2-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
3fac765e5cbfeaa21357b042ceec3a28da42c7d920cf8ec20ca2c466bac11446
BLAKE2b-256 checksum
How to use checksums
bf4e2b6f3ed78baa1e667a7302f8fe3c442615f64fac30b572b1b9f6434b9a19
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 4, 2026.

Transparency log

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

Download URL tombi_lib-1.7.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
49838bfa61d4e2913b38ef38627f8866d115b8c78b56b8a79d2dde6426abb090
BLAKE2b-256 checksum
How to use checksums
b3177d34ef001bd64ac9b2b864ba623deacf371c42362aec973413ad8122cdc4
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 4, 2026.

Transparency log

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

Download URL tombi_lib-1.7.2-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
d89dd4383ba4ec8ceea92392062095bd72e78d310c91d4d2a16d3f15fb21eb77
BLAKE2b-256 checksum
How to use checksums
cb9404a9fa379d7d018b14232ef223c03d211e8e8321b3dab1e77616127eb898
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 4, 2026.

Transparency log

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

Download URL tombi_lib-1.7.2-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
4228d08e8362d357dfa1e97c33d82bbbdabfe91bf54eb59acc51a0a9c73c4528
BLAKE2b-256 checksum
How to use checksums
26d70e760aae95d27ef1878acb889030410b9f91de7df04b8191820efe7cf72f
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 4, 2026.

Transparency log

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

Download URL tombi_lib-1.7.2-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
f718f1b8c7ce7b124728353f312d1d833706502158784e42645bbd6cd4918723
BLAKE2b-256 checksum
How to use checksums
2e2adbaeb34c7c51dfdedfbef28ae3f9a6edbf14c84bdc005d6a60b64e0dee3c
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 4, 2026.

Transparency log

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

Download URL tombi_lib-1.7.2-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
2f86fdc011b77d5c551398ed41a504801148157cb02c49d18848c8c939fee8a6
BLAKE2b-256 checksum
How to use checksums
2425f7212d2a8e37f20c6bf66791bea9fc6e5fbb15aa8495fcda4e30b268afcf
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 4, 2026.

Transparency log

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

Download URL tombi_lib-1.7.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
104fda8305f5f95c2c57071fb4620d7140b8b34e46a3417293883752b0ea84da
BLAKE2b-256 checksum
How to use checksums
4a82f47765a044289794bd17942ccccc6b49d9342881d1fe985999328209e02d
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 4, 2026.

Transparency log

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

Download URL tombi_lib-1.7.2-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
9ca99884bf0ff0c6a3ec4b61af4096b8b27cb126a8934f6851d0169280767e15
BLAKE2b-256 checksum
How to use checksums
f590a95660c61e0a3c2ff19bbd4b4147a55f09c8a76c474bbf138976029c3d69
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 4, 2026.

Transparency log

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

Download URL tombi_lib-1.7.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
2e7b7d5b418cb418b953fa20f5f7a49268f6a839458303d88a26d8a0ba646693
BLAKE2b-256 checksum
How to use checksums
418df34f603f1ea1c85239b8ceed79d7d734aa5d4e29a27dfa336f9bf1d4cc60
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 4, 2026.

Transparency log

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

Download URL tombi_lib-1.7.2-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
a2f76df59e79c144ee70bc2852c3860e77ef9913626e41803812487291d9b2e9
BLAKE2b-256 checksum
How to use checksums
9baf89cd003b0939196bb2fb2e45ca14f267df0d559aea54acb9a3ddcd4fd233
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 4, 2026.

Transparency log

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

Download URL tombi_lib-1.7.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
af1982b13a4f21356296c78ce5619fe289d5af4634248a744e8e9a07b06304e3
BLAKE2b-256 checksum
How to use checksums
1b5e0939b8a85d2a49dbaf380028179c88cb3ccab311cc3b302b0fe7f91532a3
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 4, 2026.

Transparency log

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

Download URL tombi_lib-1.7.2-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
f24bb955d8e7cefbf016c82a861005a5aaae203d7f5f7b124f01689fbd088b42
BLAKE2b-256 checksum
How to use checksums
44edc4f6cbd3201edefb5c2e4b33d67d68542d833387bbdc4775ba9a64292a05
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 4, 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.2 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