{"categories":[{"label":"Markup","url":"https://skillfed.io/packages/category/text-processing-markup/2"}],"enrichment":{"capability":"Reads and writes TOML files while preserving formatting, comments, whitespace, and string styles exactly as they appear in the original document.","skillfed_tags":["config-management","round-trip-parsing","format-preserving"],"use_cases":["Updating version strings or dependencies in pyproject.toml while keeping existing comments and formatting intact.","Building configuration management tools that edit TOML files without destroying developer-written structure.","Programmatically modifying application config files where preserving layout matters for readability or version control diffs.","Creating TOML editors or linters that need to round-trip documents without lossy parsing.","Generating new TOML documents from scratch using the Document API when format preservation isn't required."],"what_it_does":"tomlrt is a TOML parser and writer that treats formatting as data rather than noise. When you load a TOML file, edit it, and dump it back, every byte you didn't touch stays exactly as it was\u2014comments, blank lines, indentation, quote style, and number formatting all round-trip intact. This makes it ideal for tools that need to modify configuration files programmatically while preserving human-written structure and intent.\n\nThe package supports TOML 1.1 and exposes both a file-based API (load/dump) and a programmatic one (Document class for building documents from scratch). It depends only on typing-extensions, keeping the install lightweight. The implementation is pure Python, distributed as a wheel, and requires Python 3.10 or later.","worth_installing":"Yes. tomlrt solves a real problem\u2014standard TOML parsers discard formatting, making them unsuitable for editing user-facing config files. The package is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and installs with minimal friction. Use it whenever you need to read, modify, and write TOML while respecting the original document's structure."},"id":"tomlrt","links":{"html":"https://skillfed.io/packages/tomlrt","md":"https://skillfed.io/packages/tomlrt.md","pypi":"https://pypi.org/project/tomlrt/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-08-13","license_spdx":"MIT","license_treatment":"permissive","name":"tomlrt","python_support":"supports_current","summary":"A format-preserving TOML reader and writer for Python."},"popularity":{"monthly_downloads":93055,"position":13403,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.2.2"}
