{ "info": { "author": "adityabhasin", "author_email": "conlini@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Bucket Filter\n=============\n\nA filtering library to present data that matches a series of conditional\nexpressions\n\n--------------\n\nBucket filter is a python library that allows creating multiple buckets\neach linked to a condition and having various data, each identified by a\nunique ID. It then allows for combining various buckets in a serious of\nconditinal operators and filters out those IDs that match a given\nexpression.\n\n\n* Currently supported operators is &(AND), ||(OR)\n* The library currenly only supports Boolean expressions\n\nExample\n-------\n\nLets say there are 3 buckets with conditions c1, c2, c3 as defined below\n\n1. c1 \u2013> id1, id2, id3\n2. c2 \u2013> id3, id4, id5\n3. c3 \u2013> id2, id3, id6\n\nan expression\n\n::\n\n C = c1 & (c2 || c3)\n\nwould result in\n\n::\n\n ==> C = (id1, id2, id3) & (id3, id4, id5 id2, id6)\n\n ==> C = (id2, id3)\n\n**NOTE**\n\n1. The library does not evaluate individual conditions, only joins the\n filters as defined by the expression\n\n - The library does an exact expression match, so if while\n registering one uses hasData=True, the library expects the same\n expression when evaluating\n\n2. Standard evaluation rules apply, left to right, expressions in braces\n are done first\n3. Elements in the bucket **MUST** have a accessible attribute *id* else\n will be evicted out of the bucket\n\n--------------\n\nLicense\n=======\n\nLicensed under the Apache License, Version 2.0 (the \u201cLicense\u201d); you may\nnot use this file except in compliance with the License. You may obtain\na copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \u201cAS IS\u201d BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/conlini/bucket_filters", "keywords": null, "license": "Apache License, Version 2.0", "maintainer": null, "maintainer_email": null, "name": "bucket-filter", "package_url": "https://pypi.org/project/bucket-filter/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/bucket-filter/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/conlini/bucket_filters" }, "release_url": "https://pypi.org/project/bucket-filter/0.5/", "requires_dist": null, "requires_python": null, "summary": "A filtering library to present data that matches a series of conditional expressions", "version": "0.5" }, "last_serial": 1860075, "releases": { "0.5": [ { "comment_text": "", "digests": { "md5": "678ebfa06d3873ec03bed268bb7d6731", "sha256": "abe99fde57139f5eddb1416ce37d598216d6d41a05d77817a5253aaaf19e16c0" }, "downloads": -1, "filename": "bucket-filter-0.5.tar.gz", "has_sig": false, "md5_digest": "678ebfa06d3873ec03bed268bb7d6731", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3464, "upload_time": "2015-12-13T15:09:00", "url": "https://files.pythonhosted.org/packages/74/fc/99e8e3cee3d177d9407e8f85822e0a721b284aeb587340a4fbf9b763040d/bucket-filter-0.5.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "678ebfa06d3873ec03bed268bb7d6731", "sha256": "abe99fde57139f5eddb1416ce37d598216d6d41a05d77817a5253aaaf19e16c0" }, "downloads": -1, "filename": "bucket-filter-0.5.tar.gz", "has_sig": false, "md5_digest": "678ebfa06d3873ec03bed268bb7d6731", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3464, "upload_time": "2015-12-13T15:09:00", "url": "https://files.pythonhosted.org/packages/74/fc/99e8e3cee3d177d9407e8f85822e0a721b284aeb587340a4fbf9b763040d/bucket-filter-0.5.tar.gz" } ] }