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.7.tar.gz
(8.1 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
qexec-0.1.7-py3-none-any.whl
(8.0 kB
view details)
File details
Details for the file qexec-0.1.7.tar.gz.
File metadata
- Download URL: qexec-0.1.7.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c160cd4a21e6549f0c6d389828eebbff09bc7c3eb1d2d94ea8fe4b26a5442768
|
|
| MD5 |
78a02ff645f87c76e64fd5991e641eb4
|
|
| BLAKE2b-256 |
ac88faea1212839f4b1f4c3347afa6bbaffb0961d396d0bf485465cc1dfb6d31
|
File details
Details for the file qexec-0.1.7-py3-none-any.whl.
File metadata
- Download URL: qexec-0.1.7-py3-none-any.whl
- Upload date:
- Size: 8.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
fd936a89efcb12de33092eacc7b684d298ebc5e7fab1fbf2a12cb65ec9c3e15f
|
|
| MD5 |
f8dec84c52243419d869ef1adf8921d2
|
|
| BLAKE2b-256 |
7d599b4dba8d2d5026b647f97e9b97fc9b58b191fb92c233b7744a86ae67c55e
|