{ "info": { "author": "Sebastian Hanula", "author_email": "sebastian.hanula@gmail.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3.3" ], "description": "Simple pipeline processing\n==========================\n\n\n\nOverview\n--------\n...\n\nUsage examples\n--------------\n\n.. code-block:: python\n\n import pipelined\n\n def detect_ddos(stream):\n access = pipelined.utils.limit_counter(10*1000)\n for log in stream:\n access[log.ip] += 1\n yield from access.over(100)\n\n def block_ips(stream):\n for ip in stream:\n # block the ip\n yield ip\n\n ddos_monitor = [\n detect_ddos,\n block_ips,\n ]\n\n source_logs = pipelined.files.follow('/path/to/server/access.log')\n for ip in pipelined.run(ddos_monitor, source_logs):\n print(ip, \"has been blocked.\")\n\nResources\n----------\n\n- Source: https://github.com/hanula/pipelined\n- Documentation: https://github.com/hanula/pipelined\n\nLicense\n-------\n\nSee `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/hanula/pipelined", "keywords": null, "license": "Copyright (c) 2013 by the respective authors (see AUTHORS file).\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without\nmodification, are permitted provided that the following conditions are\nmet:\n\n* Redistributions of source code must retain the above copyright\n notice, this list of conditions and the following disclaimer.\n\n* Redistributions in binary form must reproduce the above copyright\n notice, this list of conditions and the following disclaimer in the\n documentation and/or other materials provided with the distribution.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS\n\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT\nLIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR\nA PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT\nOWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,\nSPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT\nLIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\nDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY\nTHEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT\n(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\nOF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.", "maintainer": null, "maintainer_email": null, "name": "pipelined", "package_url": "https://pypi.org/project/pipelined/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/pipelined/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/hanula/pipelined" }, "release_url": "https://pypi.org/project/pipelined/0.1.0dev/", "requires_dist": null, "requires_python": null, "summary": "Python package template.", "version": "0.1.0dev" }, "last_serial": 826829, "releases": { "0.1.0dev": [] }, "urls": [] }