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.2.3.tar.gz (9.8 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.2.3-py3-none-any.whl (11.7 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for shmate-0.2.3.tar.gz
Algorithm Hash digest
SHA256 4a4418715debb7987bfc25bbeb3ecb7db74419cb3e6321f63f94a7c07417ba33
MD5 81872f26a6627868a04c9032e52639da
BLAKE2b-256 cca252080a816c1647a641ae04b157ee6a628a76baf40a70ecc3b0c58f5b3ea5

See more details on using hashes here.

File details

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

File metadata

  • Download URL: shmate-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 11.7 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.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 eb449b7c212930caf0492d040fe85ff7c7cc4f9ba9a35f22bf67baf9f91f07b1
MD5 4300e94e95b43a806d08f31fcd8fbc44
BLAKE2b-256 3308169dfebb15dbe052d655292b45b03d971f80d7e5c346a8ae9edea4432b3f

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