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.4.tar.gz
(7.7 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.4-py3-none-any.whl
(7.6 kB
view details)
File details
Details for the file qexec-0.1.4.tar.gz.
File metadata
- Download URL: qexec-0.1.4.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9709bed325897bcfc2f79dc3136ad5073888192387bed5204b200a2c624736e9
|
|
| MD5 |
2be29e6faaef71378569cac9e34ac380
|
|
| BLAKE2b-256 |
1f65a4eb64b26d5f89d4a9c1306a2c0f2536b75fd206d99f5882c517d705de12
|
File details
Details for the file qexec-0.1.4-py3-none-any.whl.
File metadata
- Download URL: qexec-0.1.4-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ffeab0484eaa0e0331229d9d88fdecf4428c5e7c1a47a47bb4735f45237aabe9
|
|
| MD5 |
22a21bfa1f0cbabe1888c9e1447a93ed
|
|
| BLAKE2b-256 |
f10343b23ef4e2a5d2b56a268c935a3b6a37266e2260af102e7c39ca635596f3
|