{ "info": { "author": "Guillaume Schworer", "author_email": "guillaume.schworer@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Intended Audience :: Education", "Intended Audience :: Science/Research", "License :: OSI Approved :: GNU General Public License v3 or later (GPLv3+)", "Operating System :: OS Independent", "Programming Language :: Python" ], "description": ".. binge\n\n.. image:: https://travis-ci.org/ceyzeriat/binge.svg?branch=master\n :target: https://travis-ci.org/ceyzeriat/binge\n.. image:: https://coveralls.io/repos/github/ceyzeriat/binge/badge.svg\n :target: https://coveralls.io/github/ceyzeriat/binge\n.. image:: http://img.shields.io/badge/license-GPLv3-blue.svg?style=flat\n :target: https://github.com/ceyzeriat/binge/blob/master/LICENSE\n\n:Name: binge\n:Website: https://github.com/ceyzeriat/binge\n:Author: Guillaume Schworer\n:Version: 0.1\n\n\nLazy multi-process your callables in three extra characters\n\nBuilt by `Guillaume Schworer `_. Licensed under\nthe GNU General Public License v3 or later (GPLv3+) license (see ``LICENSE``).\n\n\nInstallation\n------------\n\nJust run\n\n::\n\n pip install binge\n\nto get the most recent stable version.\n\n\nUsage\n-----\n\nThe only entry point is the ``binge.B`` classe. You'll just use it like this:\n\n.. code-block:: python\n\n > import time\n > from binge import B\n\n > def f(x, a=2):\n > time.sleep(1)\n > return x*a\n\n # normal call\n > [f(x) for x in range(4)]\n [0, 2, 4, 6] # takes 4 seconds to run\n \n # binged call, using 3 extra characters: `B`, `(`, and `)`\n > B(f)([x for x in range(4)])\n [0, 2, 4, 6] # takes 1 second to run on 4 CPUs\n \n # and if you're very lazy, you could even call\n > B(f)(range(4))\n \n # and what about the `a` parameter? - too easy\n > B(f)(range(4), 3)\n [0, 3, 6, 9]\n \n # and guess what also works?\n > B(f)(range(4), a=[1,2,3,6])\n [0, 2, 6, 18]\n\n\nMore usage details, see `example.py\n`_\n\n\nDocumentation\n-------------\n\nAll the options are documented in the docstrings for the ``B`` classes.\nThese can be viewed in a Python shell using:\n\n.. code-block:: python\n\n from binge import B\n print(B.__doc__)\n\nor, in IPython using:\n\n.. code-block:: python\n\n from binge import B\n B?\n\n\n\nLicense\n-------\n\nCopyright 2018 Guillaume Schworer\n\nbinge is free software made available under the GNU General\nPublic License v3 or later (GPLv3+) license (see ``LICENSE``).\n\n\nChangelog\n---------\n\n0.1.0 (2018-05-03)\n++++++++++++++++++\n\n- Initial release", "description_content_type": "", "docs_url": null, "download_url": "https://github.com/ceyzeriat/binge/tree/master/dist", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/ceyzeriat/binge/", "keywords": "multi,processing,multiprocessing,lazy,wrapper,function,threading,multithreading,multi-processing,multi-threading", "license": "GNU General Public License v3 or later (GPLv3+)", "maintainer": "", "maintainer_email": "", "name": "binge", "package_url": "https://pypi.org/project/binge/", "platform": "", "project_url": "https://pypi.org/project/binge/", "project_urls": { "Download": "https://github.com/ceyzeriat/binge/tree/master/dist", "Homepage": "https://github.com/ceyzeriat/binge/" }, "release_url": "https://pypi.org/project/binge/0.1.1/", "requires_dist": null, "requires_python": "", "summary": "Lazy multiprocess your callables in three extra characters", "version": "0.1.1" }, "last_serial": 3862745, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "076ec3d30af5a2b12ffc03ae5485b40a", "sha256": "969c48427b429bb0752900d6dc378fb8f516dc322772bdb6812f7cd34174af34" }, "downloads": -1, "filename": "binge-0.1.0.tar.gz", "has_sig": false, "md5_digest": "076ec3d30af5a2b12ffc03ae5485b40a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6383, "upload_time": "2018-05-07T22:23:05", "url": "https://files.pythonhosted.org/packages/98/2a/dc78c30bea42c53dd63f77da4a0b87fc2d54139e2a0cec0fcaa2d58f285c/binge-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "7a9c9ce057ced2a170dc68c53f3f1ec5", "sha256": "79331a4867dd15075c3af897032ec217d7f4c4ab40fe87baccd07919af9551bf" }, "downloads": -1, "filename": "binge-0.1.1.tar.gz", "has_sig": false, "md5_digest": "7a9c9ce057ced2a170dc68c53f3f1ec5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7445, "upload_time": "2018-05-14T23:17:32", "url": "https://files.pythonhosted.org/packages/17/12/20eb361cdb2c785c35c9dbd6f371a517e4fd97bbe84db613ff5862eb5f2a/binge-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "7a9c9ce057ced2a170dc68c53f3f1ec5", "sha256": "79331a4867dd15075c3af897032ec217d7f4c4ab40fe87baccd07919af9551bf" }, "downloads": -1, "filename": "binge-0.1.1.tar.gz", "has_sig": false, "md5_digest": "7a9c9ce057ced2a170dc68c53f3f1ec5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7445, "upload_time": "2018-05-14T23:17:32", "url": "https://files.pythonhosted.org/packages/17/12/20eb361cdb2c785c35c9dbd6f371a517e4fd97bbe84db613ff5862eb5f2a/binge-0.1.1.tar.gz" } ] }