Skip to main content



- 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"

Metadata

Release files for ais-cli 0.2.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 ais-cli 0.2.0
File Size Uploaded
ais-cli-0.2.0.tar.gz 11.1 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ais-cli 0.2.0
File Interpreter ABI Platform
ais_cli-0.2.0-py3-none-any.whl Python 3 none any Details

Total release size: 24.2 kB

Release files / ais-cli-0.2.0.tar.gz

Download URL ais-cli-0.2.0.tar.gz
Size 11.1 kB
Tags Source
SHA-256 checksum
How to use checksums
271b50d705215f3873a5d439b052f7fadbe150936607246d347ab303fab3ee42
BLAKE2b-256 checksum
How to use checksums
a00f4f32c46209e72f7f8c75cb59f8e54f073e6d615a81577a47ddb8681aff30
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release files / ais_cli-0.2.0-py3-none-any.whl

Download URL ais_cli-0.2.0-py3-none-any.whl
Size 13.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
fd3e8107b0fc0af1d7626bdcf45614297c955b51b24dcce7601bd2c152c4d449
BLAKE2b-256 checksum
How to use checksums
512f21572f3e2fe744105896664875c46d8f12ae5250fb67609b0a9b30e866d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.2

Release history Release notifications | RSS feed

This release

0.2.0 This release

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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