A command-line tool that generates terminal commands from natural language prompts.
Project description
TermHand
TermHand is a command-line tool that generates terminal commands from natural language prompts.
Installation
Install from PyPI:
pip install termhand
Usage
To use TermHand, first ensure you have set up your API key. Create a configuration file at ~/.config/termhand/termhand_config.ini with the following content:
[termhand]
api_key = your_api_key_here
You can get an API Key from the Google AI Studio
Then, use TermHand from the command line:
th "How do I create a new folder with the name test?"
Development
Clone the repository and install the dependencies:
git clone https://github.com/yourusername/termhand.git
cd termhand
pip install -e .
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file termhand-0.2.1.tar.gz.
File metadata
- Download URL: termhand-0.2.1.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5ed0b1e0893e728ec4d0d9b15fbdc6749f7bc93ccd949592c68faab427a71fee
|
|
| MD5 |
1eeba04ab1b74494ed29f90913a74848
|
|
| BLAKE2b-256 |
cd79a13afd6f7e83bb0d59571a75d1d0ef1949ca5b6e840db1e8d89bc7a7103a
|
File details
Details for the file termhand-0.2.1-py3-none-any.whl.
File metadata
- Download URL: termhand-0.2.1-py3-none-any.whl
- Upload date:
- Size: 3.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
537c6172e0dfcf1ede0912eed144a0d37a4a8caeb31a02d0c27fa818e91ef635
|
|
| MD5 |
be93b7e07e70ace5259d693c859defbe
|
|
| BLAKE2b-256 |
5b63d3a43d091dcfe05cadee21d1dd1fea4cfd3dabce6699f3b820495182bb0a
|