Shell copilot - sh shell AI copilot
Project description
Shy.sh
Sh shell AI copilot
Help
Usage: shy [OPTIONS] [PROMPT]...
Arguments prompt [PROMPT]
Options
- -i Interactive mode [default false if a prompt is passed else true]
- -a Ask confirmation before executing scripts [default false]
- --configure Configure LLM
- --help Show this message and exit.
Install
pip install shy-sh
Use shy --configure
to change LLM (default use ollama - llama3.1)
api_key format for aws bedrock: region_name acces_key secret_key
Examples
> shy find all python files in this folder
🛠️ find . -type f -name '*.py'
Do you want to execute this command? [Y/n/c]:
./src/chat_models.py
./src/agent/tools.py
./src/agent/__init__.py
./src/agent/agent.py
./src/settings.py
./src/main.py
🤖: Here are all the Python files found in the current folder and its subfolders.
> shy -x convert aaa.png to jpeg and resize to 200x200
🛠️ convert aaa.png -resize 200x200 aaa.jpg
Success!
🤖: I converted the file aaa.png to JPEG format and resized it to 200x200 pixels.
> shy how many filer in this folder
🛠️ ls | wc -l
Do you want to execute this command? [Y/n/c]: c
🤖: Command copied to the clipboard!
> shy
✨: Hello, how are you?
🤖: Hello! I'm fine thanks
✨: how many filer in this folder
🛠️ ls | wc -l
Do you want to execute this command? [Y/n/c]:
5
✨: exit
🤖: 👋 Bye!
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
shy_sh-1.0.1.tar.gz
(9.1 kB
view details)
Built Distribution
shy_sh-1.0.1-py3-none-any.whl
(13.2 kB
view details)
File details
Details for the file shy_sh-1.0.1.tar.gz
.
File metadata
- Download URL: shy_sh-1.0.1.tar.gz
- Upload date:
- Size: 9.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.11.10 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dc462abda5f480aa75b6519bca556ea9e5b1f24a36d1a94f196b033fea9f803e |
|
MD5 | 0569baa43166c8003ef796383a051276 |
|
BLAKE2b-256 | b5e0f9bdfdf92bdea3ec5fa1f8d843da6a03e837690f36cec931986e71947445 |
File details
Details for the file shy_sh-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: shy_sh-1.0.1-py3-none-any.whl
- Upload date:
- Size: 13.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.4 CPython/3.11.10 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 12371d840c8c4c9b8a41ab1a7fef9f6482a326038c90b649d45f86c819264987 |
|
MD5 | 2cb289fac0732d4e0d475f6a5b6573ac |
|
BLAKE2b-256 | 14b035a0c680478b7ef7c47023df5cf925ca6d7abf07c0c4d7f9a083854ed9b4 |