Skip to main content

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

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.

evolveai-0.3.0-cp310-abi3-win_amd64.whl (125.5 kB view details)

Uploaded CPython 3.10+Windows x86-64

evolveai-0.3.0-cp310-abi3-manylinux_2_34_x86_64.whl (225.3 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.34+ x86-64

evolveai-0.3.0-cp310-abi3-macosx_11_0_arm64.whl (198.2 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

File details

Details for the file evolveai-0.3.0-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: evolveai-0.3.0-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

Hashes for evolveai-0.3.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5ec9be8ca505a76146fca29e6d5b5ddb73632c5d137915855f99774d2ff7f881
MD5 91db5be4d260b4dcc98da77dab95e32e
BLAKE2b-256 c8e8a54c9ccebd41d4f2257889381e63a4a2683329352eeeedcb7d7607c15b79

See more details on using hashes here.

File details

Details for the file evolveai-0.3.0-cp310-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for evolveai-0.3.0-cp310-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 6267b9eca7dd1eccf9dfbff5d0af92155252bb3c8b4bb2cf188cec0de35f94c8
MD5 7e47c6d87f6a661776ff535cde0dd580
BLAKE2b-256 3008608abe81f5670a9502eecfa530802ad73618bf9db7ed97cc88dc42015545

See more details on using hashes here.

File details

Details for the file evolveai-0.3.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for evolveai-0.3.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 76fcf97954e7de15b12fedb34195b0c9c4cd917a6ba0aa59696fddc72437c404
MD5 c8416c535669b3302855904ae5f8c73a
BLAKE2b-256 582bf0511724c867d2d24ff7a1e17302badb340096296a1c50528498d8bdc984

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