toml-fmt-common
Common logic to the TOML formatter.
What it is and what it does
toml-fmt-common is a shared library that contains common Python code used across the toml-fmt formatter project. It is designed as an internal component of the toml-fmt umbrella and provides reusable utilities and logic for TOML formatting operations. The package depends only on tomli for TOML parsing support.
This is a library component rather than a standalone tool. It is intended to be used as a dependency by other formatters within the toml-fmt project rather than directly by end users. The package is actively maintained, supports Python 3.10 through 3.14, and carries an MIT license with no known security vulnerabilities.
Use it for:
- Building custom TOML formatters as part of the toml-fmt ecosystem
- Sharing common formatting logic across multiple toml-fmt tools
- Accessing standardized TOML parsing and formatting utilities within toml-fmt projects
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides shared Python utilities and logic for TOML formatting tools within the toml-fmt project ecosystem.
Install only if you are developing a formatter within the toml-fmt project ecosystem. This is a library component designed for internal use, not a standalone tool. If you need TOML formatting, use one of the toml-fmt formatters that depend on this package instead.
Install
toml-fmt-common on PyPI
pip
pip install toml-fmt-commonuv
uv add toml-fmt-commonpoetry
poetry add toml-fmt-commonInstalling toml-fmt-common
Before you install
Low install friction with a single lightweight dependency (tomli). Actively maintained as of 2026-08-12 with recent releases, though this is a library component meant primarily for internal use within the toml-fmt umbrella.
License in practice
MIT license permits free use, modification, and distribution with minimal restrictions, making it suitable for both open-source and commercial projects.
Quickstart
pip install toml-fmt-common
from toml_fmt_common import <function_or_class>
# Use shared formatting utilities provided by the library
Requires Python 3.10 or later; designed as a library for toml-fmt formatters rather than standalone use.
Verify before relying
- Specific public API surface and which functions/classes are intended for external use versus internal-only
- Whether this package is meant to be used directly by end users or only as a dependency of other toml-fmt tools
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (>=3.10) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — tomli |
| Maintenance | actively maintained — 77 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 549,705/month — #6,055 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: toml_fmt_common-1.3.5-py3-none-any.whl
Tags
More Libraries packages
urllib3 is an HTTP client library that provides…
permissive · top 100 on PyPI
requestsRequests is a Python HTTP library that…
permissive · top 100 on PyPI
pluggyPluggy provides a plugin system that lets you…
permissive · top 100 on PyPI
python-dateutilProvides parsing, arithmetic, and recurrence…
permissive · top 100 on PyPI
sixSix provides utility functions to write Python…
permissive · top 100 on PyPI
pytestpytest is a testing framework that lets you…
permissive · top 100 on PyPI
tox-toml-fmtFormats tox.toml files with consistent style…
permissive · top 15,000 on PyPI
pyproject-fmtFormats pyproject.toml files with consistent,…
permissive · top 5,000 on PyPI
scverse-miscProvides shared utility functions and helpers…
permissive · top 5,000 on PyPI
dom-tomlProvides utilities and helpers for working with…
permissive · top 5,000 on PyPI
ansys-tools-commonProvides shared utilities and tools for the…
permissive · top 15,000 on PyPI
tombiTombi is a TOML formatter, linter, and language…
permissive · top 15,000 on PyPI
toml-sortCommand-line utility and Python library to sort…
permissive · top 15,000 on PyPI
taploTaplo is a TOML v1.0.0 toolkit that provides…
permissive · top 15,000 on PyPI
trame-commonProvides shared helper functions, decorators,…
permissive · top 5,000 on PyPI
neutron-libNeutron-lib provides shared routines,…
permissive · top 15,000 on PyPI