Rules engine
Project description
Getting Started
Description
Simple rules engine
Full Documentation can be found here
Requirements
python >= 3.6
How to install
pip install rules-engine
How to use
from rules_engine import Rule, RulesEngine, when, then
name = "fyndiq"
RulesEngine(Rule(when(name == "fyndiq"),then(True))).run(name)
>> True
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
rules-engine-0.1.2.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for rules_engine-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a98c7e75ab159d97a10abb61b7cdbc30984c29e237d0cf8a14c7605ce7d2ee2c |
|
MD5 | 06bb64c6c02e730c407387fc3463e682 |
|
BLAKE2b-256 | 4719dceeb91aca460b4a43a2cfba975f87460188fdebaf4a6e14e35c1bc16f6b |