Search for POSIX commands effortlessly and locally.
Although man pages and documentation exist for this purpose, pengu aims to provide a hassle-free and intuitive experience for searching POSIX commands. Since pengu can run locally without an internet connection after installation, it can serve as a simple alternative for similar online tools.
pengu does not aim to replace these tools. It is meant to be a concise alternative to the man pages, but is not a drop-in replacement.
As of now, pengu has only been trained to provide 160 commands. Its memory comprises of the full POSIX command library. However, we plan to expand pengu's library and hopefully keep it as lightweight as possible.
Of course, pengu won't always give you an accurate answer, as it was built with a relatively lightweight model using spaCy and scikit-learn. However, you can reduce error rates by providing more specific prompts.
Install the following packages:
Additionally, install the following Python packages:
- spaCy, which provides support for the en_core_web_sm used by pengu.
- NumPy for generating more efficient arrays.
- scikit-learn, a set of tools for predictive data analysis.
To install pengu, follow the instructions below.
- If you haven't done it already, install Python 3.9 or later. To check your version, run:
python --version
- Clone the repository:
git clone https://github.com/v81d/pengu.git
cd pengu- Install dependencies:
pip install -U pip setuptools wheel
pip install spacy numpy scikit-learn- Download the language model from spaCy:
python -m spacy download en_core_web_sm- Install the program using the setup tool:
bash setup.sh