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.yaml
file 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
ppig-0.2.0.tar.gz
(2.3 kB
view details)
Built Distribution
ppig-0.2.0-py3-none-any.whl
(3.2 kB
view details)
File details
Details for the file ppig-0.2.0.tar.gz
.
File metadata
- Download URL: ppig-0.2.0.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 | 0e67c1db6d842ca38471b84054c71b89aa41c6f14a8eaac79c4055b1edc9e586 |
|
MD5 | 84b46e6aa58242fb0c41d82d6118c132 |
|
BLAKE2b-256 | 789beae0c8d5b910421dfde8d43c40b225eebd6506d877e03217db1ace8047ce |
File details
Details for the file ppig-0.2.0-py3-none-any.whl
.
File metadata
- Download URL: ppig-0.2.0-py3-none-any.whl
- Upload date:
- Size: 3.2 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 | d99d01642a396d13fbdfb5063552c20b2e22a3963ff5944f4df139ffd8276b79 |
|
MD5 | 1ad11734be51b71fe56ae9ed01403fc7 |
|
BLAKE2b-256 | 05890ea4cc37cf094752e5383f7d72e6c3c50a58390a7dd812efcd78df975542 |