Skip to content
Agents tracked: 440 Downloads (7d): 202M down 19.5% GitHub stars: 10.4M Releases (7d): 607 Agent status: all upSince last limit reset: Claude 28d · Codex 0d Updated Oct 21, 2026

Traits

Observable typed attributes and properties for Python classes.

Utilities PyPI BSD

Used in agent projects
0
0.0% of 1,622 Python repos built with AI coding agents
Gid Score
34 /100
#3199 of 3,794 tools, #336 in utilities · ranking
In the catalog because
Public numbers
downloads and GitHub stars, added Oct 20, 2026; too rare in our project count to rank by use
Downloads
120K
PyPI, last 7 days, traits
GitHub stars
464
91 forks · last push Oct 16, 2026

How Traits is used

Traits joined the catalog on its public numbers (120,271 downloads a week on PyPI and 464 GitHub stars), not on our project count: it is a dependency in 7 public GitHub projects of our scan, 0 of them set up for AI coding agents. Projects that use it most often also use cachetools (100.0%), Click (100.0%), ConfigObj (100.0%).

Traits popularity over time

Top tools by Gid Score

Traits: downloads per weekPyPI, traits 148,655

Gid Score 34: downloads 44, use in agent projects 12, GitHub stars 0, downloads trend 100 (each 0-100). How it is calculated.

Often used with Traits

cachetools100.0% of Traits projects · 177.4× more than average
Click100.0% of Traits projects · 40.1× more than average
ConfigObj100.0% of Traits projects · 6208.0× more than average
lxml100.0% of Traits projects · 78.6× more than average
NiBabel100.0% of Traits projects · 6208.0× more than average
NumPy100.0% of Traits projects · 17.1× more than average

Install

Packagepip install traits
Main stacksPython (7)
Example projectslinktianx/RSRD_BWAS

Alternatives to Traits

All utilities

In our scan, none of the most used tools in Utilities does the same job as Traits: they are add-ons, companions or tools for a different task.

More in Utilities: clsx date-fns PyYAML uuid yaml js-yaml glob Lodash

Is Traits right for your project? Ask AgentGid →