Skip to main content

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.24.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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

ailoy_py-0.0.1-cp313-cp313-win_amd64.whl (6.4 MB view details)

Uploaded CPython 3.13Windows x86-64

ailoy_py-0.0.1-cp313-cp313-manylinux_2_28_x86_64.whl (10.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

ailoy_py-0.0.1-cp313-cp313-macosx_14_0_arm64.whl (8.3 MB view details)

Uploaded CPython 3.13macOS 14.0+ ARM64

ailoy_py-0.0.1-cp312-cp312-win_amd64.whl (6.4 MB view details)

Uploaded CPython 3.12Windows x86-64

ailoy_py-0.0.1-cp312-cp312-manylinux_2_28_x86_64.whl (10.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

ailoy_py-0.0.1-cp312-cp312-macosx_14_0_arm64.whl (8.3 MB view details)

Uploaded CPython 3.12macOS 14.0+ ARM64

ailoy_py-0.0.1-cp311-cp311-win_amd64.whl (6.4 MB view details)

Uploaded CPython 3.11Windows x86-64

ailoy_py-0.0.1-cp311-cp311-manylinux_2_28_x86_64.whl (10.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

ailoy_py-0.0.1-cp311-cp311-macosx_14_0_arm64.whl (8.3 MB view details)

Uploaded CPython 3.11macOS 14.0+ ARM64

ailoy_py-0.0.1-cp310-cp310-win_amd64.whl (6.4 MB view details)

Uploaded CPython 3.10Windows x86-64

ailoy_py-0.0.1-cp310-cp310-manylinux_2_28_x86_64.whl (10.0 MB view details)

Uploaded CPython 3.10manylinux: glibc 2.28+ x86-64

ailoy_py-0.0.1-cp310-cp310-macosx_14_0_arm64.whl (8.3 MB view details)

Uploaded CPython 3.10macOS 14.0+ ARM64

File details

Details for the file ailoy_py-0.0.1-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: ailoy_py-0.0.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 6.4 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

Hashes for ailoy_py-0.0.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 76fe3c45b84325c32c785c4815fad1d874b435c9df790cd4f1b1f79dddf7705f
MD5 c9da3d813a6eb20ca5274115059016f8
BLAKE2b-256 e2e15349d2ba4e07db4e95f7bdc9368c3c62f6f88afad5f9c5c0dc351622d591

See more details on using hashes here.

File details

Details for the file ailoy_py-0.0.1-cp313-cp313-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for ailoy_py-0.0.1-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 cbb804ce063f7a909d2c3a8dfbf9b3bdb8624a5b364736a9efa801af96139ec6
MD5 d3aaf37e0e55e8d61ab0dd054cc3efe0
BLAKE2b-256 536a262d84cfd56e2b69004276e01fc58019bc327f2149198069bf9bc0f29ba8

See more details on using hashes here.

File details

Details for the file ailoy_py-0.0.1-cp313-cp313-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for ailoy_py-0.0.1-cp313-cp313-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 a0021a52be65c7119df5a0d8806be1d51a4da3baea3e7622bd558aaff651a113
MD5 b6185b55024040ec077065f85d1fc553
BLAKE2b-256 a4c7323682e12e3066ad9257c030139e9007d374d6195fa1cfbe3dffed872f43

See more details on using hashes here.

File details

Details for the file ailoy_py-0.0.1-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: ailoy_py-0.0.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 6.4 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

Hashes for ailoy_py-0.0.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 055a57ca9d1a92913f5ef4027439058891e09c6e01e10f9b3a8bdc6bfb59d76a
MD5 3f35c2088a80d56d558e310dd7ea3e7f
BLAKE2b-256 c15b9d3cff99d9caf73242aef73306a2cec5b5df5bf3efd7d5971aad3de3616f

See more details on using hashes here.

File details

Details for the file ailoy_py-0.0.1-cp312-cp312-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for ailoy_py-0.0.1-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1788718379094fae073ad8a4bad02e3e817004102c93a867ef0c008d6b117f50
MD5 df85e69dca049f7924dbaad61ee2f3ca
BLAKE2b-256 99f5876be30598a46674030d953b581d1b6d070048f159d3f64706c32ce5f434

See more details on using hashes here.

File details

Details for the file ailoy_py-0.0.1-cp312-cp312-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for ailoy_py-0.0.1-cp312-cp312-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 3da531a954391f6270a8842f3be3dabf861969728cbe77413d1bfcee3768a150
MD5 8c5bd2c9f2a3401cca5eab16eabc94d3
BLAKE2b-256 e3e7b734a37d51a75426ec2e3c6a8a6954ded73666a2536cebc59726c3960143

See more details on using hashes here.

File details

Details for the file ailoy_py-0.0.1-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: ailoy_py-0.0.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 6.4 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

Hashes for ailoy_py-0.0.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 827ee428f83505acc26f96366f70819fbbced2591d3fcee28f475bbc614934a4
MD5 c1ba3110e34190e2d294bd98d650a08c
BLAKE2b-256 8f4304f44e1743b19238a24dc5d5e16e02af920eec27d1bee5c9b97c72d08eb4

See more details on using hashes here.

File details

Details for the file ailoy_py-0.0.1-cp311-cp311-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for ailoy_py-0.0.1-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 63803ccf5d63d6e19518f61a52fdac18bbe7e22da9fc3074e95cebfd57fe3f4c
MD5 0ef2bc00a34c7aedc5d82db0ddf7294c
BLAKE2b-256 5b3adb9ebb7bab652b1deac433e465c6a55ad1895ae87bf936c3f7b5ecd41b3d

See more details on using hashes here.

File details

Details for the file ailoy_py-0.0.1-cp311-cp311-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for ailoy_py-0.0.1-cp311-cp311-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 e2c57f6b113fcb7c5e0731cdeeff88062d5060451c917a93e8dd66b2040048eb
MD5 fbfeef3ad3a3e4e01207a9da4878086b
BLAKE2b-256 af8aa11292aff52f31c66324e297cd19e58217cd7df7a3c2443b96e6da60f4fb

See more details on using hashes here.

File details

Details for the file ailoy_py-0.0.1-cp310-cp310-win_amd64.whl.

File metadata

  • Download URL: ailoy_py-0.0.1-cp310-cp310-win_amd64.whl
  • Upload date:
  • Size: 6.4 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

Hashes for ailoy_py-0.0.1-cp310-cp310-win_amd64.whl
Algorithm Hash digest
SHA256 b4fd218b9310aefff8c88482d23f37c4cf80c4c660467460a71837300b43c9ca
MD5 f9bff6c8b875c4b5ddd82ae671a8435f
BLAKE2b-256 e7fd7b1b5caec322b719aebd37d6663c92e908ba6cc84cda96bdb2dda1951d67

See more details on using hashes here.

File details

Details for the file ailoy_py-0.0.1-cp310-cp310-manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for ailoy_py-0.0.1-cp310-cp310-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ff0e90096274057ee41e8e445d57b39be0a648847ff1eb7d00a34bde1dc721b6
MD5 63da6ca26b89981944be61221dab774a
BLAKE2b-256 6be477e21b929cb43c2e09656e50e1fdd7e82e41d1380f342ca61eaeb4f8acb3

See more details on using hashes here.

File details

Details for the file ailoy_py-0.0.1-cp310-cp310-macosx_14_0_arm64.whl.

File metadata

File hashes

Hashes for ailoy_py-0.0.1-cp310-cp310-macosx_14_0_arm64.whl
Algorithm Hash digest
SHA256 ca823126ba5153078e16941ff54365d1b9efeb9823202ed87c01c76f6a5c0d7d
MD5 d649373a3b7290615a7decf3353af7a0
BLAKE2b-256 eecd92eb11fd091c2cb657644740087e9a07c007cfa0445f43d5b8b59a6f001f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page