TOML Kit is a style-preserving TOML library for Python. It includes a parser that preserves all comments, indentations, whitespace and internal element ordering, and makes them accessible and editable via an intuitive API.