skillfed

taplo

A CLI for Taplo TOML toolkit

taplo v0.9.3 541.8K downloads/30d#6,093 on PyPI2,362
Permissive license MIT Active released

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 taplo

uv

uv add taplo

poetry

poetry add taplo

Installing 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

Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9Programming Language :: Python :: Implementation :: CPythonProgramming Language :: Python :: Implementation :: PyPyProgramming Language :: RustTopic :: Software Development :: Quality Assurance

Tags

toml parsertoml lintertoml formattertoml toolkittoml cli toolconfiguration file validationtoml syntax checker
toml-toolingrust-backedcli-tool

More Quality Assurance packages