Skip to main content

Ais (ai shell) is interactive command line ai tool powered by ChatGPT (GPT-3.5)

Project description



- AIS -

Ais (ai shell) is interactive command line ai tool powered by ChatGPT (GPT-3.5). Ais can translate your query into a bash command and explain it to you if you want. In this way, you can get rid of hours of searching for small tasks and increase your learning spectrum.

ais in action

Getting started

Installation instructions

(require python3.6+)

pip install ais-cli

Setup

Setup open ai access key

ais set ACCESS_KEY <KEY>

Running queryies

Translate to command

You can just write the what do you want. It will translate a bash command

ais  open rtsp://113.76.151.33/1 with ffplay without sound
──────────────  Command  ───────────────────

ffplay -an rtsp://113.76.151.33/1

? Select action (Use arrow keys)
   Run this command
    Explain this command
    Cancel

Explain commands

If you select "Explain this command" action ChatCPT will explain this command for you.

? Select action (Use arrow keys)
   Run this command
    Explain this command
    Cancel

Regular questions

Run ais ask for asking normal questions.

ais  ais ask Who is Ataturk?
───────────  Result  ─────────────

Ataturk is the founder of modern Turkey and its first president.

Run system command in interactive mode

Use the ! character as the first character

ais  !whoami

knid

Run without interactive mode

Create bash command

$ 'ais -c "create port scanner with bash"

Ask regular questions

$ ais -c "ais ask Suggest me a horror movie"

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

ais-cli-0.2.0.tar.gz (11.1 kB view details)

Uploaded Source

Built Distribution

ais_cli-0.2.0-py3-none-any.whl (13.2 kB view details)

Uploaded Python 3

File details

Details for the file ais-cli-0.2.0.tar.gz.

File metadata

  • Download URL: ais-cli-0.2.0.tar.gz
  • Upload date:
  • Size: 11.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for ais-cli-0.2.0.tar.gz
Algorithm Hash digest
SHA256 271b50d705215f3873a5d439b052f7fadbe150936607246d347ab303fab3ee42
MD5 815d6a522e4ef0e163c78ca99c65f993
BLAKE2b-256 a00f4f32c46209e72f7f8c75cb59f8e54f073e6d615a81577a47ddb8681aff30

See more details on using hashes here.

File details

Details for the file ais_cli-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: ais_cli-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 13.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.2

File hashes

Hashes for ais_cli-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fd3e8107b0fc0af1d7626bdcf45614297c955b51b24dcce7601bd2c152c4d449
MD5 914bbe6ea7a6e42fa14ccd32632dff0b
BLAKE2b-256 512f21572f3e2fe744105896664875c46d8f12ae5250fb67609b0a9b30e866d1

See more details on using hashes here.

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