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

Turn to command

You can just write the what do you want. It will be turn 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 ChatCGT 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 how are you?
───────────  Result  ─────────────

I am an AI language model, so I do not have feelings or emotions.
But thank you for asking! How may I assist you today?

Run system command in interactive mode

Use the ! character as the first character

ais  !whoami

knid

Run without interactive mode

Create bash script

ais -c "create port scanner with bash"

Ask regular questions

ais -c "ais ask Who is Ataturk"

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.0.1.tar.gz (7.5 kB view details)

Uploaded Source

Built Distribution

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

ais_cli-0.0.1-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ais-cli-0.0.1.tar.gz
  • Upload date:
  • Size: 7.5 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.0.1.tar.gz
Algorithm Hash digest
SHA256 3ae5111e580a0c8245340ba1dc035c5a71c4c2f1a84c49bbf842ff7d97c4f920
MD5 a4f87090a8c1195ad1fbc9c25aa50013
BLAKE2b-256 616c8669082c2559df327b8ca5af4535c8e82fdee9bce4578fada31f60020d9b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ais_cli-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 7.4 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.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 655d17a501d4a8cf41cfba11af83a6295959a8947df6d0e02aadeaeb187841ab
MD5 538b9eaa2c2f995447d69848b5847941
BLAKE2b-256 268603d57eb453caae07ed93d265d5a50283364c2eea1629bfa7abe8ef1d8945

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