Metadata-Version: 2.1
Name: rules-engine
Version: 0.1.2
Summary: Rules engine
Home-page: https://github.com/fyndiq/rules-engine
Author: Fyndiq AB
Author-email: support@fyndiq.com
License: UNKNOWN
Project-URL: Bug Tracker, https://github.com/fyndiq/rules-engine/issues
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.6
Description-Content-Type: text/markdown

# Getting Started

[![CircleCI](https://circleci.com/gh/fyndiq/rules-engine.svg?style=shield)](https://circleci.com/gh/fyndiq/rules-engine) [![codecov](https://codecov.io/gh/fyndiq/rules-engine/branch/master/graph/badge.svg)](https://codecov.io/gh/fyndiq/rules-engine) [![Downloads](https://pepy.tech/badge/rules-engine)](https://pepy.tech/project/rules-engine) ![GitHub](https://img.shields.io/github/license/fyndiq/rules-engine)

## Description

Simple rules engine

Full Documentation can be found [here](https://fyndiq.github.io/rules-engine/)

## Requirements

    python >= 3.6

## How to install

    pip install rules-engine

## How to use

```python
from rules_engine import Rule, RulesEngine, when, then

name = "fyndiq"

RulesEngine(Rule(when(name == "fyndiq"),then(True))).run(name)

>> True

```


