{ "info": { "author": "Anthony Flury", "author_email": "anthony.flury@btinternet.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License (GPL)", "Programming Language :: Python :: 2.7", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "===========================================\nfilterediterator Library\n===========================================\n\nThe filteredIterator library implements the FilteredIterator class. This class provides a iterator wrap, which can be initialised from any other iterator, Iterable or sequence, and provides easy to use chained filtering methods\n\n\n*filterediterator*.FilteredIterator( *source iterable* )\n--------------------------------------------------------\nInitialises the FilteredIterator wrap around the source iterable. On it's own there is no benefit to placing the Filter wrap around an existing iterable.\n\n\n*FilteredIterator*.filter( *predicate* )\n----------------------------------------\nreturns a modified Iterator which is filtered based on the predicate. The predicate is a callable which is passed the data item from the iterator. The item is retained in the iterator if and only if the predicate callable returns True for that item.\n\n*FilteredIterator*.dropwhile( *predicate* )\n-------------------------------------------\nreturns a modified Iterator which is filtered based on the predicate. The predicate is a callable which is passed the data item from the iterator. The items are removed from the iterator while the predicate callable returns True. Once the predicate returns True, no future items are removed by dropwhile.\n\n*FilteredIterator*.takewhile( *predicate* )\n-------------------------------------------\nreturns a modified Iterator which is filtered based on the predicate. The predicate is a callable which is passed the data item from the iterator. The items are retained in the iterator while the predicate callable returns True. Once the predicate returns False, the iterator Stops.\n\nChaining methods\n----------------\nAll of the above methods return a FilteredIterator instance, and therefore can be chained together to create complex filters as required.", "description_content_type": null, "docs_url": null, "download_url": null, "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://tonyflury.github.io/py-filterediterator/", "keywords": "iterator development data", "license": "GNU General Public License (GPL)", "maintainer": null, "maintainer_email": null, "name": "filteredIterator", "package_url": "https://pypi.org/project/filteredIterator/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/filteredIterator/", "project_urls": { "Homepage": "http://tonyflury.github.io/py-filterediterator/" }, "release_url": "https://pypi.org/project/filteredIterator/0.0.1rc1/", "requires_dist": null, "requires_python": null, "summary": "Iterator class with post call filtering", "version": "0.0.1rc1" }, "last_serial": 1779743, "releases": { "0.0.1rc1": [ { "comment_text": "", "digests": { "md5": "b2e32f3d399bce9dc5e074a2a533efc5", "sha256": "a156a6faab75a7b12856fbd865deb91fd9d941da4a65683fd0a1b46ef3f0cdd4" }, "downloads": -1, "filename": "filteredIterator-0.0.1rc1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b2e32f3d399bce9dc5e074a2a533efc5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4845, "upload_time": "2015-10-21T10:33:31", "url": "https://files.pythonhosted.org/packages/7a/b8/f547a1727808992ea34ae27c712d88ecaa67906a28c119488d9ccd936222/filteredIterator-0.0.1rc1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bd1281d31eabd19f7323d979eab569fb", "sha256": "528f70ac7096d7d6daebe787c111be9f67ce58f97febdd6645e6cde558f4cdc5" }, "downloads": -1, "filename": "filteredIterator-0.0.1rc1.tar.gz", "has_sig": false, "md5_digest": "bd1281d31eabd19f7323d979eab569fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5157, "upload_time": "2015-10-21T10:33:35", "url": "https://files.pythonhosted.org/packages/ab/a3/4b80f0ad84b66b9913abe4c11b39aa92fd268a4e909fd0d22cb7e626386c/filteredIterator-0.0.1rc1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "b2e32f3d399bce9dc5e074a2a533efc5", "sha256": "a156a6faab75a7b12856fbd865deb91fd9d941da4a65683fd0a1b46ef3f0cdd4" }, "downloads": -1, "filename": "filteredIterator-0.0.1rc1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "b2e32f3d399bce9dc5e074a2a533efc5", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 4845, "upload_time": "2015-10-21T10:33:31", "url": "https://files.pythonhosted.org/packages/7a/b8/f547a1727808992ea34ae27c712d88ecaa67906a28c119488d9ccd936222/filteredIterator-0.0.1rc1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bd1281d31eabd19f7323d979eab569fb", "sha256": "528f70ac7096d7d6daebe787c111be9f67ce58f97febdd6645e6cde558f4cdc5" }, "downloads": -1, "filename": "filteredIterator-0.0.1rc1.tar.gz", "has_sig": false, "md5_digest": "bd1281d31eabd19f7323d979eab569fb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5157, "upload_time": "2015-10-21T10:33:35", "url": "https://files.pythonhosted.org/packages/ab/a3/4b80f0ad84b66b9913abe4c11b39aa92fd268a4e909fd0d22cb7e626386c/filteredIterator-0.0.1rc1.tar.gz" } ] }