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.3.tar.gz
(7.8 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.3-py3-none-any.whl
(7.7 kB
view details)
File details
Details for the file qexec-0.1.3.tar.gz.
File metadata
- Download URL: qexec-0.1.3.tar.gz
- Upload date:
- Size: 7.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
295b442bcff8654b6dd4f206b2d6072aa97594657f52c38df35b5103caa99ed0
|
|
| MD5 |
cab1147be2c02214c78d87da4d623bb5
|
|
| BLAKE2b-256 |
f7efbaa8cbcd92f5bc755b56288072128c7db2804cf0b545b13702c833569b23
|
File details
Details for the file qexec-0.1.3-py3-none-any.whl.
File metadata
- Download URL: qexec-0.1.3-py3-none-any.whl
- Upload date:
- Size: 7.7 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 |
7b7d372c723599ca8921ad9e7068bccd727cb535da9153031a7caa78655ccc86
|
|
| MD5 |
fdc695ceab829178a0af53a79705cd8c
|
|
| BLAKE2b-256 |
dd3853e8c678f27fc8463224496ef8dde40f100641db8dd932bac26cbd6e67e0
|