Skip to main content

An AI terminal assistant

Project description

PPIG: A simple AI terminal assistant

Example:

  • Input:
 ppig list only directories        

      ls -d */
The command has been copied to the clipboard

➜ 

Make sure your device has some sort of clipboard system such as xclip. If it doesn't you can install it executing:

 sudo apt-get install xclip

Config

ppig uses OpenAI API. In order to use this API you need to be signed up in OpenAI as well as an API key. (get it here)

Once you have your API key, you have two options:

  1. Create a ppig_cfg.yaml file in the directory from which you will call ppig. Choosing this option you won't be able to use ppig outside of that foler.
  2. Create the path ~/.ppig/ppig_cfg.yaml. Choosing this option you will be able to use ppig from any folder.

In both cases, the ppig_cfg.yaml muste be like this:

api_key: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Replace XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX with your API key.

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

ppig-0.1.2.tar.gz (2.2 kB view details)

Uploaded Source

Built Distribution

ppig-0.1.2-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file ppig-0.1.2.tar.gz.

File metadata

  • Download URL: ppig-0.1.2.tar.gz
  • Upload date:
  • Size: 2.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.10.6 Linux/5.19.0-35-generic

File hashes

Hashes for ppig-0.1.2.tar.gz
Algorithm Hash digest
SHA256 9e27d7f945bc7afd04f0def89b452b345a4aca305e4f77a024fade8396f52f43
MD5 436e096e69748fb47eb2f7558908a064
BLAKE2b-256 704548bcb5f6b3a0928cc354fcf5db817b43663c4384c6e31d3f1f7550db5eb7

See more details on using hashes here.

File details

Details for the file ppig-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: ppig-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.4.0 CPython/3.10.6 Linux/5.19.0-35-generic

File hashes

Hashes for ppig-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1e280ace2569155f2fe404c542faedaa796f0ff6747a394464dbf1bee400e7f8
MD5 7456a0fca67e3b0d521d16ed0895dd0c
BLAKE2b-256 609d69a210c70d96b552fb78a6edd7d853c542b3524405465d050bdeb897fdeb

See more details on using hashes here.

Supported by

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