skillfed

toml-fmt-common

Common logic to the TOML formatter.

toml-fmt-common v1.3.5 549.7K downloads/30d#6,055 on PyPI85
Permissive license MIT Active released

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-common

uv

uv add toml-fmt-common

poetry

poetry add toml-fmt-common

Installing 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

Development Status :: 5 - Production/StableIntended 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.13Programming Language :: Python :: 3.14Topic :: InternetTopic :: Software Development :: LibrariesTopic :: System

Tags

toml formatter shared librarytoml-fmt common utilitiestoml formatting helpersshared toml formatting codetoml formatter components
toml-formattingshared-library

More Libraries packages