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.3.tar.gz (10.7 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.3-py3-none-any.whl (14.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: clippy_ai-0.1.3.tar.gz
  • Upload date:
  • Size: 10.7 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.3.tar.gz
Algorithm Hash digest
SHA256 0f0aa1b1daaa3e62c483c4cab6127b74245fd6fdc72e3b5ab7287376445dabf3
MD5 53b4038f9af49f55a0c27205cfa63d0a
BLAKE2b-256 880dc23082eabdef55c3bed117f8b6355b443685563e0fa91e51da2d2e2a1ea5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clippy_ai-0.1.3-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.3-py3-none-any.whl
Algorithm Hash digest
SHA256 c25dfc892657e56ffe399e0c6fb66013317083d6e875125cbfa9b3efeeea1016
MD5 74646da326771cb06c7a66932444e6f5
BLAKE2b-256 87eb73b677806c1338068b916710aec771a22f1c71749e79cc289f01d9daf454

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