ask-term 0.1.0b1__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.
- ask_term-0.1.0b1/LICENSE +21 -0
- ask_term-0.1.0b1/MANIFEST.in +4 -0
- ask_term-0.1.0b1/PKG-INFO +87 -0
- ask_term-0.1.0b1/README.md +42 -0
- ask_term-0.1.0b1/pyproject.toml +42 -0
- ask_term-0.1.0b1/setup.cfg +4 -0
- ask_term-0.1.0b1/src/ask_cli/__init__.py +2 -0
- ask_term-0.1.0b1/src/ask_cli/cli.py +931 -0
- ask_term-0.1.0b1/src/ask_cli/config.py +68 -0
- ask_term-0.1.0b1/src/ask_cli/constants.py +1 -0
- ask_term-0.1.0b1/src/ask_cli/core.py +142 -0
- ask_term-0.1.0b1/src/ask_cli/flexible.py +86 -0
- ask_term-0.1.0b1/src/ask_cli/providers/__init__.py +10 -0
- ask_term-0.1.0b1/src/ask_cli/providers/api_key_resolver.py +33 -0
- ask_term-0.1.0b1/src/ask_cli/providers/catalog.py +40 -0
- ask_term-0.1.0b1/src/ask_cli/providers/custom.py +54 -0
- ask_term-0.1.0b1/src/ask_cli/providers/discover.py +63 -0
- ask_term-0.1.0b1/src/ask_cli/providers/gemini.py +50 -0
- ask_term-0.1.0b1/src/ask_cli/providers/registry.py +114 -0
- ask_term-0.1.0b1/src/ask_cli/storage/__init__.py +1 -0
- ask_term-0.1.0b1/src/ask_cli/storage/providers.py +195 -0
- ask_term-0.1.0b1/src/ask_cli/storage/sessions.py +72 -0
- ask_term-0.1.0b1/src/ask_cli/ui/__init__.py +1 -0
- ask_term-0.1.0b1/src/ask_cli/ui/console.py +116 -0
- ask_term-0.1.0b1/src/ask_cli/ui/formatters.py +192 -0
- ask_term-0.1.0b1/src/ask_cli/util/__init__.py +1 -0
- ask_term-0.1.0b1/src/ask_cli/util/paths.py +17 -0
- ask_term-0.1.0b1/src/ask_term.egg-info/PKG-INFO +87 -0
- ask_term-0.1.0b1/src/ask_term.egg-info/SOURCES.txt +31 -0
- ask_term-0.1.0b1/src/ask_term.egg-info/dependency_links.txt +1 -0
- ask_term-0.1.0b1/src/ask_term.egg-info/entry_points.txt +2 -0
- ask_term-0.1.0b1/src/ask_term.egg-info/requires.txt +1 -0
- ask_term-0.1.0b1/src/ask_term.egg-info/top_level.txt +1 -0
ask_term-0.1.0b1/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 Marc Badiam
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: ask-term
|
|
3
|
+
Version: 0.1.0b1
|
|
4
|
+
Summary: CLI for multi-provider LLMs with persistent sessions
|
|
5
|
+
Author: Marc Badiam
|
|
6
|
+
License: MIT License
|
|
7
|
+
|
|
8
|
+
Copyright (c) 2026 Marc Badiam
|
|
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/marcbadiam/ask-cli
|
|
29
|
+
Project-URL: Issues, https://github.com/marcbadiam/ask-cli/issues
|
|
30
|
+
Keywords: cli,gemini,chat,terminal
|
|
31
|
+
Classifier: Development Status :: 4 - Beta
|
|
32
|
+
Classifier: Environment :: Console
|
|
33
|
+
Classifier: License :: OSI Approved :: MIT License
|
|
34
|
+
Classifier: Programming Language :: Python :: 3
|
|
35
|
+
Classifier: Programming Language :: Python :: 3 :: Only
|
|
36
|
+
Classifier: Programming Language :: Python :: 3.9
|
|
37
|
+
Classifier: Programming Language :: Python :: 3.10
|
|
38
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
39
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
40
|
+
Requires-Python: >=3.9
|
|
41
|
+
Description-Content-Type: text/markdown
|
|
42
|
+
License-File: LICENSE
|
|
43
|
+
Requires-Dist: questionary>=1.10.0
|
|
44
|
+
Dynamic: license-file
|
|
45
|
+
|
|
46
|
+
> **⚠️ ADVERTENCIA (BETA)**
|
|
47
|
+
>
|
|
48
|
+
> Este proyecto está en fase Beta. Puede contener errores graves y su comportamiento o las integraciones con servicios externos pueden cambiar sin previo aviso. Úsalo bajo tu propia responsabilidad y riesgo. No se ofrecen garantías de ningún tipo.
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
# ask-term
|
|
52
|
+
|
|
53
|
+
**Status:** Beta. This package may contain undocumented errors and incomplete features.
|
|
54
|
+
|
|
55
|
+
Animated CLI for multi-provider LLMs with persistent sessions.
|
|
56
|
+
|
|
57
|
+
## Installation
|
|
58
|
+
|
|
59
|
+
You can install ask-term from PyPI:
|
|
60
|
+
|
|
61
|
+
```bash
|
|
62
|
+
pip install ask-term
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
## Usage
|
|
66
|
+
|
|
67
|
+
Most common commands:
|
|
68
|
+
|
|
69
|
+
```bash
|
|
70
|
+
ask "quick your question here"
|
|
71
|
+
cat log.log | ask "question about the log"
|
|
72
|
+
ask
|
|
73
|
+
```
|
|
74
|
+
- The last command (`ask`) opens the main interactive menu.
|
|
75
|
+
|
|
76
|
+
## Environment
|
|
77
|
+
|
|
78
|
+
This package does not expose an API itself, but interacts with third-party APIs.
|
|
79
|
+
|
|
80
|
+
Currently, only Gemini (Google AI Studio) integration is enabled:
|
|
81
|
+
|
|
82
|
+
```bash
|
|
83
|
+
export MY_GEMINI_API_KEY="..." # Your Google AI Studio API Key (Gemini)
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
Other providers (OpenAI, DeepSeek, Moonshot, Anthropic, Mistral) are not yet available in public releases.
|
|
87
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
> **⚠️ ADVERTENCIA (BETA)**
|
|
2
|
+
>
|
|
3
|
+
> Este proyecto está en fase Beta. Puede contener errores graves y su comportamiento o las integraciones con servicios externos pueden cambiar sin previo aviso. Úsalo bajo tu propia responsabilidad y riesgo. No se ofrecen garantías de ningún tipo.
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
# ask-term
|
|
7
|
+
|
|
8
|
+
**Status:** Beta. This package may contain undocumented errors and incomplete features.
|
|
9
|
+
|
|
10
|
+
Animated CLI for multi-provider LLMs with persistent sessions.
|
|
11
|
+
|
|
12
|
+
## Installation
|
|
13
|
+
|
|
14
|
+
You can install ask-term from PyPI:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
pip install ask-term
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## Usage
|
|
21
|
+
|
|
22
|
+
Most common commands:
|
|
23
|
+
|
|
24
|
+
```bash
|
|
25
|
+
ask "quick your question here"
|
|
26
|
+
cat log.log | ask "question about the log"
|
|
27
|
+
ask
|
|
28
|
+
```
|
|
29
|
+
- The last command (`ask`) opens the main interactive menu.
|
|
30
|
+
|
|
31
|
+
## Environment
|
|
32
|
+
|
|
33
|
+
This package does not expose an API itself, but interacts with third-party APIs.
|
|
34
|
+
|
|
35
|
+
Currently, only Gemini (Google AI Studio) integration is enabled:
|
|
36
|
+
|
|
37
|
+
```bash
|
|
38
|
+
export MY_GEMINI_API_KEY="..." # Your Google AI Studio API Key (Gemini)
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
Other providers (OpenAI, DeepSeek, Moonshot, Anthropic, Mistral) are not yet available in public releases.
|
|
42
|
+
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
[build-system]
|
|
2
|
+
requires = ["setuptools>=68", "wheel"]
|
|
3
|
+
build-backend = "setuptools.build_meta"
|
|
4
|
+
|
|
5
|
+
[project]
|
|
6
|
+
name = "ask-term"
|
|
7
|
+
version = "0.1.0b1"
|
|
8
|
+
description = "CLI for multi-provider LLMs with persistent sessions"
|
|
9
|
+
readme = "README.md"
|
|
10
|
+
license = { file = "LICENSE" }
|
|
11
|
+
requires-python = ">=3.9"
|
|
12
|
+
dependencies = [
|
|
13
|
+
"questionary>=1.10.0"
|
|
14
|
+
]
|
|
15
|
+
authors = [
|
|
16
|
+
{ name = "Marc Badiam" }
|
|
17
|
+
]
|
|
18
|
+
keywords = ["cli", "gemini", "chat", "terminal"]
|
|
19
|
+
classifiers = [
|
|
20
|
+
"Development Status :: 4 - Beta",
|
|
21
|
+
"Environment :: Console",
|
|
22
|
+
"License :: OSI Approved :: MIT License",
|
|
23
|
+
"Programming Language :: Python :: 3",
|
|
24
|
+
"Programming Language :: Python :: 3 :: Only",
|
|
25
|
+
"Programming Language :: Python :: 3.9",
|
|
26
|
+
"Programming Language :: Python :: 3.10",
|
|
27
|
+
"Programming Language :: Python :: 3.11",
|
|
28
|
+
"Programming Language :: Python :: 3.12"
|
|
29
|
+
]
|
|
30
|
+
|
|
31
|
+
[project.urls]
|
|
32
|
+
Homepage = "https://github.com/marcbadiam/ask-cli"
|
|
33
|
+
Issues = "https://github.com/marcbadiam/ask-cli/issues"
|
|
34
|
+
|
|
35
|
+
[project.scripts]
|
|
36
|
+
ask = "ask_cli.cli:main"
|
|
37
|
+
|
|
38
|
+
[tool.setuptools]
|
|
39
|
+
package-dir = {"" = "src"}
|
|
40
|
+
|
|
41
|
+
[tool.setuptools.packages.find]
|
|
42
|
+
where = ["src"]
|