Comparison
tomli vs tomlkit vs tomlrt
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A lil' TOML parser
Maintained. Last release 8 weeks ago, commits in 2 of the last 26 weeks. Weaker on commit activity and contributor spread.
$
pip install tomliStyle preserving TOML library
Actively maintained. Last release 7 days ago, commits in 18 of the last 26 weeks. A safe choice.
$
pip install tomlkitA format-preserving TOML reader and writer for Python.
Actively maintained. Last release 11 days ago, commits in 25 of the last 26 weeks. A safe choice.
$
pip install tomlrtIn short
- tomlkit is the most used: 603.7M downloads a month, 2.4× more than tomli.
- Maintenance is comparable: tomlkit 88, tomlrt 84, tomli 57 on Pythie’s Index.
- tomlrt is growing fastest: downloads +13% over the last month.
- tomlrt is the newcomer: first released Apr 2026.
- Safe default for a new project: tomlkit.