Overview of TOML Kit
masterTOML Kit is a 1.0.0-compliant TOML library for Python. Unlike standard parsers, it is style-preserving, meaning it maintains all comments, indentations, whitespace, and internal element ordering during parsing and editing. This makes it ideal for tools that need to programmatically modify configuration files without destroying the user's formatting and comments.
Key features:
- Style Preservation: Preserves comments, whitespace, and indentation.
- Editable API: Provides an intuitive API to access and modify the preserved elements.
- Document Creation: Includes helpers to create new TOML documents from scratch.