Generic Business Logic Implementation for Routing objects as python dictionaries
Project description
RoutingFilter
This is a Python module to handle routing filters based on dictionaries.
Usage
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.
Release steps
- (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
Benchmark tests
In order to launch the benchmark tests, run python routing_benchmark.py
Development
- 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
License
This project is licensed under the GNU LGPLv3 license.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file routingfilter-2.3.3.tar.gz.
File metadata
- Download URL: routingfilter-2.3.3.tar.gz
- Upload date:
- Size: 13.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d8219911d760d56b3a91f185c3cdd799009cbd3deb61c820ffda5e120dcef036
|
|
| MD5 |
cbdc6bbfbd52fa06ce30bd56f6374777
|
|
| BLAKE2b-256 |
1588258e93569fda0b01d4f7ab17cfdcdfae8adede00d6a3f3846726d002682d
|
File details
Details for the file routingfilter-2.3.3-py3-none-any.whl.
File metadata
- Download URL: routingfilter-2.3.3-py3-none-any.whl
- Upload date:
- Size: 14.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c28d44007aab0972bb6fca1018514dfeb113d8148ba2490946822c3651c2eb23
|
|
| MD5 |
78686dde92179f653878270d5eb69b1e
|
|
| BLAKE2b-256 |
fe532abdadef416b43a7cff3f81e92508ca779819c4187514c9870b53bccc1e9
|