Metadata-Version: 2.1
Name: yggdrasil-engine
Version: 0.1.0
Summary: Engine for evaluating Unleash feature flags
License: MIT
Author: Simon Hornby
Author-email: liquidwicked64@gmail.com
Requires-Python: >=3.8,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Description-Content-Type: text/markdown

# Python Bindings to Yggdrasil

## Build

You'll need to setup a Python virtual environment:

``` bash
python3 -m venv venv
source venv/bin/activate
```

and install the dependencies:

``` bash
pip install -r requirements.txt
```


## Running the tests

First make sure that have built the native FFI code. That can be done with Cargo anywhere in this project:


```bash
cargo build --release
```

You'll also need to set the path to the Yggdrasil native library like so:

```bash
export YGGDRASIL_LIB_PATH=/home/{YOUR_NAME_HERE}/dev/yggdrasil/target/release
```

Then you can run the tests with:

```bash
pytest
```

