mirror of
https://github.com/vinta/awesome-python.git
synced 2026-11-20 06:40:51 +00:00
fix: resolve PyPI download counts through curated package overrides
A pypi.org identity sweep of all 438 cached rows (project_urls/home_page vs entry GitHub URL) found download counts were looked up by README display name, so entries whose name differs from the canonical package silently measured squatters or dead predecessors: pytorch measured a squatter (169,737/mo vs torch's 94M), jinja measured Jinja1 (3,168 vs jinja2's 736M), django-rest-framework a dead alias package (real: djangorestframework), django-rules an abandoned fork (real: rules), strawberry an unrelated bookmarking service (real: strawberry-graphql), devpi a deprecated metapackage (mapped to devpi-server). New curated website/data/pypi_name_overrides.json maps normalized README name to the real package, or null for projects not pip-installable whose name is squatted or a relic (cpython, pyenv, renpy, python-patterns, winpython); also maps mem0 to mem0ai, fasthtml to python-fasthtml, and playwright-python to playwright. All three fetch scripts resolve names through it; the clickpy TSV cache gains a package column recording what each row actually measured. .gitignore switches website/data/ to website/data/* with a negation so the curated overrides file is tracked while caches stay ignored. Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
parent
e9329d4d1e
commit
b440e64cd0
5 changed files with 72 additions and 20 deletions
3
.gitignore
vendored
3
.gitignore
vendored
|
|
@ -11,7 +11,8 @@ __pycache__/
|
|||
|
||||
# website
|
||||
website/output/
|
||||
website/data/
|
||||
website/data/*
|
||||
!website/data/pypi_name_overrides.json
|
||||
|
||||
# agents
|
||||
.playwright-cli/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue