Skip to main content

A package for executing commands through AI using qexec

Project description

qexec-ai

A Python package for executing commands through AI using qexec.

Installation

pip install qexec-ai

Usage

from qexec_ai import configure, register_exec, call_llm

# Configure the AI
configure(
    model="your-model",
    api_key="your-api-key"
)

# Register a command
def my_function():
    print("Function executed!")

register_exec("my-command", my_function, description="Execute my function", type="button")

# Use the AI
reply = call_llm("Please execute my command")
parse_and_execute(reply)

Features

  • AI-powered command execution
  • Support for button, switch, and range type commands
  • Memory management for conversation history
  • Secure encryption for stored data

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

qexec-0.1.8.tar.gz (8.1 kB view details)

Uploaded Source

Built Distribution

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

qexec-0.1.8-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file qexec-0.1.8.tar.gz.

File metadata

  • Download URL: qexec-0.1.8.tar.gz
  • Upload date:
  • Size: 8.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for qexec-0.1.8.tar.gz
Algorithm Hash digest
SHA256 6b77c8c0eee65402471a13d97ebca38eb21aaefb56161620b4719efbe7da8f3b
MD5 315d9cd03fe5f9d8b389f6fa691882ed
BLAKE2b-256 f64bd66b3fdab654f876c1510c358b6fc5ca6ae8946a305bba571e48fd8ac949

See more details on using hashes here.

File details

Details for the file qexec-0.1.8-py3-none-any.whl.

File metadata

  • Download URL: qexec-0.1.8-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.12.9

File hashes

Hashes for qexec-0.1.8-py3-none-any.whl
Algorithm Hash digest
SHA256 643b5543720b77fd875ba53e1abfa7179036b1d63508f195479b08e0363937f0
MD5 34ddace9a0bd6eb5a80a0c4df3be1036
BLAKE2b-256 5d2441c441cc562beb3b64cdbc3f1e1673641fae9c0cb7d8de6f21b5209b5aac

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