Skip to main content

ops-registry-cli

One offline index over the CANN operator repositories — ops-blas, ops-math, ops-nn, ops-cv, ops-fft, ops-solver, ops-rand, ops-tensor, ops-sparse, ops-gnn, ops-transformer, ops-multimodal-fusion, ops-collections, sip — answering: which operator exists, in which repository, for which architecture?

  • op <name> — exact operator lookup across all repos and archs (e.g. op syrk → ops-blas arch22 + arch35)
  • search — full-text over operator READMEs, with --repo / --arch filters
  • read — read any indexed README
  • init — shallow-clone the repositories and build the index

Install

pip install ops-registry-cli

Quick start

ops-registry init                    # clone all repos (shallow) + index; or --repo ops-blas to select
ops-registry op syrk                 # where does syrk live? which archs?
ops-registry search "矩阵分解"        # full-text search
ops-registry search gemm --arch 22   # arch filter
ops-registry read ops-blas/blas/syrk/arch22/README.md

Already have clones in one directory? ops-registry --root /path/to/repos ... or set OPS_REGISTRY_ROOT. The index rebuilds automatically when any repo HEAD changes.

This project contains the query client only. Content comes from the cann/ops-* repositories at runtime and follows their own license terms.

License

MIT

Release files for ops-registry-cli 0.1.0

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

Source distribution (sdist)

Source distribution for ops-registry-cli 0.1.0
File Size Uploaded
ops_registry_cli-0.1.0.tar.gz 8.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ops-registry-cli 0.1.0
File Interpreter ABI Platform
ops_registry_cli-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 17.4 kB

Release files / ops_registry_cli-0.1.0.tar.gz

Download URL ops_registry_cli-0.1.0.tar.gz
Size 8.1 kB
Tags Source
SHA-256 checksum
How to use checksums
b86edd09936fd03889978955a3b5aeebf5afeb6075db5fbdb44317e6f4a1387d
BLAKE2b-256 checksum
How to use checksums
d32cb0064e717e4c6cab77d548243020d7e93c11cdd7da7b6bdc146199aecd70
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.12

Release files / ops_registry_cli-0.1.0-py3-none-any.whl

Download URL ops_registry_cli-0.1.0-py3-none-any.whl
Size 9.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
767af9b0d92c93b0b5d0a02f8c6f4ed20879050a92ae3938f74807c92fa7a3af
BLAKE2b-256 checksum
How to use checksums
166d1705cfb81fd9b03a1eec9b2f2a4930ce4abf346d302c5c6ec3612373d439
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.12.12

Release history Release notifications | RSS feed

This release

0.1.0 This release

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