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.2.2.tar.gz (2.3 kB view details)

Uploaded Source

Built Distribution

ppig-0.2.2-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ppig-0.2.2.tar.gz
  • Upload date:
  • Size: 2.3 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.2.2.tar.gz
Algorithm Hash digest
SHA256 09c8cc46636cad803da6e2056bfefbce8159105644f05d051a1555e08e818c63
MD5 811cb388ba68b5b71a385b17c0eb1810
BLAKE2b-256 6429188d593fcdffe4b5c2e8a562f29b98f116ef3c18e436a4d1bd42c5b86b0a

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ppig-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 3.1 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.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 7157d60ff8cdb2e74702c4469a290ab57be2fb05c152e062a17619d41b40281e
MD5 a00e5c72b528e567abf4cbea3dde2d25
BLAKE2b-256 be2f329cc81f261e7a0880409f50319503ef5162b843d54ea85e0e36c4d428a4

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