Skip to main content

Bash GPT

This is a simple bash script that uses OpenAI's GPT-4 to write bash commands to answer your questions. For instance see the below screenshots of the tool in action:

Example 1 Example 2 Example 3

You can also pass the --explain parameter to give a reason why that command was chosen and what the output means:

Example 4

Installation

You can either install from source or install direct from PyPi using:

pip install bash-gpt

Deployment

Give deploy.sh execution permissions with chmod +x deploy.sh, and then run it with ./deploy.sh.

Metadata

Release files for bashgpt 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bashgpt 0.3.0
File Size Uploaded
bashgpt-0.3.0.tar.gz 3.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for bashgpt 0.3.0
File Interpreter ABI Platform
bashgpt-0.3.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.9 kB

Release files / bashgpt-0.3.0.tar.gz

Download URL bashgpt-0.3.0.tar.gz
Size 3.3 kB
Tags Source
SHA-256 checksum
How to use checksums
faebbc8650b1f71a4b67adaa2097514e1acddcff1f2fae7c9db8c6b4eaa6d8e2
BLAKE2b-256 checksum
How to use checksums
ac07bf24a527f51b7e3111cfe6728ce1c803c623fe103cab537ec67779643998
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.0

Release files / bashgpt-0.3.0-py3-none-any.whl

Download URL bashgpt-0.3.0-py3-none-any.whl
Size 3.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
6d56693a62b82c9e01e25123d5c78fa0fbef2c1569ad6f79aa7406912ddfb9f6
BLAKE2b-256 checksum
How to use checksums
e4b33798ae7c9d67ea5368f89f45882b7feaa9c0bc43d38b4bc9a20fa3e19359
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.9.0

Release history Release notifications | RSS feed

This release

0.3.0 This release

2 release files

0.2.0

2 release files

0.1.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page