skillfed

yggdrasil-engine

Engine for evaluating Unleash feature flags

yggdrasil-engine v1.3.1 2.1M downloads/30d#3,279 on PyPI
Permissive license MIT Active released

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-engine

uv

uv add yggdrasil-engine

poetry

poetry add yggdrasil-engine

Installing 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

License :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Tags

feature flag evaluationunleash yggdrasil bindingspython feature flagsfeature toggle engineflag evaluation libraryunleash sdk pythonfeature management
feature-flagsunleashfeature-management

More Software Development packages