Skip to main content

Default template for PDM package

Project description

LLM API Scope (apiscope)

A command-line tool designed for Large Language Models (LLMs) and developers to index, search, and query structured API documentation (e.g., OpenAPI specifications). It assists LLMs in obtaining API information quickly and accurately within automated workflows.

Installation

apiscope is a command-line tool, not a Python library. For isolated installation without affecting your system Python, we recommend using pipx:

# don't use pip
pipx install llm-api-scope

Command Usage

apiscope init

Initialize the project by creating a configuration file (apiscope.ini) and cache directory (.apiscope/cache/). It automatically adds .apiscope/ to your project's .gitignore.

apiscope list

List all configured API specifications by displaying the <name> = <source> pairs from the configuration file.

apiscope search <name> <keywords> [--force]

Search within a specific API specification (<name>) for endpoints matching the given keywords. Returns the total count and displays up to 10 matching <path>:<method> identifiers.

apiscope describe <name> <path:method> [--force]

Generate and output a concise Markdown guide for using the specified endpoint (<path:method>) from the API specification (<name>). The guide includes essential calling information such as parameters, request body, and response structure.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

llm_api_scope-0.2.0.tar.gz (15.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

llm_api_scope-0.2.0-py3-none-any.whl (18.6 kB view details)

Uploaded Python 3

File details

Details for the file llm_api_scope-0.2.0.tar.gz.

File metadata

  • Download URL: llm_api_scope-0.2.0.tar.gz
  • Upload date:
  • Size: 15.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for llm_api_scope-0.2.0.tar.gz
Algorithm Hash digest
SHA256 b4e8768b262b63c7afd74aae9c0655c2f44c91a661cfd796ad537c9b3674dccb
MD5 71e7902d8df7a8d36889207a24b9ff58
BLAKE2b-256 4f17ce80acddcc948cd39aa5da263ce49df223693137cf02c55a48069e99f36a

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_api_scope-0.2.0.tar.gz:

Publisher: publish.yml on D7x7z49/llm-api-scope

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file llm_api_scope-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: llm_api_scope-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 18.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for llm_api_scope-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f0b517d5c3b0fd088074955eca03867792f910e49d4bc74232efa936109fb5a1
MD5 6d493d0348e1ac1f853f19350dcc282b
BLAKE2b-256 02c001cbde78dd13a5c4893e4ede28972a614089b5f81ab5cb50d5bb13c7589a

See more details on using hashes here.

Provenance

The following attestation bundles were made for llm_api_scope-0.2.0-py3-none-any.whl:

Publisher: publish.yml on D7x7z49/llm-api-scope

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page