Skip to main content

airgpt

This repository contains airgpt: a command line tool empowered by AI and LLM. It calls OpenAI to get the appropriate command based on user prompts, and executes the command to get the results.

Installation

  1. Sign up with OpenAI to get an API key. Set up the environment vairable OPENAI_API_KEY in a terminal:
export OPENAI_API_KEY=<your_openai_api_key>
  1. Make sure you have Python 3.10+ installed. Install airgpt with the following command:
pip3 install airgpt
  1. When the installation is complete, run the following command to start the airgpt:
airgpt

Developing the Python source code locally

The following steps could be used to develop airgpt locally:

  1. Clone the repository from GitHub:
git clone https://github.com/kp-enterprise/airgpt.git
  1. Create a virtual environment and install the required libraries:
cd airgpt
python3 -m venv venv
source venv/bin/activate
pip3 install -i requirements.txt
  1. Run the following command to start airgpt:
python3 airgpt.py

Release files for airgpt 0.1.1

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

Source distribution (sdist)

Source distribution for airgpt 0.1.1
File Size Uploaded
airgpt-0.1.1.tar.gz 12.8 kB Details

Built distribution (wheel)

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

Total release size: 24.4 kB

Release files / airgpt-0.1.1.tar.gz

Download URL airgpt-0.1.1.tar.gz
Size 12.8 kB
Tags Source
SHA-256 checksum
How to use checksums
fe610ea888f4091480c0e1223474835c76e76d5e2bc4feca2df2bb74f1dc8531
BLAKE2b-256 checksum
How to use checksums
a4276844622fa3404495b7799905b6b8b93469817fcf3f9a03585d85eed4beba
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release files / airgpt-0.1.1-py3-none-any.whl

Download URL airgpt-0.1.1-py3-none-any.whl
Size 11.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5d7fd5cf178ba43bd853a331fbfa847c4629c24678b475d90cc449e8dbf2afb7
BLAKE2b-256 checksum
How to use checksums
10f79266fe7735e377a26484926eeec38d9a07dd50c75cbd1e7af13bb56f8172
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.10.10

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

3 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