yggdrasil-engine
Engine for evaluating Unleash feature flags
What it is and what it does
yggdrasil-engine is a Python wrapper around the Unleash Yggdrasil native engine, which evaluates feature flags and toggles. It bridges Python code to a high-performance Rust-based evaluation engine, allowing applications to make feature flag decisions at runtime.
The package is built as compiled wheels for multiple platforms and Python versions (3.8 through 3.12), with no external Python dependencies. It's designed for teams using Unleash as their feature management platform and need to evaluate flags from Python applications. The underlying native library version is managed separately during the build process.
Use it for:
- Evaluate feature flags in Python web applications to control feature rollouts and A/B tests
- Gate new functionality behind flags in backend services to enable safe deployment and gradual rollout
- Implement feature experiments where different user cohorts see different behavior based on flag state
- Integrate feature flag evaluation into Python microservices that use Unleash for centralized flag management
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Provides Python bindings to the Unleash Yggdrasil engine for evaluating feature flags in applications.
Yes, if you are using Unleash for feature management and need to evaluate flags from Python. The package is actively maintained, has no known vulnerabilities, carries a permissive MIT license, and supports current Python versions. Medium install friction is typical for compiled packages and poses no practical barrier on standard platforms.
Install
yggdrasil-engine on PyPI
pip
pip install yggdrasil-engineuv
uv add yggdrasil-enginepoetry
poetry add yggdrasil-engineInstalling yggdrasil-engine
Before you install
Medium install friction due to compiled wheels across multiple platforms (macOS, Linux, Windows, ARM architectures). Active maintenance with a release within the last 51 days. No runtime dependencies to manage.
License in practice
MIT license permits use in commercial and proprietary projects with minimal restrictions; attribution required.
Quickstart
pip install yggdrasil-engine
import yggdrasil_engine
# Use the engine to evaluate feature flags
Requires Python 3.8 or later; prebuilt wheels available for common platforms (x86_64, ARM64 on macOS, Linux, Windows).
Verify before relying
- Whether the package requires initialization with Unleash configuration or context before evaluating flags
- Performance characteristics and typical evaluation latency for feature flag decisions
- Whether offline/local flag evaluation is supported or if it requires network connectivity
Package facts
| License | MIT (permissive) |
| Python support | supports the current Python release (<4.0,>=3.8) |
| Install friction | medium — platform-specific wheel |
| Runtime dependencies | none |
| Maintenance | actively maintained — 51 days since the last release |
| First released | |
| Downloads | 2,119,651/month — #3,279 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: yggdrasil_engine-1.3.1-cp310-abi3-macosx_11_0_arm64.whl; yggdrasil_engine-1.3.1-cp310-abi3-macosx_11_0_x86_64.whl; yggdrasil_engine-1.3.1-cp310-abi3-manylinux2014_aarch64.whl; yggdrasil_engine-1.3.1-cp310-abi3-manylinux2014_x86_64.whl; yggdrasil_engine-1.3.1-cp310-abi3-musllinux_1_2_aarch64.whl; yggdrasil_engine-1.3.1-cp310-abi3-musllinux_1_2_x86_64.whl; yggdrasil_engine-1.3.1-cp310-abi3-win_amd64.whl; yggdrasil_engine-1.3.1-cp310-abi3-win_arm64.whl; yggdrasil_engine-1.3.1-cp311-abi3-macosx_11_0_arm64.whl; yggdrasil_engine-1.3.1-cp311-abi3-macosx_11_0_x86_64.whl; yggdrasil_engine-1.3.1-cp311-abi3-manylinux2014_aarch64.whl; yggdrasil_engine-1.3.1-cp311-abi3-manylinux2014_x86_64.whl; yggdrasil_engine-1.3.1-cp311-abi3-musllinux_1_2_aarch64.whl; yggdrasil_engine-1.3.1-cp311-abi3-musllinux_1_2_x86_64.whl; yggdrasil_engine-1.3.1-cp311-abi3-win_amd64.whl; yggdrasil_engine-1.3.1-cp311-abi3-win_arm64.whl; yggdrasil_engine-1.3.1-cp312-abi3-macosx_11_0_arm64.whl; yggdrasil_engine-1.3.1-cp312-abi3-macosx_11_0_x86_64.whl; yggdrasil_engine-1.3.1-cp312-abi3-manylinux2014_aarch64.whl; yggdrasil_engine-1.3.1-cp312-abi3-manylinux2014_x86_64.whl
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
UnleashClientA server-side Python SDK for integrating with…
permissive · top 5,000 on PyPI
openfeature-provider-unleashIntegrates Unleash feature flags with…
permissive · top 15,000 on PyPI
ydfYDF trains, evaluates, and interprets decision…
permissive · top 15,000 on PyPI
common-expression-languageEvaluates Google's Common Expression Language…
permissive · top 15,000 on PyPI
harness-featureflagsPython SDK for evaluating and managing feature…
permissive · top 15,000 on PyPI
statsig-python-coreStatsig Python bindings for server-side feature…
permissive · top 5,000 on PyPI
flagsmith-flag-engineEvaluates feature flags and remote…
permissive · top 5,000 on PyPI
django-flagsDjango-Flags provides a feature flag system for…
permissive · top 15,000 on PyPI
kailash-enterpriseA Rust-compiled workflow orchestration engine…
unclear · top 15,000 on PyPI
pyheckConverts strings between case styles…
permissive · top 15,000 on PyPI