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.2.0-cp310-abi3-win_amd64.whl (125.5 kB view details)

Uploaded CPython 3.10+Windows x86-64

evolveai-0.2.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.2.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.2.0-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: evolveai-0.2.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.2.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5840a27e8756c04781d786d548ff9c18b8de10fb8ce0c5c1e40140fb237b6f2e
MD5 bc24a05831b8bc44c9e0b838bf50ed9e
BLAKE2b-256 37f943d185832c75057e3dbb543414075cf0fee55543819edafd2485ff7d0c3d

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for evolveai-0.2.0-cp310-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 5f59c50a1af81908395ec9140da684ff629eb70a5d7169591c280c8bda5fb15f
MD5 3e06cf414b7a7dc63850441562a34b64
BLAKE2b-256 c2363bed8ab1e199bcbfb6c42de0577d24dfda0c76268b62fb3f4f59c9515555

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for evolveai-0.2.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 da77081487e5bde35ca87b6de7a15a30ec30cd5baf20aa87fcd24cef16d774f5
MD5 0a57f85850fa5f98fea7ed67412d024b
BLAKE2b-256 c98f6300bc67fbc58252a16778358d195b7548e6475b7cc9dfdffc4c52434a5f

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