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.1.2.tar.gz (15.2 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.1.2-py3-none-any.whl (18.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: llm_api_scope-0.1.2.tar.gz
  • Upload date:
  • Size: 15.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.26.4 CPython/3.13.5 Linux/6.12.63+deb13-amd64

File hashes

Hashes for llm_api_scope-0.1.2.tar.gz
Algorithm Hash digest
SHA256 0d09c9b3ef58bfea33d3aa01553a6946f0a8c80d1283cb3e221e09239f87da77
MD5 aa6412e6608b0a50140d2bf9d5c56505
BLAKE2b-256 5b4c1f0f3e6fa8a7c9bd6a32c1b7d465520cee8e497f1ee113d5233331a6030e

See more details on using hashes here.

File details

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

File metadata

  • Download URL: llm_api_scope-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 18.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.26.4 CPython/3.13.5 Linux/6.12.63+deb13-amd64

File hashes

Hashes for llm_api_scope-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 36c5a822a51b5055ec107172a061db9fd9298ff96416c9be76854c548d1a04c6
MD5 8ed097ea254f50ad7abd1683f5104369
BLAKE2b-256 b4219bc164c2ccba727c18bd1de9946a5a149cf2bb26474a1521d9a375004312

See more details on using hashes here.

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