Skip to main content

asc-devkit-docs-cli

Query the Ascend asc-devkit repository from the command line: full-text documentation search (FTS5) plus source code symbol lookup, in one tool.

  • search / api / section — docs under docs/api + docs/guide (about 3,000 markdown files)
  • code / read — symbol lookup in include/ impl/ examples/ (ripgrep-based)
  • whereis — full picture of one symbol: doc page + declaration + implementations (per-arch variants) + examples
  • init — detect the locally installed CANN version, clone the matching asc-devkit branch, build the index

Install

pip install asc-devkit-docs-cli

Requires Python >= 3.10 and ripgrep for code queries.

Quick start

devkit-docs init                     # detect CANN, clone matching branch, index docs
devkit-docs api GatherMask           # doc page first; falls back to code declarations
devkit-docs code GatherMask          # decl + impl (dav_* variants) + examples
devkit-docs whereis GatherMask       # everything at once
devkit-docs search 双缓冲             # full-text over api + guide docs

No local CANN? devkit-docs init --cann-version 9.1.0.

This project contains the query client only. Documentation, source code, and indexes come from the asc-devkit repository at runtime and follow its own license terms.

License

MIT

Release files for asc-devkit-docs-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 asc-devkit-docs-cli 0.1.0
File Size Uploaded
asc_devkit_docs_cli-0.1.0.tar.gz 10.7 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for asc-devkit-docs-cli 0.1.0
File Interpreter ABI Platform
asc_devkit_docs_cli-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.0 kB

Release files / asc_devkit_docs_cli-0.1.0.tar.gz

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

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

Download URL asc_devkit_docs_cli-0.1.0-py3-none-any.whl
Size 11.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4e7682955397a3b141b85ec774e68eb095267e252b8f0db960375e1fcc67e107
BLAKE2b-256 checksum
How to use checksums
0771e2c035a9a9e1a096a3dd72aef3ca38a5b80606e1c64c268d647867ca9abb
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

0.1.1

2 release files

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