Skip to main content

evolveai (Python bindings)

PyO3 + maturin bindings for the Evolve math engine.

Build

Requires Python 3.10+ and maturin:

pip install maturin
cd bindings/python
maturin develop      # builds + installs into active virtualenv
maturin build        # builds a wheel in target/wheels/

Usage

from evolveai import py_aggregate, py_promotion_decision

score = py_aggregate([("explicit", 1.0), ("implicit", 0.0)])
outcome, posterior, sessions_each = py_promotion_decision(
    champion=[0.0] * 15 + [1.0] * 5,
    challenger=[1.0] * 18 + [0.0] * 2,
    seed=42,
)

Release

Wheels for Linux / macOS / Windows × CPython 3.10/3.11/3.12 are built in CI (see Phase 15 release workflow). Published to PyPI as evolveai.

Metadata

Release files for evolveai 0.3.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for evolveai 0.3.0
File Interpreter ABI Platform
evolveai-0.3.0-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
evolveai-0.3.0-cp310-abi3-manylinux_2_34_x86_64.whl CPython 3.10 abi3 Linux glibc 2.34+ x86-64 Details
evolveai-0.3.0-cp310-abi3-macosx_11_0_arm64.whl CPython 3.10 abi3 macOS 11.0+ ARM64 Details

Total release size: 549.0 kB

Release files / evolveai-0.3.0-cp310-abi3-win_amd64.whl

Download URL evolveai-0.3.0-cp310-abi3-win_amd64.whl
Size 125.5 kB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
5ec9be8ca505a76146fca29e6d5b5ddb73632c5d137915855f99774d2ff7f881
BLAKE2b-256 checksum
How to use checksums
c8e8a54c9ccebd41d4f2257889381e63a4a2683329352eeeedcb7d7607c15b79
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / evolveai-0.3.0-cp310-abi3-manylinux_2_34_x86_64.whl

Download URL evolveai-0.3.0-cp310-abi3-manylinux_2_34_x86_64.whl
Size 225.3 kB
Tags CPython 3.10 Linux glibc 2.34+ x86-64 abi3
SHA-256 checksum
How to use checksums
6267b9eca7dd1eccf9dfbff5d0af92155252bb3c8b4bb2cf188cec0de35f94c8
BLAKE2b-256 checksum
How to use checksums
3008608abe81f5670a9502eecfa530802ad73618bf9db7ed97cc88dc42015545
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / evolveai-0.3.0-cp310-abi3-macosx_11_0_arm64.whl

Download URL evolveai-0.3.0-cp310-abi3-macosx_11_0_arm64.whl
Size 198.2 kB
Tags CPython 3.10 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
76fcf97954e7de15b12fedb34195b0c9c4cd917a6ba0aa59696fddc72437c404
BLAKE2b-256 checksum
How to use checksums
582bf0511724c867d2d24ff7a1e17302badb340096296a1c50528498d8bdc984
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.3.0 This release

3 release files

0.2.1

3 release files

0.2.0

3 release files

0.1.0

3 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page