Taplo is a versatile, feature-rich TOML toolkit written in Rust, providing capabilities for linting, formatting, and validating TOML documents. This registry entry refers to the Python interface provided by the `taplo-test` PyPI package, which acts as a command-line interface (CLI) wrapper for the core Taplo CLI tool. The core Taplo project is actively maintained, with frequent releases. While the Python package `taplo-test` currently stands at version 0.9.1rc1, it provides access to the functionalities of the underlying Taplo CLI, which has reached versions like 0.9.3 and beyond.
pip install taplo-testNo compatibility data collected yet for this library.
This quickstart demonstrates how to use the `taplo-test` package to interact with the underlying Taplo CLI for formatting and validating TOML files. It uses Python's `subprocess` module to call the `taplo` command-line tool.
Be aware that you are interacting with a wrapper around a CLI tool. Use `subprocess.run()` to invoke `taplo` commands directly for full control over CLI options. Ensure the `taplo` executable is in your system's PATH, or provide its full path to `subprocess.run()`.
Manage Taplo's behavior by creating a `taplo.toml` file in your project's root or configuring it within `pyproject.toml`. Refer to the official Taplo documentation for detailed configuration options.
Pin the version of `taplo-test` (and indirectly the underlying Taplo CLI) in your `requirements.txt` or `pyproject.toml` to ensure consistent behavior. Regularly check the official Taplo GitHub releases and changelogs for breaking changes when updating.
No dependency data recorded yet.