{"categories":[{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/5"},{"label":"Code Generators","url":"https://skillfed.io/packages/category/software-development-code-generators"}],"enrichment":{"capability":"Command-line utility and Python library to sort and format TOML files while preserving comments and standardizing whitespace.","skillfed_tags":["cli-tool","toml-formatter","code-quality"],"use_cases":["Normalize and sort TOML files in a project as part of pre-commit hooks or CI linting.","Automatically organize pyproject.toml or other config files to a consistent structure.","Batch-format multiple TOML files with consistent rules via CLI or programmatic API.","Check whether TOML files conform to a sorted format without modifying them.","Configure per-section sort rules for complex TOML structures using overrides."],"what_it_does":"toml-sort is a command-line utility and Python library for sorting and formatting TOML configuration files. It sorts tables and arrays of tables, optionally sorts keys within tables, and preserves comments and whitespace structure where possible. The tool can be used as a standalone CLI tool, integrated into build workflows for linting, or called as a Python library from other code.\n\nThe package handles four types of comments (header, footer, inline, and block) with fine-grained control over which to preserve or strip. It supports configuration via pyproject.toml with per-key overrides using glob-style wildcards, making it suitable for projects that want consistent TOML formatting across multiple files or as part of a CI/CD pipeline.","worth_installing":"Yes. The package is actively maintained, has no known vulnerabilities, installs with minimal friction, and solves a real problem for projects using TOML configuration files. It is useful both as a CLI tool for ad-hoc formatting and as part of automated workflows. The permissive MIT license poses no barrier."},"id":"toml-sort","links":{"html":"https://skillfed.io/packages/toml-sort","md":"https://skillfed.io/packages/toml-sort.md","pypi":"https://pypi.org/project/toml-sort/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-24","license_spdx":null,"license_treatment":"permissive","name":"toml-sort","python_support":"supports_current","summary":"Toml sorting library"},"popularity":{"monthly_downloads":723427,"position":5226,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"0.24.4"}
