Skip to main content

Clippy AI is a set of command line tools that makes my life easier. YMMV

Project description

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 response
  • cmd: Send a prompt to OpenAI and get a response that executes a command
  • configure: Configure the OpenAI API key
  • time: 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"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

clippy_ai-0.1.4.tar.gz (10.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

clippy_ai-0.1.4-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

Details for the file clippy_ai-0.1.4.tar.gz.

File metadata

  • Download URL: clippy_ai-0.1.4.tar.gz
  • Upload date:
  • Size: 10.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.10.16 Linux/6.8.0-1021-azure

File hashes

Hashes for clippy_ai-0.1.4.tar.gz
Algorithm Hash digest
SHA256 a929c5fdd1f5d0a6dc34a80ec0078340b9e9a0b8e3dfc8c6e62bd93747db6bb1
MD5 7dfce0f431538bb86c612501dc71c21a
BLAKE2b-256 b5072ed5a5eb62bb9f8b0f7853e6ecc43c325dda664f6f4cdd2f27d19c55f1ce

See more details on using hashes here.

File details

Details for the file clippy_ai-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: clippy_ai-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 14.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.10.16 Linux/6.8.0-1021-azure

File hashes

Hashes for clippy_ai-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 3ba445a71131274c7dbc690144107296726a0062891edeb3bf67818ba76b9fd9
MD5 b9c40df470fabfc94eb4148d0b5f4d35
BLAKE2b-256 df7e182dcc656c48817451f1076f0f4c782be2fe5e0ab261eff244838832764e

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page