{ "info": { "author": "Sriram Sundarraj", "author_email": "sriram.s.1994@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "License :: OSI Approved :: GNU General Public License v3 (GPLv3)", "Operating System :: POSIX", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Topic :: Software Development :: Libraries :: Application Frameworks" ], "description": "py-threadpool\n=============\n\nThread pool library for Humans.\n\n|Latest Version| |Build Status| |Coverage Status|\n\nInstallation\n------------\n\nUsing ``pip``\n^^^^^^^^^^^^^\n\n``pip install SimplePool``\n\nor to get the source via pip, use\n\n``pip install -e git+https://github.com/srirams6/py-threadpool.git#egg=SimplePool``\n\nFrom source\n^^^^^^^^^^^\n\n- Clone from Github.\n- Execute ``python setup.py install``\n\nUsage\n-----\n\nBasic usage is shown here.\n\n.. code:: py\n\n import SimplePool\n\n # Function to be executed.\n def printer(x, y, testx=None, testy=None):\n print x, y, testx, testy\n print \"Done\"\n\n t = SimplePool.ThreadPool()\n\n # Adding the same function 100 times\n for i in range(100):\n args = ('formalx', 'formaly')\n kwargs = {'testx': 'keywordx', 'testy': 'keywordy'}\n j = SimplePool.ThreadJob(printer, args, kwargs) # Create a thread_job object.\n t.add_job(j)\n t.start()\n t.finish()\n\nContribute\n----------\n\nIf you want to add features, or improve anything feel free to send a\npull request. If you have any issues, open an issue.\n\nTodo\n----\n\n- Putting results in ``result_q`` and handling the results\n- Handling exceptions in the function call\n\n.. |Latest Version| image:: https://pypip.in/version/SimplePool/badge.svg\n :target: https://pypi.python.org/pypi/SimplePool/\n.. |Build Status| image:: https://travis-ci.org/srirams6/py-threadpool.svg?branch=master\n :target: https://travis-ci.org/srirams6/py-threadpool\n.. |Coverage Status| image:: https://coveralls.io/repos/srirams6/py-threadpool/badge.svg?branch=coverage\n :target: https://coveralls.io/r/srirams6/py-threadpool?branch=coverage", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.com/srirams6/py-threadpool", "keywords": null, "license": "GPL v3", "maintainer": null, "maintainer_email": null, "name": "SimplePool", "package_url": "https://pypi.org/project/SimplePool/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/SimplePool/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://github.com/srirams6/py-threadpool" }, "release_url": "https://pypi.org/project/SimplePool/0.1/", "requires_dist": null, "requires_python": null, "summary": "Threadpool library for humans.", "version": "0.1" }, "last_serial": 1566045, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "651a02a72703eb8be5c398e4483a55a3", "sha256": "e2ee0993a860c6048611b3e1f3bc6734a77b863df4b456555b90176fc1671bdb" }, "downloads": -1, "filename": "SimplePool-0.1.tar.gz", "has_sig": false, "md5_digest": "651a02a72703eb8be5c398e4483a55a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36400, "upload_time": "2015-04-07T09:11:01", "url": "https://files.pythonhosted.org/packages/5f/05/1caf229f0baccbbc01978b4c77269e602125815403a7fb1079e63b83be05/SimplePool-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "651a02a72703eb8be5c398e4483a55a3", "sha256": "e2ee0993a860c6048611b3e1f3bc6734a77b863df4b456555b90176fc1671bdb" }, "downloads": -1, "filename": "SimplePool-0.1.tar.gz", "has_sig": false, "md5_digest": "651a02a72703eb8be5c398e4483a55a3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 36400, "upload_time": "2015-04-07T09:11:01", "url": "https://files.pythonhosted.org/packages/5f/05/1caf229f0baccbbc01978b4c77269e602125815403a7fb1079e63b83be05/SimplePool-0.1.tar.gz" } ] }