Skip to main content

AdoptRank CLI

AdoptRank finds open-source repositories that fit the project you are actually building and exposes a live adoption leaderboard backed by real GitHub and PyPI observations.

Install

pipx install adoptrank

Python 3.11–3.14 is supported for the CLI. The optional model-serving stack uses Python 3.12 in production.

Context-aware search

Run the command inside a local project:

adoptrank find "a streaming anomaly detector that fits this codebase"

The scanner sends only a bounded structured summary of languages, dependencies, frameworks, and symbols. It skips ignored paths, build/dependency directories, known credential files, and files matching secret patterns. Inspect the exact payload without sending it with:

adoptrank find "your query" --dry-run

Live leaderboard

adoptrank leaderboard --language Python --sort momentum
adoptrank leaderboard --owner openai --window 7

Results contain simple direct GitHub links. The hosted Vercel proxy supplies the private model-service credential, so CLI users do not need an AdoptRank API key.

Experimental coding-agent context

Build a task-specific evidence pack from safe local source excerpts and ranked GitHub repositories:

adoptrank context "add idempotent Stripe webhook retries" --budget 8000

Use --json for integrations and --no-external for a fully local retrieval run. Token counts are portable estimates until provider-reported telemetry is integrated; the project does not yet claim measured Claude token savings.

Claude Code launcher

# Inspect the bounded context without invoking Claude.
adoptrank claude "Add idempotent payment retries" --path . --budget 8000 --dry-run

# Start Claude Code with the context pack.
adoptrank claude "Add idempotent payment retries" --path . --budget 8000

The launcher writes only redacted metadata—context hash, selected paths, budget, and exit status—to .adoptrank/claude-runs/. --print also records provider usage and later file-read paths/tool-call counts, never source or tool output.

Web application: https://adoptrank.vercel.app

Source and documentation: https://github.com/Kairavparikh/adoptrank

Metadata

Release files for adoptrank 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for adoptrank 0.2.1
File Size Uploaded
adoptrank-0.2.1.tar.gz 63.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for adoptrank 0.2.1
File Interpreter ABI Platform
adoptrank-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 130.5 kB

Release files / adoptrank-0.2.1.tar.gz

Download URL adoptrank-0.2.1.tar.gz
Size 63.5 kB
Tags Source
SHA-256 checksum
How to use checksums
8b7b7cab218c0f02db615484f3b8ab777697786fe82ccdf800c973614a8449a4
BLAKE2b-256 checksum
How to use checksums
779cbd9d75e728a69d2bf2bff94476c4af48da506da5231a9b85fbdef0f0847f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 8, 2026.

Transparency log

Release files / adoptrank-0.2.1-py3-none-any.whl

Download URL adoptrank-0.2.1-py3-none-any.whl
Size 67.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d529ecf022809b94aa66ec06809d01d32eb0821d7cb100f1ea8d99e42ac3a48b
BLAKE2b-256 checksum
How to use checksums
01eb5632eeb8efa32637c4f85bb37ade6e21f4567b93f48b206a43fb14546de5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Aug 8, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page