Skip to main content

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.md with the new version number
  • Update the version number in pyproject.toml
  • Commit and merge the changes into master branch
  • 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)

Source distribution for routingfilter 2.5.0
File Size Uploaded
routingfilter-2.5.0.tar.gz 13.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for routingfilter 2.5.0
File Interpreter ABI Platform
routingfilter-2.5.0-py3-none-any.whl Python 3 none any Details

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

Release history Release notifications | RSS feed

This release

2.5.0 This release

2 release files

2.4.0

2 release files

2.3.3

2 release files

2.3.0

2 release files

2.2.9

2 release files

2.2.8

2 release files

2.2.7

2 release files

2.2.6

2 release files

2.2.5

2 release files

2.2.3

2 release files

2.2.2

2 release files

2.2.1

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.0

2 release files

1.6.3

2 release files

1.6.2

2 release files

1.6.1

2 release files

1.6.0

2 release files

1.5.2

2 release files

1.5.1

2 release files

1.4.1

2 release files

1.4.0

2 release files

1.3.2

2 release files

1.3.1

2 release files

1.3.0

2 release files

1.2.1

2 release files

1.2.0

2 release files

1.1.7

2 release files

1.1.6

2 release files

1.1.5

2 release files

1.1.4

2 release files

1.1.3

2 release files

1.1.2

2 release files

1.1.1

2 release files

1.1.0

2 release files

1.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page