llm-api-scope 0.2.0__tar.gz → 0.2.1__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- llm_api_scope-0.2.1/PKG-INFO +73 -0
- llm_api_scope-0.2.1/llm_api_scope.egg-info/PKG-INFO +73 -0
- {llm_api_scope-0.2.0 → llm_api_scope-0.2.1}/pyproject.toml +20 -5
- llm_api_scope-0.2.0/PKG-INFO +0 -40
- llm_api_scope-0.2.0/llm_api_scope.egg-info/PKG-INFO +0 -40
- {llm_api_scope-0.2.0 → llm_api_scope-0.2.1}/LICENSE +0 -0
- {llm_api_scope-0.2.0 → llm_api_scope-0.2.1}/README.md +0 -0
- {llm_api_scope-0.2.0 → llm_api_scope-0.2.1}/apiscope/__init__.py +0 -0
- {llm_api_scope-0.2.0 → llm_api_scope-0.2.1}/apiscope/cli.py +0 -0
- {llm_api_scope-0.2.0 → llm_api_scope-0.2.1}/apiscope/commands/__init__.py +0 -0
- {llm_api_scope-0.2.0 → llm_api_scope-0.2.1}/apiscope/commands/describe.py +0 -0
- {llm_api_scope-0.2.0 → llm_api_scope-0.2.1}/apiscope/commands/init.py +0 -0
- {llm_api_scope-0.2.0 → llm_api_scope-0.2.1}/apiscope/commands/list.py +0 -0
- {llm_api_scope-0.2.0 → llm_api_scope-0.2.1}/apiscope/commands/search.py +0 -0
- {llm_api_scope-0.2.0 → llm_api_scope-0.2.1}/apiscope/core/__init__.py +0 -0
- {llm_api_scope-0.2.0 → llm_api_scope-0.2.1}/apiscope/core/config.py +0 -0
- {llm_api_scope-0.2.0 → llm_api_scope-0.2.1}/apiscope/core/output.py +0 -0
- {llm_api_scope-0.2.0 → llm_api_scope-0.2.1}/apiscope/core/parser.py +0 -0
- {llm_api_scope-0.2.0 → llm_api_scope-0.2.1}/llm_api_scope.egg-info/SOURCES.txt +0 -0
- {llm_api_scope-0.2.0 → llm_api_scope-0.2.1}/llm_api_scope.egg-info/dependency_links.txt +0 -0
- {llm_api_scope-0.2.0 → llm_api_scope-0.2.1}/llm_api_scope.egg-info/entry_points.txt +0 -0
- {llm_api_scope-0.2.0 → llm_api_scope-0.2.1}/llm_api_scope.egg-info/requires.txt +0 -0
- {llm_api_scope-0.2.0 → llm_api_scope-0.2.1}/llm_api_scope.egg-info/top_level.txt +0 -0
- {llm_api_scope-0.2.0 → llm_api_scope-0.2.1}/setup.cfg +0 -0
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: llm-api-scope
|
|
3
|
+
Version: 0.2.1
|
|
4
|
+
Summary: Command-line tool for LLMs to quickly search and understand OpenAPI endpoints
|
|
5
|
+
Author-email: D7x7z49 <85430783+D7x7z49@users.noreply.github.com>
|
|
6
|
+
License: MIT License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2026 D7x7z49
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|
|
27
|
+
|
|
28
|
+
Project-URL: Homepage, https://github.com/D7x7z49/llm-api-scope
|
|
29
|
+
Project-URL: Repository, https://github.com/D7x7z49/llm-api-scope.git
|
|
30
|
+
Project-URL: Issues, https://github.com/D7x7z49/llm-api-scope/issues
|
|
31
|
+
Keywords: openapi,api,cli,llm,swagger,endpoint,search
|
|
32
|
+
Classifier: Programming Language :: Python :: 3
|
|
33
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
34
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
35
|
+
Classifier: Operating System :: OS Independent
|
|
36
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
37
|
+
Classifier: Topic :: Utilities
|
|
38
|
+
Classifier: Development Status :: 3 - Alpha
|
|
39
|
+
Classifier: Intended Audience :: Developers
|
|
40
|
+
Requires-Python: <4.0,>=3.12
|
|
41
|
+
Description-Content-Type: text/markdown
|
|
42
|
+
License-File: LICENSE
|
|
43
|
+
Requires-Dist: click>=8.3.1
|
|
44
|
+
Requires-Dist: openapi-core>=0.22.0
|
|
45
|
+
Requires-Dist: httpx>=0.28.1
|
|
46
|
+
Dynamic: license-file
|
|
47
|
+
|
|
48
|
+
# LLM API Scope (apiscope)
|
|
49
|
+
|
|
50
|
+
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.
|
|
51
|
+
|
|
52
|
+
## Installation
|
|
53
|
+
|
|
54
|
+
apiscope is a command-line tool, not a Python library. For isolated installation without affecting your system Python, we recommend using pipx:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
# don't use pip
|
|
58
|
+
pipx install llm-api-scope
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## Command Usage
|
|
62
|
+
|
|
63
|
+
### `apiscope init`
|
|
64
|
+
Initialize the project by creating a configuration file (`apiscope.ini`) and cache directory (`.apiscope/cache/`). It automatically adds `.apiscope/` to your project's `.gitignore`.
|
|
65
|
+
|
|
66
|
+
### `apiscope list`
|
|
67
|
+
List all configured API specifications by displaying the `<name> = <source>` pairs from the configuration file.
|
|
68
|
+
|
|
69
|
+
### `apiscope search <name> <keywords> [--force]`
|
|
70
|
+
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.
|
|
71
|
+
|
|
72
|
+
### `apiscope describe <name> <path:method> [--force]`
|
|
73
|
+
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.
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: llm-api-scope
|
|
3
|
+
Version: 0.2.1
|
|
4
|
+
Summary: Command-line tool for LLMs to quickly search and understand OpenAPI endpoints
|
|
5
|
+
Author-email: D7x7z49 <85430783+D7x7z49@users.noreply.github.com>
|
|
6
|
+
License: MIT License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2026 D7x7z49
|
|
9
|
+
|
|
10
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
11
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
12
|
+
in the Software without restriction, including without limitation the rights
|
|
13
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
14
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
15
|
+
furnished to do so, subject to the following conditions:
|
|
16
|
+
|
|
17
|
+
The above copyright notice and this permission notice shall be included in all
|
|
18
|
+
copies or substantial portions of the Software.
|
|
19
|
+
|
|
20
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
21
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
22
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
23
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
24
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
25
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
26
|
+
SOFTWARE.
|
|
27
|
+
|
|
28
|
+
Project-URL: Homepage, https://github.com/D7x7z49/llm-api-scope
|
|
29
|
+
Project-URL: Repository, https://github.com/D7x7z49/llm-api-scope.git
|
|
30
|
+
Project-URL: Issues, https://github.com/D7x7z49/llm-api-scope/issues
|
|
31
|
+
Keywords: openapi,api,cli,llm,swagger,endpoint,search
|
|
32
|
+
Classifier: Programming Language :: Python :: 3
|
|
33
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
34
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
35
|
+
Classifier: Operating System :: OS Independent
|
|
36
|
+
Classifier: Topic :: Software Development :: Libraries :: Python Modules
|
|
37
|
+
Classifier: Topic :: Utilities
|
|
38
|
+
Classifier: Development Status :: 3 - Alpha
|
|
39
|
+
Classifier: Intended Audience :: Developers
|
|
40
|
+
Requires-Python: <4.0,>=3.12
|
|
41
|
+
Description-Content-Type: text/markdown
|
|
42
|
+
License-File: LICENSE
|
|
43
|
+
Requires-Dist: click>=8.3.1
|
|
44
|
+
Requires-Dist: openapi-core>=0.22.0
|
|
45
|
+
Requires-Dist: httpx>=0.28.1
|
|
46
|
+
Dynamic: license-file
|
|
47
|
+
|
|
48
|
+
# LLM API Scope (apiscope)
|
|
49
|
+
|
|
50
|
+
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.
|
|
51
|
+
|
|
52
|
+
## Installation
|
|
53
|
+
|
|
54
|
+
apiscope is a command-line tool, not a Python library. For isolated installation without affecting your system Python, we recommend using pipx:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
# don't use pip
|
|
58
|
+
pipx install llm-api-scope
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## Command Usage
|
|
62
|
+
|
|
63
|
+
### `apiscope init`
|
|
64
|
+
Initialize the project by creating a configuration file (`apiscope.ini`) and cache directory (`.apiscope/cache/`). It automatically adds `.apiscope/` to your project's `.gitignore`.
|
|
65
|
+
|
|
66
|
+
### `apiscope list`
|
|
67
|
+
List all configured API specifications by displaying the `<name> = <source>` pairs from the configuration file.
|
|
68
|
+
|
|
69
|
+
### `apiscope search <name> <keywords> [--force]`
|
|
70
|
+
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.
|
|
71
|
+
|
|
72
|
+
### `apiscope describe <name> <path:method> [--force]`
|
|
73
|
+
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.
|
|
@@ -1,15 +1,30 @@
|
|
|
1
1
|
[project]
|
|
2
2
|
name = "llm-api-scope"
|
|
3
|
-
version = "0.2.
|
|
4
|
-
description = "
|
|
3
|
+
version = "0.2.1"
|
|
4
|
+
description = "Command-line tool for LLMs to quickly search and understand OpenAPI endpoints"
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
license = {file = "LICENSE"}
|
|
5
7
|
authors = [
|
|
6
8
|
{name = "D7x7z49", email = "85430783+D7x7z49@users.noreply.github.com"},
|
|
7
9
|
]
|
|
8
|
-
|
|
10
|
+
keywords = ["openapi", "api", "cli", "llm", "swagger", "endpoint", "search"]
|
|
11
|
+
classifiers = [
|
|
12
|
+
"Programming Language :: Python :: 3",
|
|
13
|
+
"Programming Language :: Python :: 3.12",
|
|
14
|
+
"License :: OSI Approved :: MIT License",
|
|
15
|
+
"Operating System :: OS Independent",
|
|
16
|
+
"Topic :: Software Development :: Libraries :: Python Modules",
|
|
17
|
+
"Topic :: Utilities",
|
|
18
|
+
"Development Status :: 3 - Alpha",
|
|
19
|
+
"Intended Audience :: Developers",
|
|
20
|
+
]
|
|
9
21
|
requires-python = ">=3.12,<4.0"
|
|
10
|
-
|
|
11
|
-
license = {text = "MIT"}
|
|
22
|
+
dependencies = ["click>=8.3.1", "openapi-core>=0.22.0", "httpx>=0.28.1"]
|
|
12
23
|
|
|
24
|
+
[project.urls]
|
|
25
|
+
Homepage = "https://github.com/D7x7z49/llm-api-scope"
|
|
26
|
+
Repository = "https://github.com/D7x7z49/llm-api-scope.git"
|
|
27
|
+
Issues = "https://github.com/D7x7z49/llm-api-scope/issues"
|
|
13
28
|
|
|
14
29
|
[project.scripts]
|
|
15
30
|
apiscope = "apiscope.cli:cli"
|
llm_api_scope-0.2.0/PKG-INFO
DELETED
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: llm-api-scope
|
|
3
|
-
Version: 0.2.0
|
|
4
|
-
Summary: Default template for PDM package
|
|
5
|
-
Author-email: D7x7z49 <85430783+D7x7z49@users.noreply.github.com>
|
|
6
|
-
License: MIT
|
|
7
|
-
Requires-Python: <4.0,>=3.12
|
|
8
|
-
Description-Content-Type: text/markdown
|
|
9
|
-
License-File: LICENSE
|
|
10
|
-
Requires-Dist: click>=8.3.1
|
|
11
|
-
Requires-Dist: openapi-core>=0.22.0
|
|
12
|
-
Requires-Dist: httpx>=0.28.1
|
|
13
|
-
Dynamic: license-file
|
|
14
|
-
|
|
15
|
-
# LLM API Scope (apiscope)
|
|
16
|
-
|
|
17
|
-
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.
|
|
18
|
-
|
|
19
|
-
## Installation
|
|
20
|
-
|
|
21
|
-
apiscope is a command-line tool, not a Python library. For isolated installation without affecting your system Python, we recommend using pipx:
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
# don't use pip
|
|
25
|
-
pipx install llm-api-scope
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## Command Usage
|
|
29
|
-
|
|
30
|
-
### `apiscope init`
|
|
31
|
-
Initialize the project by creating a configuration file (`apiscope.ini`) and cache directory (`.apiscope/cache/`). It automatically adds `.apiscope/` to your project's `.gitignore`.
|
|
32
|
-
|
|
33
|
-
### `apiscope list`
|
|
34
|
-
List all configured API specifications by displaying the `<name> = <source>` pairs from the configuration file.
|
|
35
|
-
|
|
36
|
-
### `apiscope search <name> <keywords> [--force]`
|
|
37
|
-
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.
|
|
38
|
-
|
|
39
|
-
### `apiscope describe <name> <path:method> [--force]`
|
|
40
|
-
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.
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
Metadata-Version: 2.4
|
|
2
|
-
Name: llm-api-scope
|
|
3
|
-
Version: 0.2.0
|
|
4
|
-
Summary: Default template for PDM package
|
|
5
|
-
Author-email: D7x7z49 <85430783+D7x7z49@users.noreply.github.com>
|
|
6
|
-
License: MIT
|
|
7
|
-
Requires-Python: <4.0,>=3.12
|
|
8
|
-
Description-Content-Type: text/markdown
|
|
9
|
-
License-File: LICENSE
|
|
10
|
-
Requires-Dist: click>=8.3.1
|
|
11
|
-
Requires-Dist: openapi-core>=0.22.0
|
|
12
|
-
Requires-Dist: httpx>=0.28.1
|
|
13
|
-
Dynamic: license-file
|
|
14
|
-
|
|
15
|
-
# LLM API Scope (apiscope)
|
|
16
|
-
|
|
17
|
-
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.
|
|
18
|
-
|
|
19
|
-
## Installation
|
|
20
|
-
|
|
21
|
-
apiscope is a command-line tool, not a Python library. For isolated installation without affecting your system Python, we recommend using pipx:
|
|
22
|
-
|
|
23
|
-
```bash
|
|
24
|
-
# don't use pip
|
|
25
|
-
pipx install llm-api-scope
|
|
26
|
-
```
|
|
27
|
-
|
|
28
|
-
## Command Usage
|
|
29
|
-
|
|
30
|
-
### `apiscope init`
|
|
31
|
-
Initialize the project by creating a configuration file (`apiscope.ini`) and cache directory (`.apiscope/cache/`). It automatically adds `.apiscope/` to your project's `.gitignore`.
|
|
32
|
-
|
|
33
|
-
### `apiscope list`
|
|
34
|
-
List all configured API specifications by displaying the `<name> = <source>` pairs from the configuration file.
|
|
35
|
-
|
|
36
|
-
### `apiscope search <name> <keywords> [--force]`
|
|
37
|
-
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.
|
|
38
|
-
|
|
39
|
-
### `apiscope describe <name> <path:method> [--force]`
|
|
40
|
-
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.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|