Python bindings for Evolve — passive A/B evolution for AI coding assistants
Project description
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.
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
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 evolveai-0.2.1-cp310-abi3-win_amd64.whl.
File metadata
- Download URL: evolveai-0.2.1-cp310-abi3-win_amd64.whl
- Upload date:
- Size: 125.5 kB
- Tags: CPython 3.10+, Windows x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3b664289418994d07df29bb8bb2216036038f8e3e3bada05c7d1b0ad5be35880
|
|
| MD5 |
eacfe12184fead1989b3cd7e32ed9663
|
|
| BLAKE2b-256 |
2223e58cc10a06b0f30c66f6266d01ffc1fe35b9c46f2c19d7a00d54a829b3a8
|
File details
Details for the file evolveai-0.2.1-cp310-abi3-manylinux_2_34_x86_64.whl.
File metadata
- Download URL: evolveai-0.2.1-cp310-abi3-manylinux_2_34_x86_64.whl
- Upload date:
- Size: 225.3 kB
- Tags: CPython 3.10+, manylinux: glibc 2.34+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7c94a70a9b99385c05db81d409ed50b10ccac7283f8da08013d64496b299fc65
|
|
| MD5 |
ed19f48a2403bbe49869d0d728d4e24c
|
|
| BLAKE2b-256 |
62b02dc22cb861988b7332eb9055e3d8058d7e030e88741a26051a3d5de00a53
|
File details
Details for the file evolveai-0.2.1-cp310-abi3-macosx_11_0_arm64.whl.
File metadata
- Download URL: evolveai-0.2.1-cp310-abi3-macosx_11_0_arm64.whl
- Upload date:
- Size: 198.2 kB
- Tags: CPython 3.10+, macOS 11.0+ ARM64
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a08acfdb5301946b744a0833f34a2104a8f8b9a51930479f9f0def7641acd500
|
|
| MD5 |
be6ee9b8edb18c3627192b75f99f3105
|
|
| BLAKE2b-256 |
1aeb877137321b39b9e47f9635afd31a3a7b4ee199b582b8ac434f8ce019e4c5
|