Comparison
toml-rs vs tomli vs tomli-w vs tomlkit
Maintenance, adoption and momentum side by side, from PyPI, GitHub and deps.dev data refreshed every day.
A High-Performance TOML Parser for Python written in Rust
Actively maintained. Last release 10 days ago, commits in 24 of the last 26 weeks. A safe choice.
pip install toml-rsA 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 tomliA lil' TOML writer
Low maintenance activity. Last release 23 months ago, commits in 0 of the last 26 weeks. Weaker on commit activity and recent releases.
pip install tomli-wStyle preserving TOML library
Actively maintained. Last release 9 days ago, commits in 18 of the last 26 weeks. A safe choice.
pip install tomlkitIn short
- tomlkit is the most used: 615.9M downloads a month, 2.4× more than tomli.
- Maintenance is comparable: tomlkit 88, toml-rs 84, tomli 57, tomli-w 21 on Pythie’s Index.
- toml-rs is growing fastest: downloads +23% over the last month.
- toml-rs is the newcomer: first released Oct 2025.
- Safe default for a new project: tomlkit.