{ "info": { "author": "Jack Maney", "author_email": "jackmaney@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Rate Limited Queue\n==================\n\nA Queue That Respects Rate Limits.\n\nThe original prototype for this code was written to rate-limit calls to a\ngeocoding api via `geopy `_.\n\n.. code-block:: python\n\n import geopy\n\n from rate_limited_queue import RateLimitedQueue, RateLimit\n\n addresses = open(\"some_file_of_addresses.txt\").read().splitlines()\n\n # No more than ten addresses geocoded per second\n rate_limit = RateLimit(duration=1, max_per_interval=10)\n\n geocoder = geopy.geocoder.OpenMapQuest()\n\n q = RateLimitedQueue(\n addresses,\n processing_function = geocoder.geocode,\n rate_limits = [rate_limit])\n\n # Grabs the geocoded locations, but doesn't process\n # more than ten per second\n geocoded_locations = q.process()\n\nCheck out `the docs `_ for more information.\n\nInstallation\n------------\n\nIt's up `on PyPI `_, so just do a::\n\n pip install rate_limited_queue\n\nor::\n\n sudo pip install rate_limited_queue\n", "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/jackmaney/rate-limited-queue", "keywords": null, "license": "MIT", "maintainer": null, "maintainer_email": null, "name": "rate_limited_queue", "package_url": "https://pypi.org/project/rate_limited_queue/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/rate_limited_queue/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/jackmaney/rate-limited-queue" }, "release_url": "https://pypi.org/project/rate_limited_queue/0.0.6/", "requires_dist": null, "requires_python": null, "summary": "A queue that allows for processing of items within one or more rate-limits.", "version": "0.0.6" }, "last_serial": 1376392, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "d59e71c6036a79d858b0cd147bd100d1", "sha256": "37c45e084d02ef73521c373d9388b8b1fca9ca07b59a5f17104e18157ebdce02" }, "downloads": -1, "filename": "rate_limited_queue-0.0.1.tar.gz", "has_sig": false, "md5_digest": "d59e71c6036a79d858b0cd147bd100d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2614, "upload_time": "2015-01-09T02:27:30", "url": "https://files.pythonhosted.org/packages/cb/f4/c3fd68bfe0fd0f649c28e1d25de29230d538a57fe9ae2c97d856ff6bc3ff/rate_limited_queue-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "0ecd7d7557566acac9c9dd9d4f823ea8", "sha256": "bdfa20d62d36152a45f3df1ee924ca302f402cb2167ee5a422b36663f198e019" }, "downloads": -1, "filename": "rate_limited_queue-0.0.2.tar.gz", "has_sig": false, "md5_digest": "0ecd7d7557566acac9c9dd9d4f823ea8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2663, "upload_time": "2015-01-09T02:31:56", "url": "https://files.pythonhosted.org/packages/89/bb/2eff7d19d4dcc98cb040e0adfe02c73a809962d1b4179c8ad31c3ec50d2c/rate_limited_queue-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "d7613e70b0f1af8a7019cf80176daba4", "sha256": "8162781c305167fef153a4637acbdc1fe733a7e32dffc645e051a0c56b9239b4" }, "downloads": -1, "filename": "rate_limited_queue-0.0.3.tar.gz", "has_sig": false, "md5_digest": "d7613e70b0f1af8a7019cf80176daba4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2710, "upload_time": "2015-01-09T02:33:46", "url": "https://files.pythonhosted.org/packages/ba/af/fde0bf89b684b1618dfb03574ea35c94aed159ad6d2a1bb65f30fc503a4a/rate_limited_queue-0.0.3.tar.gz" } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "5b1d20c0fbc9b0452f459a51ee258df4", "sha256": "b75491a8108c987fabdd31065153d25895b50e1012f2fe5e943747ddae8e96d0" }, "downloads": -1, "filename": "rate_limited_queue-0.0.5.tar.gz", "has_sig": false, "md5_digest": "5b1d20c0fbc9b0452f459a51ee258df4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2826, "upload_time": "2015-01-09T03:16:19", "url": "https://files.pythonhosted.org/packages/57/1e/6f205056789fd8e58c83b07791cc12f9ef986da84412ba8ed2b4469d01d8/rate_limited_queue-0.0.5.tar.gz" } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "6ece4e2106e18237b407dfbd96e3510e", "sha256": "f06126e4bddd8f4dbd120a5bee457ee4329768564b65da42c48d7e631bda7041" }, "downloads": -1, "filename": "rate_limited_queue-0.0.6.tar.gz", "has_sig": false, "md5_digest": "6ece4e2106e18237b407dfbd96e3510e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2897, "upload_time": "2015-01-09T03:43:35", "url": "https://files.pythonhosted.org/packages/6f/c5/6dc38acc7441c673983060ac38af5b009df13b15377cb967dfea1c8c8215/rate_limited_queue-0.0.6.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6ece4e2106e18237b407dfbd96e3510e", "sha256": "f06126e4bddd8f4dbd120a5bee457ee4329768564b65da42c48d7e631bda7041" }, "downloads": -1, "filename": "rate_limited_queue-0.0.6.tar.gz", "has_sig": false, "md5_digest": "6ece4e2106e18237b407dfbd96e3510e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2897, "upload_time": "2015-01-09T03:43:35", "url": "https://files.pythonhosted.org/packages/6f/c5/6dc38acc7441c673983060ac38af5b009df13b15377cb967dfea1c8c8215/rate_limited_queue-0.0.6.tar.gz" } ] }