{"categories":[{"label":"Build Tools","url":"https://skillfed.io/packages/category/software-development-build-tools/2"}],"enrichment":{"capability":"Formats pyproject.toml files with consistent, opinionated style and preserves comments, offering few configuration options by design.","skillfed_tags":["formatter","pyproject-toml","build-tool"],"use_cases":["Enforce consistent pyproject.toml formatting across a team or monorepo using a shared pyproject-fmt.toml configuration file.","Integrate into pre-commit hooks to automatically format pyproject.toml on every commit.","Programmatically format pyproject.toml files from within build scripts or CI/CD pipelines using the Python API.","Auto-generate Python version classifiers based on your requires-python setting to keep metadata up-to-date.","Standardize table formatting (collapsed dotted keys vs. expanded sections) across multiple projects."],"what_it_does":"pyproject-fmt is a command-line formatter and Python library that applies consistent, opinionated formatting to pyproject.toml files while preserving comments. It follows the philosophy of tools like Black: minimal configuration by design, trading flexibility for predictability and smaller diffs. The tool can be used as a CLI (via pipx or uv), integrated into pre-commit hooks, or called directly from Python code via the run() function.\n\nIt offers configuration through a [tool.pyproject-fmt] table in your pyproject.toml or a standalone pyproject-fmt.toml file, with options to control column width, indentation, table formatting style (short/long), spacing between tables, and automatic Python version classifier generation. The formatter normalizes your project metadata layout, handles dependency specifiers, and can expand or collapse nested table structures according to your preferences.","worth_installing":"Yes. The package is actively maintained (release 2 days ago), has zero known vulnerabilities, supports modern Python versions (3.10\u20133.15), and solves a real problem\u2014keeping pyproject.toml formatting consistent with minimal configuration overhead. The permissive MIT license and lack of runtime dependencies make it low-risk. Medium install friction from compiled wheels is standard for modern Python tools and not a blocker."},"id":"pyproject-fmt","links":{"html":"https://skillfed.io/packages/pyproject-fmt","md":"https://skillfed.io/packages/pyproject-fmt.md","pypi":"https://pypi.org/project/pyproject-fmt/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-12","license_spdx":null,"license_treatment":"permissive","name":"pyproject-fmt","python_support":"supports_current","summary":"Format your pyproject.toml file"},"popularity":{"monthly_downloads":908448,"position":4752,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.27.1"}
