routingfilter


Nameroutingfilter JSON
Version 2.3.3 PyPI version JSON
download
home_pagehttps://github.com/certego/RoutingFilter
SummaryGeneric Business Logic Implementation for Routing objects as python dictionaries
upload_time2024-03-19 14:44:53
maintainer
docs_urlNone
authorCertego S.r.l.
requires_python>=3.8
licenseGNU LGPLv3
keywords
VCS
bugtrack_url
requirements IPy macaddress
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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](https://routingfilter.readthedocs.io/en/latest/) for further details.
 
### Release steps
* (If needed) Update the requirements in `requirements.txt` and `setup.py`
* Add a new entry in `CHANGELOG.md` with the new version number
* Update the version number in `setup.py`
* 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 un PyPI

### Benchmark tests
In order to launch the benchmark tests, run ```python routing_benchmark.py```

### Development
* Install `pip install -r requirements.txt` and `pip install -r requirements_dev.txt` 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.

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/certego/RoutingFilter",
    "name": "routingfilter",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "Certego S.r.l.",
    "author_email": "support@certego.net",
    "download_url": "https://files.pythonhosted.org/packages/15/88/258e93569fda0b01d4f7ab17cfdcdfae8adede00d6a3f3846726d002682d/routingfilter-2.3.3.tar.gz",
    "platform": null,
    "description": "# RoutingFilter\n\nThis is a Python module to handle routing filters based on dictionaries.\n\n### Usage\nLoad a rule and check whether an event matches the rule or not. \n```\nfrom routingfilter.routing import Routing\nrouting = Routing()\nrouting.load_from_dict([test_rule_1])\nrouting.match(test_event_1)\n```\nSee the [online documentation](https://routingfilter.readthedocs.io/en/latest/) for further details.\n \n### Release steps\n* (If needed) Update the requirements in `requirements.txt` and `setup.py`\n* Add a new entry in `CHANGELOG.md` with the new version number\n* Update the version number in `setup.py`\n* Commit and merge the changes into `master` branch\n* Publish a new release with the version number as a tag: the CI will automatically publish the new version un PyPI\n\n### Benchmark tests\nIn order to launch the benchmark tests, run ```python routing_benchmark.py```\n\n### Development\n* Install `pip install -r requirements.txt` and `pip install -r requirements_dev.txt` in your local virtual environment\n* Setup pre-commit: `pre-commit install -c .github/.pre-commit-config.yaml`\n\n### License\nThis project is licensed under the **GNU LGPLv3** license.\n",
    "bugtrack_url": null,
    "license": "GNU LGPLv3",
    "summary": "Generic Business Logic Implementation for Routing objects as python dictionaries",
    "version": "2.3.3",
    "project_urls": {
        "Homepage": "https://github.com/certego/RoutingFilter"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "fe532abdadef416b43a7cff3f81e92508ca779819c4187514c9870b53bccc1e9",
                "md5": "78686dde92179f653878270d5eb69b1e",
                "sha256": "c28d44007aab0972bb6fca1018514dfeb113d8148ba2490946822c3651c2eb23"
            },
            "downloads": -1,
            "filename": "routingfilter-2.3.3-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "78686dde92179f653878270d5eb69b1e",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 14709,
            "upload_time": "2024-03-19T14:44:52",
            "upload_time_iso_8601": "2024-03-19T14:44:52.253819Z",
            "url": "https://files.pythonhosted.org/packages/fe/53/2abdadef416b43a7cff3f81e92508ca779819c4187514c9870b53bccc1e9/routingfilter-2.3.3-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1588258e93569fda0b01d4f7ab17cfdcdfae8adede00d6a3f3846726d002682d",
                "md5": "cbdc6bbfbd52fa06ce30bd56f6374777",
                "sha256": "d8219911d760d56b3a91f185c3cdd799009cbd3deb61c820ffda5e120dcef036"
            },
            "downloads": -1,
            "filename": "routingfilter-2.3.3.tar.gz",
            "has_sig": false,
            "md5_digest": "cbdc6bbfbd52fa06ce30bd56f6374777",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 13165,
            "upload_time": "2024-03-19T14:44:53",
            "upload_time_iso_8601": "2024-03-19T14:44:53.357794Z",
            "url": "https://files.pythonhosted.org/packages/15/88/258e93569fda0b01d4f7ab17cfdcdfae8adede00d6a3f3846726d002682d/routingfilter-2.3.3.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-03-19 14:44:53",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "certego",
    "github_project": "RoutingFilter",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [
        {
            "name": "IPy",
            "specs": [
                [
                    "~=",
                    "1.1"
                ]
            ]
        },
        {
            "name": "macaddress",
            "specs": [
                [
                    "~=",
                    "2.0.2"
                ]
            ]
        }
    ],
    "lcname": "routingfilter"
}
        
Elapsed time: 0.58697s