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.5.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.5-py3-none-any.whl (14.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: clippy_ai-0.1.5.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.5.tar.gz
Algorithm Hash digest
SHA256 3800f518c52e3b2cfc37b0af12b0c60d7e2d2df60c37eb7515ae929aff84cd39
MD5 7d105b08996cb5d5c5e4b9e8cb78b709
BLAKE2b-256 17fd8001ff480580169fa49cd0891c966ea5727264978ad024a16d8ea872b218

See more details on using hashes here.

File details

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

File metadata

  • Download URL: clippy_ai-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 14.7 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b5d138cc33e2ac3417c2747e5baa9e9597f87335d7cf127342e12e2294e138f5
MD5 eb8a11f0dc950859b3a65f99c711d49c
BLAKE2b-256 79844322025799b9d409dd54f6643ad3212b8a37b8395760e2970ff7c67f4811

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