Comparison
tomli vs tomlkit
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 1 of the last 26 weeks. Weaker on commit activity and contributor spread.
$
pip install tomliStyle preserving TOML library
Actively maintained. Last release 6 days ago, commits in 16 of the last 26 weeks. A safe choice.
$
pip install tomlkitIn short
- tomlkit is the most used: 610.2M downloads a month, 2.3× more than tomli.
- tomlkit also has the best Pythie’s Index (88).
- tomlkit is growing fastest: downloads +12% over the last month.
- Safe default for a new project: tomlkit.