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 dependencies in
pyproject.toml - Add a new entry in
CHANGELOG.mdwith the new version number - Update the version number in
pyproject.toml - 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 on PyPI
Benchmark tests
In order to launch the benchmark tests, run python routing_benchmark.py
Development
- Install
pip install -e ".[dev]"in 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.
Metadata
Release files for routingfilter 2.5.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| routingfilter-2.5.0.tar.gz | 13.5 kB | Without provenance | Details for routingfilter-2.5.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| routingfilter-2.5.0-py3-none-any.whl | Python 3 | none | any | Details for routingfilter-2.5.0-py3-none-any.whl |
Total release size: 28.6 kB
Release files / routingfilter-2.5.0.tar.gz
| Download URL | routingfilter-2.5.0.tar.gz |
|---|---|
| Size | 13.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
166aba822e89e7bbc614c61f2b11bad966628512caaaaba133d3d36321b01912
|
|
BLAKE2b-256 checksum How to use checksums |
bea42f3f34ab71fe70a61dfbcc79cb1d92ac0e6a388ba4741479b05f014f98dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Release files / routingfilter-2.5.0-py3-none-any.whl
| Download URL | routingfilter-2.5.0-py3-none-any.whl |
|---|---|
| Size | 15.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eeb4947fe944ee428b689e56d03f64faf15028ac04700cceed295687cf28ac69
|
|
BLAKE2b-256 checksum How to use checksums |
a1ac1d38fe94b1d4e9f05840da06be0c0e14b631fa8816fe4d9fb0a401fcd1b4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.14
|
Security for routingfilter 2.5.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.