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.6.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.6.1
File Size Uploaded
tombi_lib-1.6.1.tar.gz 494.0 kB Details

Built distributions (wheels)

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

Total release size: 69.9 MB

Release files / tombi_lib-1.6.1.tar.gz

Download URL tombi_lib-1.6.1.tar.gz
Size 494.0 kB
Tags Source
SHA-256 checksum
How to use checksums
99df42882ce05bca5f2b2e0db88b9461afb2a4a05286c8ec494f302d761bd161
BLAKE2b-256 checksum
How to use checksums
5edf51c50c7ae4edbe8a525bbb2bcc7ed1893f25f58d84c313e8225715466139
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 Sep 30, 2026.

Transparency log

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

Download URL tombi_lib-1.6.1-cp312-abi3-win_amd64.whl
Size 5.4 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
87c22ce7247d01b90a7b1e1dfbaf06c7bc76406dd720603f36d4be371d7021ad
BLAKE2b-256 checksum
How to use checksums
f511a7cc065cd4b21cc5571cc294d7f11f689bf8da4eb7191dce7d5ab8c12182
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 Sep 30, 2026.

Transparency log

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

Download URL tombi_lib-1.6.1-cp312-abi3-win32.whl
Size 4.6 MB
Tags CPython 3.12 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
4ba6d70e1c632092dcad28315a0896925fed6c6b9f52150d114ca52aafd875a0
BLAKE2b-256 checksum
How to use checksums
f78f768c0d75744967b2d76f1c078761ddb477fc8cddb2180aa24e8a5f76b867
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 Sep 30, 2026.

Transparency log

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

Download URL tombi_lib-1.6.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
e9fe0b5cc941d0e4b166d1e94a384afd6d006667c9768f54217b1bae4e85d4d2
BLAKE2b-256 checksum
How to use checksums
f705158fb576b0d5adea5f728b642b951d4cd15e61569fe11eec98f2a0a0814f
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 Sep 30, 2026.

Transparency log

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

Download URL tombi_lib-1.6.1-cp312-abi3-musllinux_1_2_i686.whl
Size 5.1 MB
Tags CPython 3.12 Linux musl 1.2+ x86-32 abi3
SHA-256 checksum
How to use checksums
99acda28a2acb21e0e5dcb019dc988ee39e1e176dd176c045a3c3b48d29dfa3a
BLAKE2b-256 checksum
How to use checksums
b3a82d475d5e08870494d120fe01335c0db42a83113ae7e2d08cc5ac218c9643
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 Sep 30, 2026.

Transparency log

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

Download URL tombi_lib-1.6.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
ca88daca50fdd3433aa4f29e0f515e2774ae9c702319ac7127016f18d5a9c916
BLAKE2b-256 checksum
How to use checksums
eb31a3059227d5dd78c8b3877ac14cbf11eef40363fbdbb4f3042d03491e640d
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 Sep 30, 2026.

Transparency log

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

Download URL tombi_lib-1.6.1-cp312-abi3-musllinux_1_2_aarch64.whl
Size 5.0 MB
Tags CPython 3.12 Linux musl 1.2+ ARM64 abi3
SHA-256 checksum
How to use checksums
d651881aab0071b6d651bb82beca2f96bc4ef7af2f7deccbff686b2aa49e13c7
BLAKE2b-256 checksum
How to use checksums
bba52a248b668d0d83343279afc04916c7574eafae94b7a164c3ab6998ea2706
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 Sep 30, 2026.

Transparency log

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

Download URL tombi_lib-1.6.1-cp312-abi3-manylinux_2_28_aarch64.whl
Size 4.8 MB
Tags CPython 3.12 Linux glibc 2.28+ ARM64 abi3
SHA-256 checksum
How to use checksums
416c93a7b1b50629555937b3fa541558bbca62bd6ad4f668bc7c01734264d59b
BLAKE2b-256 checksum
How to use checksums
ba90e3f50c15ee7a2f292609626a2a5856f75b05ee0a9626aa996e34fa055f20
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 Sep 30, 2026.

Transparency log

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

Download URL tombi_lib-1.6.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
72885955f74d81c9a0bbac138f07a849021192940e6f6aaf55ff44e88bf4bce0
BLAKE2b-256 checksum
How to use checksums
968cc87ec8d3eee51b549687af1031bf2ea5e8d15f73f730408ad03823277b73
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 Sep 30, 2026.

Transparency log

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

Download URL tombi_lib-1.6.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
116ffb31543b5cdca19a6e50ff0919784e486c5287f514012c045c33bdb6c3a1
BLAKE2b-256 checksum
How to use checksums
8f1a3e261f860d3bf642a29224610cb74b211846245f6e4b3422f681b0ecd15e
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 Sep 30, 2026.

Transparency log

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

Download URL tombi_lib-1.6.1-cp312-abi3-manylinux_2_17_ppc64le.manylinux2014_ppc64le.whl
Size 5.2 MB
Tags CPython 3.12 Linux glibc 2.17+ PowerPC 64-le abi3
SHA-256 checksum
How to use checksums
2065d4474db5c5ea63cd88516cc739b88e2812407fb075b2d8beb098664e08bd
BLAKE2b-256 checksum
How to use checksums
2d4a701a3344f70ae43f4bd4b650ca2b4ab83536047c4624f6dd03e2d1eb7ab7
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 Sep 30, 2026.

Transparency log

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

Download URL tombi_lib-1.6.1-cp312-abi3-manylinux_2_17_armv7l.manylinux2014_armv7l.whl
Size 4.7 MB
Tags CPython 3.12 Linux glibc 2.17+ ARMv7l abi3
SHA-256 checksum
How to use checksums
9dd9cbf8ee47b1acde369d781d3f8187bb008b11618d31a45c87e957b7a72716
BLAKE2b-256 checksum
How to use checksums
a1d11394942a593e7037a44f9688d9c5bb0707888f9d98010d92f7697cc549d4
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 Sep 30, 2026.

Transparency log

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

Download URL tombi_lib-1.6.1-cp312-abi3-manylinux_2_12_i686.manylinux2010_i686.whl
Size 5.0 MB
Tags CPython 3.12 Linux glibc 2.12+ x86-32 abi3
SHA-256 checksum
How to use checksums
58cdeae66c34573cd8271a5e831efce2b16e191a30cd572e9197aa59629a7d59
BLAKE2b-256 checksum
How to use checksums
6681d640a55f2ab895ec68146c0ed5a0b532d3624e7f043fc6171ebfffdf7322
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 Sep 30, 2026.

Transparency log

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

Download URL tombi_lib-1.6.1-cp312-abi3-macosx_11_0_arm64.whl
Size 4.6 MB
Tags CPython 3.12 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8b9cfb3c9815df1430cb0550c7fe7009c34f9905356205cb83239116e0e9af24
BLAKE2b-256 checksum
How to use checksums
b627251d07a99da1a15607410c6f0161ec7b09001036ac3d3e76c6070400dfba
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 Sep 30, 2026.

Transparency log

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

Download URL tombi_lib-1.6.1-cp312-abi3-macosx_10_12_x86_64.whl
Size 4.9 MB
Tags CPython 3.12 abi3 macOS 10.12+ x86-64
SHA-256 checksum
How to use checksums
aef6e876f7655a2eb6ffeeff7d01bda6f7029879a7fe0776ae4b9b4071b851d1
BLAKE2b-256 checksum
How to use checksums
2d181f568f2d1c9f95f3bbe0b232c0aa55955f614c950cc002751ded649cdd11
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 Sep 30, 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.6.1 This release

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