Python binding for Ailoy runtime APIs
Project description
ailoy-py
Python binding for Ailoy runtime APIs.
See our documentation for more details.
Install
pip install ailoy-py
Quickstart
from ailoy import Runtime, Agent
# The runtime must be started to use Ailoy
rt = Runtime()
# Defines an agent
# During this step, the model parameters are downloaded and the LLM is set up for execution
with Agent(rt, model_name="Qwen/Qwen3-0.6B") as agent:
# This is where the actual LLM call happens
for resp in agent.query("Please give me a short poem about AI"):
agent.print(resp)
# Stop the runtime
rt.stop()
Building from source
Prerequisites
- Python 3.10 or higher
- C/C++ compiler
(recommended versions are below)
- GCC >= 13
- LLVM Clang >= 17
- Apple Clang >= 15
- MSVC >= 19.29
- CMake >= 3.28.0
- Git
- OpenSSL
- Rust & Cargo >= 1.82.0
- OpenMP
- BLAS
- LAPACK
- Vulkan SDK (if you are using vulkan)
Setup development environment
pip install -e .
Generate wheel
python -m build -w
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
Built Distributions
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
File details
Details for the file ailoy_py-0.0.2-cp313-cp313-win_amd64.whl.
File metadata
- Download URL: ailoy_py-0.0.2-cp313-cp313-win_amd64.whl
- Upload date:
- Size: 5.6 MB
- Tags: CPython 3.13, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
76997fd985032fcc6978091a666efd15ef07743767d029c024ee7567988bb246
|
|
| MD5 |
062bce63295d15bd2c25ab9306a360ad
|
|
| BLAKE2b-256 |
24ee78b4066cea9bcd817d5e776ef095a6c691283364cc183b6063d1e17f88ed
|
File details
Details for the file ailoy_py-0.0.2-cp313-cp313-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: ailoy_py-0.0.2-cp313-cp313-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 9.0 MB
- Tags: CPython 3.13, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a9ce03e058c184a32fdcfda422580b52735ad94ae3860ec92791d80fc84c53df
|
|
| MD5 |
16af589abe50e7960ffb9d150e95fd70
|
|
| BLAKE2b-256 |
7a537916c78fbee4169d391274282a5c36e124da8c1e7246c53114d8f307cc3f
|
File details
Details for the file ailoy_py-0.0.2-cp313-cp313-macosx_14_0_arm64.whl.
File metadata
- Download URL: ailoy_py-0.0.2-cp313-cp313-macosx_14_0_arm64.whl
- Upload date:
- Size: 7.6 MB
- Tags: CPython 3.13, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c1fdc00304654be3cc253888e916e6e0d718a031ce124c144d6b4b80f1e5c6ce
|
|
| MD5 |
46dd8033e29738445944f2f1aae4514e
|
|
| BLAKE2b-256 |
dec24e34eee6c39c594adec7ac7ffe0d34282987bdbeeef5970e1374295bbafc
|
File details
Details for the file ailoy_py-0.0.2-cp312-cp312-win_amd64.whl.
File metadata
- Download URL: ailoy_py-0.0.2-cp312-cp312-win_amd64.whl
- Upload date:
- Size: 5.6 MB
- Tags: CPython 3.12, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d422af0d9164118b07c8bd53a91d988dc6add2e40fef92181b6b89028765192
|
|
| MD5 |
18fcce657cff4163f4a65e2e5270277f
|
|
| BLAKE2b-256 |
cefe054074a2106f94281f2af8572a1aad81526272ab8c9103c103ace7a2a772
|
File details
Details for the file ailoy_py-0.0.2-cp312-cp312-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: ailoy_py-0.0.2-cp312-cp312-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 9.0 MB
- Tags: CPython 3.12, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
153def610d266baef7034f9e3d9987d7cdc899fb514207bdfcef7ef384604944
|
|
| MD5 |
fd0e5bfec36eca02209536d11721dd87
|
|
| BLAKE2b-256 |
508076253d79cb3e0e13fbd0e1654342240c3db5fd614a32a90412b1e6174c68
|
File details
Details for the file ailoy_py-0.0.2-cp312-cp312-macosx_14_0_arm64.whl.
File metadata
- Download URL: ailoy_py-0.0.2-cp312-cp312-macosx_14_0_arm64.whl
- Upload date:
- Size: 7.6 MB
- Tags: CPython 3.12, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
93d539973683d7b16ddc1b70fe619e0496a9eeaf59aa523e9bac366957aff78d
|
|
| MD5 |
4f2b9e6cca49c060a88fef109fd9bfdb
|
|
| BLAKE2b-256 |
f20315364d1382bfaab51fc698f50248e9796d1b8c7de8bc41d51e59985a8ce9
|
File details
Details for the file ailoy_py-0.0.2-cp311-cp311-win_amd64.whl.
File metadata
- Download URL: ailoy_py-0.0.2-cp311-cp311-win_amd64.whl
- Upload date:
- Size: 5.6 MB
- Tags: CPython 3.11, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
aa95c2d962a264178ff7f95ae136efc7e9fefa86eb927f8577274c042e997200
|
|
| MD5 |
c31ed4026a77b60625436241d433daf3
|
|
| BLAKE2b-256 |
81524668f32a41d301f4b8245dc9899d3626bd3dfaa4162f767218d99e1151c1
|
File details
Details for the file ailoy_py-0.0.2-cp311-cp311-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: ailoy_py-0.0.2-cp311-cp311-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 9.0 MB
- Tags: CPython 3.11, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
70b195567e3d026389d4c03973b0cde263a084e10bab799a6d28d676fbd94aa0
|
|
| MD5 |
8f59a9df30fd5e1a9899a0298591e7eb
|
|
| BLAKE2b-256 |
1589b8238c2712128bb501859e1e57d04dda9a2ba4faf61ce7f272e0f530ef7c
|
File details
Details for the file ailoy_py-0.0.2-cp311-cp311-macosx_14_0_arm64.whl.
File metadata
- Download URL: ailoy_py-0.0.2-cp311-cp311-macosx_14_0_arm64.whl
- Upload date:
- Size: 7.6 MB
- Tags: CPython 3.11, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
abd5097861837ec8540c0781781d652bb2786124766d391c2cb1f35eafb0b2dd
|
|
| MD5 |
e72865b9b70df8dd49f6676623f24e83
|
|
| BLAKE2b-256 |
20c7a27658b8b87a5bcbc096a66ae94ae235f58c2a0a078a24136b5127c16428
|
File details
Details for the file ailoy_py-0.0.2-cp310-cp310-win_amd64.whl.
File metadata
- Download URL: ailoy_py-0.0.2-cp310-cp310-win_amd64.whl
- Upload date:
- Size: 5.6 MB
- Tags: CPython 3.10, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
975bdbc1c2b1559293dfeb326d4f803756b6007c3140db444b247c8f4645eff2
|
|
| MD5 |
af61ace22bdee54bb7e6fd687cea238d
|
|
| BLAKE2b-256 |
1cfba4cc54a2d07eff1689f2d8750b52ae9c9e360a101c60df7d6f3c8f2cc59c
|
File details
Details for the file ailoy_py-0.0.2-cp310-cp310-manylinux_2_28_x86_64.whl.
File metadata
- Download URL: ailoy_py-0.0.2-cp310-cp310-manylinux_2_28_x86_64.whl
- Upload date:
- Size: 9.0 MB
- Tags: CPython 3.10, manylinux: glibc 2.28+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b2af75bf4b7d1e1b9038351a33fae744ec5adfb697f6521ea2b3a631401d5b0f
|
|
| MD5 |
b183d3b01e6c116ee5bd00f0078cace1
|
|
| BLAKE2b-256 |
cf29792d39ef82c7461819ca16edb61d87c5370dd0db8c06e3cb6c534eab58b2
|
File details
Details for the file ailoy_py-0.0.2-cp310-cp310-macosx_14_0_arm64.whl.
File metadata
- Download URL: ailoy_py-0.0.2-cp310-cp310-macosx_14_0_arm64.whl
- Upload date:
- Size: 7.6 MB
- Tags: CPython 3.10, macOS 14.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9945c76d9ceb33a67163958b0887acecd606c3f457b36624ffc48666d6b80d7d
|
|
| MD5 |
d80737d8a0345b3772975ce19a40d9b8
|
|
| BLAKE2b-256 |
e8a1abe1afc3051ee5ae72e00041f49c36d39d2449d4f3263916221a54264ea7
|