A fast and easy tool for getting answers in the command line
Project description
FastAsk
FastAsk is a Python package that allows you to ask questions and get brief answers quickly. It uses OpenAI's GPT-4 model or a local model to generate responses. You can use it as a command-line utility.
Installation
FastAsk can be installed using pip:
pip install fastask
Usage
FastAsk can be used directly from the command line:
>>> ask "list items in dir by date"
* `ls -lt`: This command lists all items in the current directory sorted by modification time, newest first.
* `ls -ltr`: This command lists all items in the current directory sorted by modification time, oldest first.
More examples:
>>> ask "find ip address"
* `curl ifconfig.me`: This command fetches your public IP address.
* `ip addr show`: This command shows your local IP address.
>>> ask "convert video to audio using ffmpeg"
* `ffmpeg -i input.mp4 -vn -ab 320k -ar 44100 -y output.mp3`: This command converts a video file (input.mp4) to an audio file (output.mp3) using ffmpeg.
Clearing History
>>> ask --clear
FastAsk History Cleared.
Contributing
Contributions are welcome! Please submit a pull request or create an issue to discuss any changes you would like to make.
License
FastAsk is licensed under the MIT License. See the LICENSE
file for more details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fastask-0.3.6.tar.gz
(4.9 kB
view hashes)