Skip to main content

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 .

Metadata

Release files for termhand 0.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for termhand 0.2.1
File Size Uploaded
termhand-0.2.1.tar.gz 3.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for termhand 0.2.1
File Interpreter ABI Platform
termhand-0.2.1-py3-none-any.whl Python 3 none any Details

Total release size: 7.5 kB

Release files / termhand-0.2.1.tar.gz

Download URL termhand-0.2.1.tar.gz
Size 3.5 kB
Tags Source
SHA-256 checksum
How to use checksums
5ed0b1e0893e728ec4d0d9b15fbdc6749f7bc93ccd949592c68faab427a71fee
BLAKE2b-256 checksum
How to use checksums
cd79a13afd6f7e83bb0d59571a75d1d0ef1949ca5b6e840db1e8d89bc7a7103a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Release files / termhand-0.2.1-py3-none-any.whl

Download URL termhand-0.2.1-py3-none-any.whl
Size 3.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
537c6172e0dfcf1ede0912eed144a0d37a4a8caeb31a02d0c27fa818e91ef635
BLAKE2b-256 checksum
How to use checksums
5b63d3a43d091dcfe05cadee21d1dd1fea4cfd3dabce6699f3b820495182bb0a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.0 CPython/3.12.3

Release history Release notifications | RSS feed

This release

0.2.1 This release

2 release files

0.2

3 release files

0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page