Skip to content

Publish the most-wanted wheels for each target - #24

Merged
patrickballard merged 3 commits into
wheelgap:mainfrom
jwalith4418-Mj:feat/most-wanted-wheel-data
Nov 11, 2026
Merged

patrickballard merged 3 commits into
wheelgap:mainfrom
jwalith4418-Mj:feat/most-wanted-wheel-data

Conversation

@jwalith4418-Mj

@jwalith4418-Mj jwalith4418-Mj commented Nov 11, 2026 •

Copy link
Copy Markdown
Contributor

Closes #20.

Add scripts/build_most_wanted.py, a standard-library export of the top 50 packages by download rank with source or missing results for each target. Skip packages with lookup errors, retain targets with empty lists, preserve the scan timestamp, and write only the requested rank, name, version and status entry fields. Like the existing lookup builder, reject unknown scan schemas.

Run it in the site's existing assembly step and document the public JSON URL with a curl example. No site UI or committed scan-data changes.

Validation:

  • Four offline standard-library tests pass on Windows CPython 3.14.3 and Ubuntu CPython 3.12.3. They cover shuffled ranking, independent 50-entry limits, excluded statuses/errors, the CLI and empty lists, and schema rejection.
  • Ran the builder on the committed 5,000-package scan: 42 target lists, 2,100 entries. Independently checked every list with Node and compared the first five 3.13 musl-aarch64 entries with the site's current gaps filter using that same scan: scikit-learn, matplotlib, google-crc32c, playwright, pymupdf. These match; no live deployment is claimed.
  • Ran all three existing site builders on that scan too: 5,000 lookup files, badges and package pages generated successfully.
  • node --check site/app.js, Python compile checks, and git diff --check pass.

Tests: python -m unittest discover -s tests -v (no third-party test dependencies).

OpenAI Codex assisted with implementation and validation. Maintainer edits are welcome.

jwalith4418-Mj and others added 3 commits November 11, 2026 07:44
Add the requested most-wanted JSON export, nightly publication command, documentation, and offline tests for filtering and per-target limits.

Co-authored-by: OpenAI Codex <[email protected]>
…er paragraph like the rest

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@patrickballard

Copy link
Copy Markdown
Contributor

Merged, thanks @jwalith4418-Mj! The output matches #20's shape exactly. The second review re-derived the first five 3.13 musl-aarch64 entries with jq: scikit-learn, matplotlib, google-crc32c, playwright and pymupdf, the same as yours.

Before merging, I merged main into the branch (#23 had just added changes.json). I also moved the README paragraph next to that one and wrote it as one line per paragraph, like the rest of the file.

#178 from my last comment is still open for you if you'd like it.

(Review assisted by Claude.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A "most-wanted wheels" list per platform

2 participants