Clippy AI
Clippy AI is a set of command-line tools designed to make your life easier when working with AI, time tracking, and more.
Features
- AI Assistance: Send prompts to OpenAI models and get responses directly in your terminal
- Time Tracking: Integrate with TMetric and Harvest for seamless time entry management
- Configuration Management: Easy setup for API keys and preferences
Installation
You can install Clippy AI directly from PyPI:
pip install clippy-ai
Usage
To use Clippy AI, you can run the following command:
clippy --version
To run the script and display the available commands:
%> clippy
Usage: clippy [OPTIONS] COMMAND [ARGS]...
Options:
--version Show the version and exit.
--help Show this message and exit.
Commands:
configure
ai
cmd
time
Configure the tool
The first time you run the tool you will be prompted to configure it. You will need to provide your OpenAI API key. You can do that by running the clippy configure command.
clippy configure
Functions
Currently the tool has the following functions:
ai: Send a prompt to OpenAI and get a responsecmd: Send a prompt to OpenAI and get a response that executes a commandconfigure: Configure the OpenAI API keytime: Track time spent on a task
AI Assistant
The ai command allows you to send prompts directly to OpenAI and get responses:
clippy ai "What is the capital of France?"
Command Execution
The cmd command allows you to send prompts to OpenAI and get a response that executes a command:
clippy cmd "List all files in the current directory"
Time Tracking
Time tracking can be configured to use TMetric and/or Harvest Tools.
The time command allows you to track time spent on a task:
clippy time -p "Development task, worked from 9-11 today"
Release files for clippy-ai 0.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| clippy_ai-0.1.5.tar.gz | 10.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| clippy_ai-0.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 25.5 kB
Release files / clippy_ai-0.1.5.tar.gz
| Download URL | clippy_ai-0.1.5.tar.gz |
|---|---|
| Size | 10.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3800f518c52e3b2cfc37b0af12b0c60d7e2d2df60c37eb7515ae929aff84cd39
|
|
BLAKE2b-256 checksum How to use checksums |
17fd8001ff480580169fa49cd0891c966ea5727264978ad024a16d8ea872b218
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.1 CPython/3.10.16 Linux/6.8.0-1021-azure
|
Release files / clippy_ai-0.1.5-py3-none-any.whl
| Download URL | clippy_ai-0.1.5-py3-none-any.whl |
|---|---|
| Size | 14.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b5d138cc33e2ac3417c2747e5baa9e9597f87335d7cf127342e12e2294e138f5
|
|
BLAKE2b-256 checksum How to use checksums |
79844322025799b9d409dd54f6643ad3212b8a37b8395760e2970ff7c67f4811
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.0.1 CPython/3.10.16 Linux/6.8.0-1021-azure
|