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.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.6.0
File Size Uploaded
tombi_lib-1.6.0.tar.gz 493.3 kB Details

Built distributions (wheels)

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

Download URL tombi_lib-1.6.0.tar.gz
Size 493.3 kB
Tags Source
SHA-256 checksum
How to use checksums
668ad6c98962ce781123b46a4a3c33dc7480d5310f256ac2c40e5fbe296028e6
BLAKE2b-256 checksum
How to use checksums
d9905d70a89ab676563cefba9313da1618d491834fb9c05d31bcb2c8d72404c0
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 29, 2026.

Transparency log

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

Download URL tombi_lib-1.6.0-cp312-abi3-win_amd64.whl
Size 5.4 MB
Tags CPython 3.12 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
ab2898ad737cedf3da345b5b97815891abce5370411aa4871ea0ec5715242b61
BLAKE2b-256 checksum
How to use checksums
c02f0e4d4fc0c706be89d8d70ebd7501a69597a732d82620f74e1af508155e4c
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 29, 2026.

Transparency log

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

Download URL tombi_lib-1.6.0-cp312-abi3-win32.whl
Size 4.6 MB
Tags CPython 3.12 Windows x86-32 abi3
SHA-256 checksum
How to use checksums
8bf0ba4c0091330660969bad6c1173bfa03229edf489e4a8fc7469e41d093750
BLAKE2b-256 checksum
How to use checksums
a0541b6e93312dcbcd29bdd99b0dbbfcea765e4aac388cc682d0859c0534739b
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 29, 2026.

Transparency log

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

Download URL tombi_lib-1.6.0-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
5cb2ca629a8f8a8dea90afebe4a9bcc3cbdb95a15658635e5893d5b5a4082e95
BLAKE2b-256 checksum
How to use checksums
3fcec09fc717f58563cd4fb420eebc44d55355a72d8fa07456eaa48cf3e78be2
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 29, 2026.

Transparency log

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

Download URL tombi_lib-1.6.0-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
ce5cc8e4757cc71ad4a48043e15994a12f71833111651c88dd1fde453b8678ee
BLAKE2b-256 checksum
How to use checksums
98521d5ba8d5bf5c52134bf685725830ef8dd50b38698b2f7b13f23fb984e6e8
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 29, 2026.

Transparency log

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

Download URL tombi_lib-1.6.0-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
7f30a0f16348198d84e8e3eaf1d7fd7e8c86f83c25fc7a7db3957582b61bcf13
BLAKE2b-256 checksum
How to use checksums
95ad338cc5ab21488acbfb3e2c07ae4165abe2de3a5b7b5d37233373f0c7c49c
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 29, 2026.

Transparency log

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

Download URL tombi_lib-1.6.0-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
699c356b109e5a9355f164fe534fece667a7833013a7df3b370591ae878c7ecc
BLAKE2b-256 checksum
How to use checksums
e3f4d6f51df9b9aea7b55c7c7378fae70b93be468812159db1eed17b7268cce0
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 29, 2026.

Transparency log

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

Download URL tombi_lib-1.6.0-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
1a5bd1b24f64687092ff2080970d1357127062de10b07db699330ecf8ff7a706
BLAKE2b-256 checksum
How to use checksums
2d16cadf1798c0280794612f5cd52de8a5060ac980267a1fb4f7b0414438f96f
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 29, 2026.

Transparency log

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

Download URL tombi_lib-1.6.0-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
c7a399c76d72f2109c29fd1ed0ee0a4f3e6b897ef06f27595e4ba0fca66ef8bd
BLAKE2b-256 checksum
How to use checksums
15c72c2a1ed373395b07e3cc17f13dd34af7cbec5cea29592b59065784d06a5a
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 29, 2026.

Transparency log

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

Download URL tombi_lib-1.6.0-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
5a6ebcc3aa5bfa67782e065123cab406cac65ab69959343356c596fedae52bc3
BLAKE2b-256 checksum
How to use checksums
a6609b9d91352d3e0788439bc2c3b5deb33d25427480e36317b0ef132e6fa18e
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 29, 2026.

Transparency log

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

Download URL tombi_lib-1.6.0-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
24514ea9ef4a31a27135c96ffe0d6940cd243e4c21e6f4ce451272e46af4c54d
BLAKE2b-256 checksum
How to use checksums
2dc3fdc5cd6a509c40b6bc90f17853725f3e4dbbdca2201188ce33f1566bf95a
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 29, 2026.

Transparency log

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

Download URL tombi_lib-1.6.0-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
67f54033fdc77106deff5859908ef7c58ede00057e6a89d14711dd0dbbecf0c1
BLAKE2b-256 checksum
How to use checksums
05eadd698a0efb35852e9a185cb6cadd38b4799eda9a6e6b73a0ad6bee57e4c7
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 29, 2026.

Transparency log

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

Download URL tombi_lib-1.6.0-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
4e97723b343b25a0be502ab5bca5b312383c043e4af3d2e0cc78dbafcc5ba8a8
BLAKE2b-256 checksum
How to use checksums
e693699f6a81fc17fdb0429d9a327d1422d797b3c2ae086d9448e85ec7b4a927
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 29, 2026.

Transparency log

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

Download URL tombi_lib-1.6.0-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
7cdadf3ab9199f5f098388ff4483210b6b0736ccc1229dd8e2162a8386a45219
BLAKE2b-256 checksum
How to use checksums
3e5950a7f4e3927a9590e8850448a894725dcc4e4ebeadc500d6c09d3a51822c
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 29, 2026.

Transparency log

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

Download URL tombi_lib-1.6.0-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
0b442a7399e6355f905ed070d155baaf15224b2eae3be157efbceff106b299da
BLAKE2b-256 checksum
How to use checksums
d830e7a0d2fae75660f8fe11f3306b61f773840412dbd2a941dcc171f27a87d8
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 29, 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

1.6.1

15 release files

This release

1.6.0 This release

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