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.1.tar.gz
(4.3 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.1-py3-none-any.whl
(4.5 kB
view details)
File details
Details for the file qexec-0.1.1.tar.gz.
File metadata
- Download URL: qexec-0.1.1.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.12.9
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c172278c8e5f27bc7d310267c5b814a86611424d02829a239d447dd54728248b
|
|
| MD5 |
97405d665ae206e2f440a0932890c955
|
|
| BLAKE2b-256 |
ee4eb2e5a3524d6c8eaae98be29650026c3d1c2c9fb7afcf923f7c5ff7a79023
|
File details
Details for the file qexec-0.1.1-py3-none-any.whl.
File metadata
- Download URL: qexec-0.1.1-py3-none-any.whl
- Upload date:
- Size: 4.5 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 |
d8ee4095c4d751414087e0983aa9124500bbec4d4764b066c9cd9cc9fcac2478
|
|
| MD5 |
223c56e2d99cb650e290395086afa10c
|
|
| BLAKE2b-256 |
c2d80c5761b839155c4e53d5909d17d5e50a8e6235b7dde1d68222b62e21b8b4
|