taplo
A CLI for Taplo TOML toolkit
What it is and what it does
Taplo is a TOML toolkit written in Rust and exposed as a Python package, offering command-line and programmatic interfaces for working with TOML configuration files. It supports parsing, linting, and formatting TOML v1.0.0 documents. The package has no runtime dependencies and is distributed as pre-compiled wheels for common platforms (macOS, Linux, Windows), making it fast and easy to install.
The project is in active development (Beta status) and maintained with recent updates. The maintainer acknowledges that TOML v1.0.0 compliance testing is incomplete, so edge cases may exist. It is suitable for developers who need to validate, lint, or reformat TOML files as part of build pipelines, configuration management, or development workflows.
Use it for:
- Validate TOML configuration files in CI/CD pipelines before deployment.
- Lint and format TOML files in a project to enforce consistent style and structure.
- Parse TOML documents programmatically in Python applications that need structured config handling.
- Integrate TOML tooling into editor plugins or language server implementations.
- Check TOML syntax correctness in automated configuration audits.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Taplo is a TOML v1.0.0 toolkit that provides CLI tools for parsing, linting, and formatting TOML configuration files.
Yes, if you need a fast, dependency-free TOML parser and formatter. The MIT license is permissive, maintenance is active, and the package has no runtime dependencies. Install with caution if you require guaranteed TOML v1.0.0 compliance for production use—the maintainer notes that compliance testing is incomplete. For typical configuration file handling, it is a solid choice.
Install
taplo on PyPI
pip
pip install taplouv
uv add taplopoetry
poetry add taploInstalling taplo
Before you install
Medium install friction due to platform-specific wheels (macOS, Linux, Windows variants); however, the package is actively maintained with recent commits and no runtime dependencies, making installation straightforward once the correct wheel is selected.
License in practice
MIT license is permissive, allowing commercial and private use with minimal restrictions—suitable for most projects.
Quickstart
pip install taplo
from taplo import parse
toml_content = open('config.toml').read()
doc = parse(toml_content)
Requires Python 3.8 or later; binary wheels are platform-specific, so installation may take longer on less common architectures.
Verify before relying
- Whether the TOML v1.0.0 parsing is production-ready despite the maintainer's note about incomplete compliance testing.
- What specific linting and formatting rules the toolkit enforces beyond basic TOML syntax.
- Whether the package is suitable for programmatic use or primarily designed as a CLI tool.
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 725 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 541,848/month — #6,093 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: taplo-0.9.3-py3-none-macosx_10_12_x86_64.whl; taplo-0.9.3-py3-none-macosx_11_0_arm64.whl; taplo-0.9.3-py3-none-manylinux_2_17_i686.manylinux2014_i686.whl; taplo-0.9.3-py3-none-manylinux_2_17_x86_64.manylinux2014_x86_64.whl; taplo-0.9.3-py3-none-win32.whl; taplo-0.9.3-py3-none-win_amd64.whl
Keywords: toml, linter, formatter
Tags
More Quality Assurance packages
Coverage.py measures which lines of Python code…
permissive · top 1,000 on PyPI
ruffRuff is a Python linter and code formatter…
permissive · top 1,000 on PyPI
pexpectPexpect spawns and controls interactive console…
permissive · top 1,000 on PyPI
blackBlack reformats Python source code to a…
permissive · top 1,000 on PyPI
pytest-xdistpytest-xdist distributes pytest tests across…
permissive · top 1,000 on PyPI
cfn-lintValidates AWS CloudFormation templates in YAML…
permissive · top 1,000 on PyPI
tombiTombi is a TOML formatter, linter, and language…
permissive · top 15,000 on PyPI
xbslXBSL is a linter, LSP server, and metadata…
permissive · top 15,000 on PyPI
toml-rsA high-performance TOML parser and serializer…
permissive · top 15,000 on PyPI
tree-sitter-tomlProvides a tree-sitter parser grammar for TOML…
permissive · top 5,000 on PyPI
tclinttclint is a CLI linter, formatter, and language…
permissive · top 15,000 on PyPI
salt-lintsalt-lint checks Salt State files (SLS) for…
permissive · top 15,000 on PyPI
tomliTomli parses TOML configuration files and…
permissive · top 1,000 on PyPI
rumdlA Rust-based Markdown linter and formatter that…
permissive · top 5,000 on PyPI
toml-sortCommand-line utility and Python library to sort…
permissive · top 15,000 on PyPI
gitlintGitlint is a command-line tool that validates…
permissive · top 5,000 on PyPI