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

attrs

Python library that reduces boilerplate for class definitions.

UtilitiesPYPI

1. License

License from PyPI license expression.

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

What attrs does

Python library that reduces boilerplate for class definitions.

attrs popularity

78 / 100
Gid Score, #139 overall
224M
downloads a week, pypi
42
agent projects use it
attrs: downloads per weekPyPI, attrs 221,794,983

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

How attrs is used

  • attrs is a dependency in 42 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (2.6% of the 1,623 Python ones), #32 of 408 in utilities.
  • Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 1,314; those are left out of every share on this page.
  • Projects that use it most often also use Requests (95.2%), Click (92.9%), Pydantic (92.9%).

By coding agent

25 projects, 0.8%
23 projects, 0.7%
12 projects, 0.5%

Often used with

In 95.2% of its projects
In 92.9% of its projects
In 92.9% of its projects
In 90.5% of its projects
In 90.5% of its projects

More about attrs

Funding
  • GitHub Sponsors: https://github.com/hynek
  • Tidelift: https://tidelift.com/funding/github/pypi/attrs
  • thanks.dev: https://thanks.dev/u/gh/python-attrs
  • Own page: https://hynek.me/say-thanks/
  • 48 GitHub sponsors

See all

More in Utilities

Alternatives

attrs This page

MITGid 78224M/wk

Compare attrs with another tool

Get started

Install it.

pip install attrs

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