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

Uploaded CPython 3.10+Windows x86-64

evolveai-0.1.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.1.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.1.0-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: evolveai-0.1.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.1.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 a4cd7299e2b65158a9a1c98ae6ad68f4f0bd0896afc0bf340c1b280d5a5091b5
MD5 7876dd0c44d0cbf1d571f60908d92b1c
BLAKE2b-256 39605a44349800638ea8896b786140f00c3ff3b333a8c910ac2db8eb7d59f213

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for evolveai-0.1.0-cp310-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 d9b17c843d8308e03a6fdb0d6a17d2d86e3ddf37dce19cab7886052abba3d2bf
MD5 6d3e2305c908c73b51e662e9ce7767f3
BLAKE2b-256 c084d3c9b5dd501ec5d87e43880791de48a10565ae4654ebf747b25227b2af49

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for evolveai-0.1.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2807d9496ed4e77279f322a37b963cbfc13ad73e12d5cf19dd341df67fd82f81
MD5 1f52450ef2bf8623f05a3626876319a2
BLAKE2b-256 a85e7e675c43f2f780153ef8ec7da765cb430704442b31123049f4de3e958dfc

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