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

Uploaded Python 3

File details

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

File metadata

  • Download URL: qexec-0.1.6.tar.gz
  • Upload date:
  • Size: 7.9 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.6.tar.gz
Algorithm Hash digest
SHA256 cfa9223046f5ccd003dd3bac241c5e32a74492f4b8ecf6a268035e0558d8f6e1
MD5 58500fdd3ef343c0c2ea41f0884e29bb
BLAKE2b-256 3742f203ff373ce75a19379a24c6b92d457bc04483d12d7f3842b29a148d0f38

See more details on using hashes here.

File details

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

File metadata

  • Download URL: qexec-0.1.6-py3-none-any.whl
  • Upload date:
  • Size: 7.9 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 1644dc08f89232d33754dfd0bcf7f99cb73d73666f5d9eaf8e7c8fbd5ed5ddb2
MD5 8b1b7825196c1242edd9131f86832ed4
BLAKE2b-256 00fcea2216effd90ada7da7e0b6fdfca2956e9d15fbc04d9d26771b59ab6274c

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