🔮 Shell Whisperer 🔮
Shell Whisperer is a command-line tool that generates CLI (Command Line Interface) commands based on natural language input. Powered by OpenAI's GPT-3.5-turbo language model, Shell Whisperer can understand a wide range of tasks described in plain English and provide the corresponding shell commands. Optionally, it can also provide explanations of how the generated commands work.
Features
- Generate shell commands based on natural language descriptions.
- Supports a variety of tasks, from file management to system administration.
- Option to provide explanations for the generated commands.
- User-friendly (🧢) command-line interface.
Installation
To install Shell Whisperer, you can use pip, the Python package manager. We recommend installing Shell Whisperer in a virtual environment to isolate it from your system Python environment.
Creating a Virtual Environment To create a virtual environment, follow these steps:
# Navigate to your desired directory
cd /path/to/directory
# Create a virtual environment named 'venv'
python3 -m venv venv
# Activate the virtual environment
source venv/bin/activate # On macOS and Linux
venv\Scripts\activate # On Windows
Installing Shell Whisperer
With the virtual environment activated, you can install Shell Whisperer from PyPI using the following command:
pip install shell-whisperer
This will download and install Shell Whisperer and its dependencies.
Usage
Once installed, you can use the whisperer command (or the entry point you defined) to interact with Shell Whisperer. Here's an example of how to use the tool:
Ask Shell Whisperer to generate a command
whisperer request "list all files in the current directory"
You can also request an explanation of the generated command
whisperer request "list all files in the current directory" --explain
Contributing
I welcome contributions to Shell Whisperer! If you encounter any issues or have feature requests, please feel free to open an issue on the project's repository.
License
Shell Whisperer is released under the MIT License.
Metadata
Release files for shell-whisperer 0.1.3
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 |
|---|---|---|---|---|
| shell_whisperer-0.1.3.tar.gz | 3.9 kB | Without provenance | Details for shell_whisperer-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| shell_whisperer-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for shell_whisperer-0.1.3-py3-none-any.whl |
Total release size: 9.0 kB
Release files / shell_whisperer-0.1.3.tar.gz
| Download URL | shell_whisperer-0.1.3.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2ceaf4820884768c7733026db36d473226fa0c0b93160795dc2d34f4eff6f53
|
|
BLAKE2b-256 checksum How to use checksums |
713aa18226b8c8e911be7e709cef916233e063da1a0f78b240803a00441258c0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.8.8 Darwin/22.4.0
|
Release files / shell_whisperer-0.1.3-py3-none-any.whl
| Download URL | shell_whisperer-0.1.3-py3-none-any.whl |
|---|---|
| Size | 5.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3e61982b9769a1e6aa775e7832f5206d93c6179c497db69c11726db1bd6d586c
|
|
BLAKE2b-256 checksum How to use checksums |
dc79518478594dca83c1acb925fe322304046aae44e37d92c8bc185e19688b3b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.4.2 CPython/3.8.8 Darwin/22.4.0
|
Security for shell-whisperer 0.1.3
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.