This is a Python module to handle routing filters based on dictionaries.
Load a rule and check whether an event matches the rule or not.
from routingfilter.routing import Routing
routing = Routing()
routing.load_from_dict([test_rule_1])
routing.match(test_event_1)
See the online documentation for further details.
- (If needed) Update the requirements in
requirements.txtandsetup.py - Add a new entry in
CHANGELOG.mdwith the new version number - Update the version number in
setup.py - Commit and merge the changes into
masterbranch - Publish a new release with the version number as a tag: the CI will automatically publish the new version un PyPI
In order to launch the benchmark tests, run python routing_benchmark.py
- Install
pip install -r requirements.txtandpip install -r requirements_dev.txtin your local virtual environment - Setup pre-commit:
pre-commit install -c .github/.pre-commit-config.yaml
This project is licensed under the GNU LGPLv3 license.