Blue Shell
Blue Shell is a AI Chat Shell for local service. 0.0.1 version support ollama
Installation
pip install blueshell
Usage
At simplest, run
python -m blueshell.shell -m "codellama"
If ollama isn't listening default port, for example 11435. we could pass a url parameter like this:
python -m blueshell.shell -m "codellama" --url http://127.0.0.1:11435
More options could run help:
$ python -m blueshell.shell --help
usage: Blue Shell [-h] [--url URL] [-p PROMPT] [-m MODEL]
[-f {markdown,plain,json}] [-s SYSTEM]
A AI assistant for local ai service
options:
-h, --help show this help message and exit
--url URL
-p PROMPT, --prompt PROMPT
-m MODEL, --model MODEL
-f {markdown,plain,json}, --format {markdown,plain,json}
-s SYSTEM, --system SYSTEM
Powered By Python
You can list all models in ollama:
$ python -m blueshell.list
List has a option is url:
$ python -m blueshell.list --url http://127.0.0.1:11435
What's New
0.0.1
support ollama
0.0.2
document typo
0.0.3
print feedback as markdown
0.0.4
fixed dependencies miss
0.0.5
- add list command
- add format argument
- C-c interrupt repl and continue
- Improved User Experience
0.0.6
support json format pretty
0.0.7
save history in ~/.blueshell_history
Metadata
Release files for blueshell 0.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| blueshell-0.0.7.tar.gz | 4.7 kB | Without provenance | Details for blueshell-0.0.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| blueshell-0.0.7-py3-none-any.whl | Python 3 | none | any | Details for blueshell-0.0.7-py3-none-any.whl |
Total release size: 10.3 kB
Release files / blueshell-0.0.7.tar.gz
| Download URL | blueshell-0.0.7.tar.gz |
|---|---|
| Size | 4.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f3b184229cf35bda4c7f08e6b54a726b004efd6dde46202837c5297825087232
|
|
BLAKE2b-256 checksum How to use checksums |
14bffecdb397296f292d5e17dfa438a3363d36bed239b268ae3c782e60ca4277
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Release files / blueshell-0.0.7-py3-none-any.whl
| Download URL | blueshell-0.0.7-py3-none-any.whl |
|---|---|
| Size | 5.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7cbbbdaca13a138637de084fa9fd4266e954b3a8e4de693a13e312dd48579ac6
|
|
BLAKE2b-256 checksum How to use checksums |
7d5424076263d76c35a819cd7dd17d5ef7657bfb9bb92e9443a7a13207084628
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.12
|
Security for blueshell 0.0.7
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.