pr-search-cli
Standalone CLI client for the PR search API.
Default deployment target:
- API:
https://evalstate-openclaw-pr-api.hf.space - repo:
openclaw/openclaw
When --base-url is omitted, the CLI now infers the Hugging Face Space host from --repo
by convention:
openclaw/openclaw->https://evalstate-openclaw-pr-api.hf.spacehuggingface/transformers->https://evalstate-transformers-pr-api.hf.spacehuggingface/diffusers->https://evalstate-diffusers-pr-api.hf.space
You can also set a default API host with:
export PR_SEARCH_BASE_URL=https://evalstate-transformers-pr-api.hf.space
Resolution order:
- explicit
--base-url PR_SEARCH_BASE_URL- inferred host from
--repo - fallback default deployment target
Install / run
Run without installing permanently:
uvx pr-search-cli status
uvx pr-search-cli code similar 67144
uvx pr-search-cli code clusters for-pr 67144
uvx pr-search-cli issues list
uvx pr-search-cli contributors show alice
Run the pr-search script from this package explicitly:
uvx --from pr-search-cli pr-search status
CLI overview
pr-search status
pr-search code status
pr-search code similar <pr-number>
pr-search code clusters list
pr-search code clusters show <cluster-id>
pr-search code clusters for-pr <pr-number>
pr-search issues status
pr-search issues list
pr-search issues show <cluster-id>
pr-search issues for-pr <pr-number>
pr-search issues contains-pr <pr-number> [cluster-id]
pr-search issues duplicate-prs
pr-search issues best
pr-search contributors status
pr-search contributors list
pr-search contributors show <login>
pr-search contributors risk <login>
The old repo ..., similar, clusters, cluster ..., and analysis ...
commands are still accepted as hidden compatibility aliases.
Useful flags
Global flags:
--base-url-R, --repoPR_SEARCH_BASE_URLenvironment variable--format text|json|jsonl|ids--json(compatibility alias for--format json)
Lookup commands also support:
--mode auto|indexed|live
Issue-cluster commands also support:
--variant auto|hybrid|deterministic
Examples
pr-search status
pr-search -R huggingface/transformers status
pr-search -R huggingface/transformers code similar 44940
pr-search -R huggingface/diffusers issues list
PR_SEARCH_BASE_URL=https://evalstate-transformers-pr-api.hf.space pr-search status
pr-search code status
pr-search code similar 67144 --mode live
pr-search code clusters list --limit 20
pr-search issues list --variant auto
pr-search issues for-pr 67144
pr-search issues contains-pr 67144 issue-cluster-44861-3
pr-search contributors list --format jsonl
pr-search contributors risk alice --format json
pr-search --base-url http://127.0.0.1:7860 status
Output formats
text- stable key/value blocks and tables for humans and shell users
json- full API payload
jsonl- one JSON object per list row when the command returns a collection
ids- just the primary identifiers from list-like commands
Publish
Build artifacts:
uv build
Publish to PyPI:
uv publish
Metadata
Release files for pr-search-cli 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pr_search_cli-0.1.4.tar.gz | 18.0 kB | Without provenance | Details for pr_search_cli-0.1.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pr_search_cli-0.1.4-py3-none-any.whl | Python 3 | none | any | Details for pr_search_cli-0.1.4-py3-none-any.whl |
Total release size: 32.1 kB
Release files / pr_search_cli-0.1.4.tar.gz
| Download URL | pr_search_cli-0.1.4.tar.gz |
|---|---|
| Size | 18.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
cb16aee1177b7189b26dd98e6f01ee784a80309cded60c3368534053edc9e3a1
|
|
BLAKE2b-256 checksum How to use checksums |
77442b876417e69d34ee751eea4822cb3a10074589b43e18be6ddf0c4fdcb1c6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / pr_search_cli-0.1.4-py3-none-any.whl
| Download URL | pr_search_cli-0.1.4-py3-none-any.whl |
|---|---|
| Size | 14.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
602a90f924faf2ca8875040e1e9b69b8d2515ec23a76378e2fe5c0fe64171527
|
|
BLAKE2b-256 checksum How to use checksums |
74273bcbf55f7ab29de80108111770803f0424f20ee6211a130f5cdccfd215cb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.1 {"installer":{"name":"uv","version":"0.11.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"22.04","id":"jammy","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for pr-search-cli 0.1.4
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.