Skip to main content

A simple Python package that helps you find the command you need.

Project description

pimterm

pimterm can be used to find the linux command you need. for example:

using the short notation

pimterm c "how do I ping example.com?"
ping example.com

using the long notation

pimterm command "how do i remove a file"
rm filename

You can also ask reqular questions:

using the short notation

pimterm q  "who is cleopatra?"
Cleopatra was the last active ruler of the Ptolemaic Kingdom of Egypt.

using the long notation

pimterm question  "what is the capital of the netherlands?"
Amsterdam

Notes

intallation

Make sure to add your chatgpt key to your system

pimterm c "how do i add my chatgpt key to my linux instalation?"
echo "export OPENAI_API_KEY='YOUR_API_KEY'" >> ~/.bashrc

The ai will try to return only the command needed. Somtimes when the ai feels explenation is needed it will add it in plain text.

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

pimterm-1.2.1.tar.gz (3.4 kB view hashes)

Uploaded Source

Built Distribution

pimterm-1.2.1-py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 3

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