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.2.tar.gz
(4.6 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.2-py3-none-any.whl
(4.8 kB
view details)
File details
Details for the file qexec-0.1.2.tar.gz.
File metadata
- Download URL: qexec-0.1.2.tar.gz
- Upload date:
- Size: 4.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7657b20eaed8ca201dda0aee7facc365d8055a17ba85c44b27a349a4d6f82156
|
|
| MD5 |
6b6d8194142c7385fe2c7d03646da908
|
|
| BLAKE2b-256 |
aa9a18b3b3f7ff42c6d738b40302e8143278d90183e532960b4fe170c657cde2
|
File details
Details for the file qexec-0.1.2-py3-none-any.whl.
File metadata
- Download URL: qexec-0.1.2-py3-none-any.whl
- Upload date:
- Size: 4.8 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 |
5443265c293f75546769ef05f622784330bce89e2833ae74c4daa3a8ba0c24b2
|
|
| MD5 |
af936f9a00ac7b99586aef9e58c92977
|
|
| BLAKE2b-256 |
6fb532bcdd97b6ad3e9d6465f5e85c625b4e2064e4a501e3e0087cc1ac5f744d
|