{ "info": { "author": "Daniel Lindsley", "author_email": "daniel@toastdriven.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python", "Topic :: Utilities" ], "description": "=============\nlittleworkers\n=============\n\nLittle process-based workers to do your bidding.\n\nDeliberately minimalist, you provide the number of ``workers`` to use &\na list of commands (to be executed at the shell) & ``littleworkers`` will eat\nthrough the list as fast as it can.\n\n\nWhy littleworkers?\n==================\n\n``littleworkers`` shines when you just want to parallelize something without a\nlot of fuss & when you care more about the data/commands to be run.\n\n* Tiny source\n* Easy to queue a set of actions\n* Works with any runnable commands\n* Uses processes\n* Non-blocking\n\nSeriously, it's not a replacement for threading or multiprocessing if your\napplication needs to share a ton of data with the children.\n\n\nUsage\n=====\n\nUsage is trivial::\n\n from littleworkers import Pool\n\n # Define your commands.\n commands = [\n 'ls -al',\n 'cd /tmp && mkdir foo',\n 'date',\n 'echo \"Hello There.\"',\n 'sleep 2 && echo \"Done.\"'\n ]\n\n # Setup a pool. Since I have two cores, I'll use two workers.\n lil = Pool(workers=2)\n\n # Run!\n lil.run(commands)\n\nFor more advanced uses, please see the API documentation.\n\n\nRequirements\n============\n\n* Python 2.6+\n\n\n:author: Daniel Lindsley\n:updated: 2011/11/10\n:version: 0.3.1\n:license: BSD", "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/toastdriven/littleworkers", "keywords": null, "license": "UNKNOWN", "maintainer": null, "maintainer_email": null, "name": "littleworkers", "package_url": "https://pypi.org/project/littleworkers/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/littleworkers/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/toastdriven/littleworkers" }, "release_url": "https://pypi.org/project/littleworkers/0.3.2/", "requires_dist": null, "requires_python": null, "summary": "Little process-based workers to do your bidding.", "version": "0.3.2" }, "last_serial": 934522, "releases": { "0.1.1": [ { "comment_text": "", "digests": { "md5": "2bdfa384a02c6dd2947a678f3f9d62e4", "sha256": "af41c38a0054140450b7b3f14048ba0daddbcddd55ea914af7a1c9df5845eb65" }, "downloads": -1, "filename": "littleworkers-0.1.1.tar.gz", "has_sig": false, "md5_digest": "2bdfa384a02c6dd2947a678f3f9d62e4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2017, "upload_time": "2011-05-20T02:50:57", "url": "https://files.pythonhosted.org/packages/c7/24/b7ea35ff3fcda67b76162cdd2787389f351dd9e900293c3b848e4e9ebb31/littleworkers-0.1.1.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "805a16d20122cb585789fdf2cd10e40b", "sha256": "3b97b0c274bc9e27ad9435087da1709bec5ad459091a6c84d40168eea20174ba" }, "downloads": -1, "filename": "littleworkers-0.2.0.tar.gz", "has_sig": false, "md5_digest": "805a16d20122cb585789fdf2cd10e40b", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2152, "upload_time": "2011-05-20T05:46:55", "url": "https://files.pythonhosted.org/packages/01/70/aa33cd5782c03b3a0fece70561fb6dd4f5cbe24f853cdc7b055b140ba886/littleworkers-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "8c763d7d2d7fa1e5e7f4199bf413ba74", "sha256": "c95ce9031cb51d0c51ad09e7318e40e0f87cf4d8b184951e450727dc23d17afc" }, "downloads": -1, "filename": "littleworkers-0.3.0.tar.gz", "has_sig": false, "md5_digest": "8c763d7d2d7fa1e5e7f4199bf413ba74", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2546, "upload_time": "2011-05-29T05:27:33", "url": "https://files.pythonhosted.org/packages/ef/3d/7deef205b60b419d4ad492ddd3002b3f416e2a7b28399ffe3f281ba0870a/littleworkers-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "64bfc606f1b19e1ef526f37001af921d", "sha256": "9968c33f085c92d8c2036bc292f27acc414965e6592971b6273f9ae3f5c77341" }, "downloads": -1, "filename": "littleworkers-0.3.1.tar.gz", "has_sig": false, "md5_digest": "64bfc606f1b19e1ef526f37001af921d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3092, "upload_time": "2011-11-11T00:57:58", "url": "https://files.pythonhosted.org/packages/fb/9e/8fc9cce2549a485cdf0322bdd1371c06f047ebc774c5df92a2befc467ea6/littleworkers-0.3.1.tar.gz" } ], "0.3.2": [ { "comment_text": "", "digests": { "md5": "ff12e1b41f13361a184bf6621d666d22", "sha256": "701c6bee15a9ac8cc52758ad604fef4a034291f6951ab89aaf1469abdb1e9838" }, "downloads": -1, "filename": "littleworkers-0.3.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ff12e1b41f13361a184bf6621d666d22", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5334, "upload_time": "2013-12-03T10:08:40", "url": "https://files.pythonhosted.org/packages/40/f8/8b4870e0073edf572e042822eaae208f635ad384f22ffefbc714d25ae6c2/littleworkers-0.3.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "576ef152387c99c0fb5e83f989e7fbfc", "sha256": "2f73cda5bed84e269c75def3d74d2764ac5742f97ebd8d6ad2747da077945dd6" }, "downloads": -1, "filename": "littleworkers-0.3.2.tar.gz", "has_sig": false, "md5_digest": "576ef152387c99c0fb5e83f989e7fbfc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 77240, "upload_time": "2012-01-03T17:12:39", "url": "https://files.pythonhosted.org/packages/f7/2c/0f35f9b28f645a50b0f23f1b44281a48bc1d059ba53d4acf41d826485001/littleworkers-0.3.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ff12e1b41f13361a184bf6621d666d22", "sha256": "701c6bee15a9ac8cc52758ad604fef4a034291f6951ab89aaf1469abdb1e9838" }, "downloads": -1, "filename": "littleworkers-0.3.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ff12e1b41f13361a184bf6621d666d22", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5334, "upload_time": "2013-12-03T10:08:40", "url": "https://files.pythonhosted.org/packages/40/f8/8b4870e0073edf572e042822eaae208f635ad384f22ffefbc714d25ae6c2/littleworkers-0.3.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "576ef152387c99c0fb5e83f989e7fbfc", "sha256": "2f73cda5bed84e269c75def3d74d2764ac5742f97ebd8d6ad2747da077945dd6" }, "downloads": -1, "filename": "littleworkers-0.3.2.tar.gz", "has_sig": false, "md5_digest": "576ef152387c99c0fb5e83f989e7fbfc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 77240, "upload_time": "2012-01-03T17:12:39", "url": "https://files.pythonhosted.org/packages/f7/2c/0f35f9b28f645a50b0f23f1b44281a48bc1d059ba53d4acf41d826485001/littleworkers-0.3.2.tar.gz" } ] }