python/cpython
GitHubThe Python programming language
- Stars:
- 77.8k
- Language:
- Python
- Default branch:
- main
- Last scored:
60.5
Overall
At a glance
- Rank
- #282 of 401
- #46 of 56 Python repos
- Checks passed
- 6 of 17
- Full list below
- Best set up for
- Claude Code
- Score 67.5
- Needs most work for
- Cursor
- Biggest fix: Cursor rules (.cursor/rules) (+11.5 pts)
What it has
What it's missing
What to fix first
Showing fixes for Claude Code
- 1Dependency manifestCommit a proper manifest (package.json, pyproject.toml, Cargo.toml, go.mod, etc.) plus a lockfile.+9.2 pts
- 2Type configurationAdd a type config (tsconfig.json for JS/TS, mypy.ini or pyrightconfig.json for Python). Rust/Go/JVM/Scala/Swift/C#/OCaml/Haskell/Zig are typed by default.+7.9 pts
- 3Manageable sizeIf possible, split into smaller modules or carve out a focused entry path. Document where to start in AGENTS.md.+5.3 pts
Score for each AI agent
Each agent weighs the checks by its own docs. Under each score are its top three. How each agent is scored →
Does python/cpython have agent instructions?
An AGENTS.md (or CLAUDE.md) at the root tells AI coding agents how to build, test and work in the repo. A few agents also read a file of their own.
- AGENTS.md / CLAUDE.md
AGENTS.md(new tab) · 602 characters- Agent-specific files
- None: no GEMINI.md, .cursor/rules, .openhands/setup.sh, .aider.conf.yml or .agents/skills
- Repos that have one
- 29 of 56 Python repos · 221 of 401 repos on the leaderboard · See examples →
All 17 checks · 6 passed
✗
Skills (.agents/skills)· 0% pass
No .agents/skills/<name>/SKILL.md
~
✗
.aider.conf.yml· 0% pass
No .aider.conf.yml at repo root
✓
✓
✗
Cursor rules (.cursor/rules)· 0% pass
No .cursor/rules/*.mdc or .cursorrules
✗
Dependency manifest· 0% pass
No dependency manifest found
~
✗
GEMINI.md· 0% pass
No GEMINI.md at repo root
✓
✓
✗
.openhands/setup.sh· 0% pass
No .openhands/setup.sh
✓
✓
~
Manageable size· 20% pass
5838 files — very large
~
Test suite· 70% pass
Test files detected (Lib/idlelib/idle_test/test_autocomplete.py)
✗
Type configuration· 0% pass
No type config found
How python/cpython compares
- vs leaderboard average
- 6.3 pts below
- Average 66.8
- vs Python average
- 10.5 pts below
- Average 71.0
- Stars among Python repos
- #14 of 56
Missing here, and how many repos have it
- Dependency manifest · passed by 92% of leaderboard repos, 89% of Python repos
- Type configuration · passed by 68% of leaderboard repos, 57% of Python repos
- Skills (.agents/skills) · passed by 17% of leaderboard repos, 20% of Python repos
Passes checks most repos miss
- Pre-commit / git hooks · only 29% of repos pass it
One fix for the most agents: Type configuration would raise the score for all 9 agents, by up to 11.5 points.
Similar repos
Same language and host as this repo, closest in overall score.
- explosion/spaCy66.2Python · 34k ★
- django/django65.8Python · 91.5k ★
- fastapi/fastapi64.4Python · 104.4k ★
- Aider-AI/aider63.2Python · 49.9k ★
- openai/whisper58.9Python · 111.9k ★
- mkdocs/mkdocs56.4Python · 22.5k ★
Add a badge to your README
Paste this at the top of the README. It shows the score, and links back to this page.
[](https://agentfriendlycode.com/repo/github/python/cpython)Check the score on every pull request
A GitHub Action posts one comment per pull request with how the score changed and why.