Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

tomlkit

Style-preserving TOML library that maintains comments and formatting when editing.

UtilitiesPYPI

GitHubWebsite

1. License

License from PyPI license expression.

github.com/python-poetry/tomlkit

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What tomlkit does

Style-preserving TOML library that maintains comments and formatting when editing.

tomlkit popularity

61 / 100
Gid Score, #981 overall
143M
downloads a week, pypi
871
GitHub stars
11
agent projects use it
tomlkit: downloads per weekPyPI, tomlkit 142,786,825
tomlkit: GitHub starspython-poetry/tomlkit 871

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How tomlkit is used

  • tomlkit is a dependency in 11 of the 6,258 public GitHub projects set up for AI coding agents that we scanned, too few to describe it from them alone. Our scan also samples projects by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750); counting those, it appears in 171 projects, and what it is used with below comes from all of them.
  • The most used alternative in our scan is PyYAML (371 projects).
  • Projects that use it most often also use Requests (96.5%), packaging (95.9%), Pydantic (93.6%).

By coding agent

6 projects, 0.2%
6 projects, 0.2%

Often used with

In 96.5% of its projects
In 95.9% of its projects
In 93.6% of its projects
In 93.0% of its projects
In 93.0% of its projects
In 92.4% of its projects
In 91.8% of its projects

More about tomlkit

Funding
  • GitHub Sponsors: https://github.com/sdispater
  • 3 GitHub sponsors

See all

More in Utilities

Alternatives

tomlkit This page

MITGid 61143M/wk

PyYAML

YAML parser and emitter for reading and writing YAML configuration files.

MITGid 76322M/wk

Compare tomlkit with another tool

Get started

Install it.

pip install tomlkit

No step-by-step start for tomlkit yet: we have not written its hand-checked card.