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.5.tar.gz (7.7 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.5-py3-none-any.whl (7.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: qexec-0.1.5.tar.gz
  • Upload date:
  • Size: 7.7 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.5.tar.gz
Algorithm Hash digest
SHA256 5c3b39d635a085ec3e1ce78c7f4353085c4146b59887412391038e8c0aae75a3
MD5 2c45e34b528f1f09cc75f45dc2c0b982
BLAKE2b-256 e1d7fffdf341b830c66e005a1ed9bdaafda1028bdc65e0b2d0dcefcec017081d

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qexec-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 7.6 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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 82488bdf7186461bfbc29f6a133a59f0d7a854a5ca9fbdf8f20e204455fa7fa4
MD5 2b563605e01b0eab1ea7a7c850595765
BLAKE2b-256 0e1e9fdf5f31ca105d6a9567b7e95ffff884a27e305d2939afa56e89945c6f94

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