toml-cli
Command line interface to read and write keys/values to/from toml files
Decision gist · record as of 2026-08-14
Yes, if you need scriptable TOML manipulation in CI/CD or automation. The tool is straightforward, has no known vulnerabilities, and installs cleanly. The 336-day release gap suggests it may not be actively developed, but the repository is unarchived and the functionality is stable—suitable for read-heavy or occasional-write use cases where you don't expect frequent updates.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python 3.10 or later.
- Low friction install with a pure-Python wheel.
- Maintenance status is aging—last release was 336 days ago—but the repository remains active and unarchived.
License · maintenance · safety
MIT AND (Apache-2.0 OR BSD-2-Clause) (permissive) — Dual-licensed under MIT and (Apache-2.0 OR BSD-2-Clause), all permissive terms; no restrictions on commercial or private use.
last release 2025-09-12 (336 days) · last repo commit 2025-09-12 · 44 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 668,994 downloads/mo, #5,415 on PyPI
Alternatives
Verify before relying
pip install toml-cli
toml get --toml-path pyproject.toml tool.poetry.name
toml set --toml-path pyproject.toml tool.poetry.version 0.2.0
toml search --toml-path pyproject.toml tool.uv.index[*].name- Whether the 336-day gap since last release signals maintenance risk or stable maturity.
- Performance characteristics when handling large TOML files or complex JMESPath queries.
What it is and what it does
toml-cli is a command-line utility for reading, modifying, and querying TOML configuration files programmatically. It exposes four main operations—get, set, search, and add_section—allowing scripts and automation tools to extract or update TOML values without parsing the file manually or opening an editor. The tool supports nested key paths (e.g., `tool.poetry.name`), array indexing, and JMESPath queries for complex selections.
The package depends on typer for CLI scaffolding, tomlkit for preserving TOML structure during edits, jmespath for query evaluation, and regex for pattern matching. It targets modern Python (3.10+) and installs as a pure wheel with low friction. Use it in CI/CD pipelines, build scripts, or development workflows where TOML configuration needs to be read or updated by code rather than by hand.
Use it for
- Extract version numbers or metadata from pyproject.toml in CI/CD pipelines for automated release workflows.
- Update dependency versions or tool settings in TOML files during scripted configuration management.
- Query complex nested TOML structures (e.g., multiple index entries) using JMESPath expressions in shell scripts.
- Programmatically add new sections or modify existing ones in configuration files without manual editing.
- Read TOML values in development scripts to drive conditional build or test steps.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need scriptable TOML manipulation in CI/CD or automation.
The tool is straightforward, has no known vulnerabilities, and installs cleanly. The 336-day release gap suggests it may not be actively developed, but the repository is unarchived and the functionality is stable—suitable for read-heavy or occasional-write use cases where you don't expect frequent updates.
Install
toml-cli on PyPI
Before you install
Low friction install with a pure-Python wheel. Maintenance status is aging—last release was 336 days ago—but the repository remains active and unarchived.
Requires Python 3.10 or later.
License in practice
Dual-licensed under MIT and (Apache-2.0 OR BSD-2-Clause), all permissive terms; no restrictions on commercial or private use.
Quickstart
pip install toml-cli
toml get --toml-path pyproject.toml tool.poetry.name
toml set --toml-path pyproject.toml tool.poetry.version 0.2.0
toml search --toml-path pyproject.toml tool.uv.index[*].name
Verify before relying
- Whether the 336-day gap since last release signals maintenance risk or stable maturity.
- Performance characteristics when handling large TOML files or complex JMESPath queries.
Package facts
| License | MIT AND (Apache-2.0 OR BSD-2-Clause) permissive |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 4 packagesjmespathregextomlkittyper |
| Maintenance | Aging 336 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 668,994 / month, #5,415 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
Evidence: toml_cli-0.8.2-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “toml command line tool”
- toml-cliCommand-line tool for reading, writing, and querying TOML files…
- yqyq is a command-line processor that applies jq filters to YAML, XML,…
- jinja2-cliA command-line interface for Jinja2 templating that renders templates…
Give your agent the search over MCP, or paste the wish link into any chat.
More Utilities packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.
Install it if you're building an extensible application or framework.
Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.
Install it if you need to display or transform source code.
Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.
See also niet · tomlrt · jmespath · Flake8-pyproject · toml-sort · tccli · pyproject-fmt · pytest-env · pyproject-parser · tombi