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:
- Create a
ppig_cfg.yamlfile in the directory from which you will callppig. Choosing this option you won't be able to use ppig outside of that foler. - 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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
09c8cc46636cad803da6e2056bfefbce8159105644f05d051a1555e08e818c63
|
|
| MD5 |
811cb388ba68b5b71a385b17c0eb1810
|
|
| BLAKE2b-256 |
6429188d593fcdffe4b5c2e8a562f29b98f116ef3c18e436a4d1bd42c5b86b0a
|
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7157d60ff8cdb2e74702c4469a290ab57be2fb05c152e062a17619d41b40281e
|
|
| MD5 |
a00e5c72b528e567abf4cbea3dde2d25
|
|
| BLAKE2b-256 |
be2f329cc81f261e7a0880409f50319503ef5162b843d54ea85e0e36c4d428a4
|