Skip to main content

unixgpt is a powerful bridge between natural language and UNIX commands

Project description

unixgpt

PyPI Upload Python Package

unixgpt is a powerful bridge between natural language and UNIX commands.

https://github.com/jamino30/unixgpt/blob/main/assets/demo.gif

The latest version of unixgpt can be installed from PyPI:

pip install unixgpt

To upgrade to the latest version:

pip install --upgrade unixgpt

Features

  1. Conversion: Effortlessly convert natural language queries into the corresponding UNIX commands.

  2. Command Options: After generating a command, you have the flexibility to:

  • Execute: Directly execute the generated UNIX command.
  • Save: Store frequently used commands locally for quick and easy access
  • Copy: Copy the generated command to the clipboard for easy pasting and use in your terminal.
  1. Reusability: Once a command is saved, easily access the command from storage with natural language or by ID

Examples

Conversion

Input: unixgpt -i "I want to see any uses of the 'git commit' command in my history"

Output: history | grep "git commit"
Input: unixgpt -i "Use the Dockerfile in the cwd to create an image called project-image"

Output: docker build -t project-image .
Input: unixgpt --input "Show me the current processes running on port 8000"

Output: lsof -i :8000

Save

Input: unixgpt -s "git commit && git push"

Output: "Added to UnixGPT local library"
Input: unixgpt --save 1599

Output: "Added to UnixGPT local library"

Fetch

Input: unixgpt -f "command that commits and pushes via Git"

Output: git commit && git push
Input: unixgpt --fetch 23

Output: "Returns command in UnixGPT local library with ID:23"

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

unixgpt-0.1.4.tar.gz (7.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unixgpt-0.1.4-py3-none-any.whl (9.1 kB view details)

Uploaded Python 3

File details

Details for the file unixgpt-0.1.4.tar.gz.

File metadata

  • Download URL: unixgpt-0.1.4.tar.gz
  • Upload date:
  • Size: 7.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for unixgpt-0.1.4.tar.gz
Algorithm Hash digest
SHA256 5789bff6141cde7c2dabb46d846efe4e2a207c221b30e58c9d42ee730a01ed22
MD5 676ee5b9126023dc08c2865103121192
BLAKE2b-256 01849a2e939bbdee2ad763326a6b2e12a9bff26de43ea066445b45db501a88de

See more details on using hashes here.

File details

Details for the file unixgpt-0.1.4-py3-none-any.whl.

File metadata

  • Download URL: unixgpt-0.1.4-py3-none-any.whl
  • Upload date:
  • Size: 9.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for unixgpt-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 198ccbbcca31f61ff193024a15a623e9c6459937d942aed379964d1bf267367d
MD5 f85e6fdd0b84292f2ccfd911a6883c17
BLAKE2b-256 8d7f006c0a90ed705f6c549107d63edb774a3bb58d8b226282d553cf4003e36a

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page