Skip to main content

A command-line application integrating with OpenAI's API.

Project description

ShellMate

ShellMate is a command-line application that interfaces with OpenAI's API to execute shell commands and provide intelligent responses. It orchestrates chat management, command extraction, and response handling to offer a seamless user experience.

Installation

Ensure Python 3.6+ is installed on your system.

The recommended way to install this application is throught pip:

pip install shmate
  1. Create and activate a virtual environment:

    python -m venv .venv
    source .venv/bin/activate  # On Windows use .venv\\Scripts\\activate
    
  2. Install dependencies:

    pip install .
    
  3. Environment Setup: The package provides a .env.example file. You will be prompted to modify this file using your API credentials of choice. You must restart the tool after editing environment variables.

Usage

Run the application using:

shellmate

Follow the on-screen prompts to interact with the AI model, execute commands, and receive feedback.

License

This project is licensed under the MIT License. See the LICENSE file for more details.

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

shmate-0.3.1.tar.gz (10.3 kB view details)

Uploaded Source

Built Distribution

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

shmate-0.3.1-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file shmate-0.3.1.tar.gz.

File metadata

  • Download URL: shmate-0.3.1.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for shmate-0.3.1.tar.gz
Algorithm Hash digest
SHA256 56a0eda44735c4de45c61d2c76b7dd9ca55a14b58158e67284e8ef8e2c770bd6
MD5 a65de88de77e3d935faa011f0079a3b4
BLAKE2b-256 b2cdbf6f320bbbaa3c5ade356ce8ef13c5c11e0750bc7771a7744a5dde6ab7c5

See more details on using hashes here.

File details

Details for the file shmate-0.3.1-py3-none-any.whl.

File metadata

  • Download URL: shmate-0.3.1-py3-none-any.whl
  • Upload date:
  • Size: 12.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.2

File hashes

Hashes for shmate-0.3.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f5826332595f21bb81b72f3136ff64c88181fea57615ba25727b04f521e9659c
MD5 ae23bbde1d932320ef8d1b771a48d6d0
BLAKE2b-256 cc6601e771375c5f7156ff79fd5d13e1933fd4b19fd834b2f831c82c5135229d

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