معرفی شرکت ها


binge-0.1.1


Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر
Card image cap
تبلیغات ما

مشتریان به طور فزاینده ای آنلاین هستند. تبلیغات می تواند به آنها کمک کند تا کسب و کار شما را پیدا کنند.

مشاهده بیشتر

توضیحات

Lazy multiprocess your callables in three extra characters
ویژگی مقدار
سیستم عامل -
نام فایل binge-0.1.1
نام binge
نسخه کتابخانه 0.1.1
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Guillaume Schworer
ایمیل نویسنده guillaume.schworer@gmail.com
آدرس صفحه اصلی https://github.com/ceyzeriat/binge/
آدرس اینترنتی https://pypi.org/project/binge/
مجوز GNU General Public License v3 or later (GPLv3+)
.. binge .. image:: https://travis-ci.org/ceyzeriat/binge.svg?branch=master :target: https://travis-ci.org/ceyzeriat/binge .. image:: https://coveralls.io/repos/github/ceyzeriat/binge/badge.svg :target: https://coveralls.io/github/ceyzeriat/binge .. image:: http://img.shields.io/badge/license-GPLv3-blue.svg?style=flat :target: https://github.com/ceyzeriat/binge/blob/master/LICENSE :Name: binge :Website: https://github.com/ceyzeriat/binge :Author: Guillaume Schworer :Version: 0.1 Lazy multi-process your callables in three extra characters Built by `Guillaume Schworer <https://github.com/ceyzeriat>`_. Licensed under the GNU General Public License v3 or later (GPLv3+) license (see ``LICENSE``). Installation ------------ Just run :: pip install binge to get the most recent stable version. Usage ----- The only entry point is the ``binge.B`` classe. You'll just use it like this: .. code-block:: python > import time > from binge import B > def f(x, a=2): > time.sleep(1) > return x*a # normal call > [f(x) for x in range(4)] [0, 2, 4, 6] # takes 4 seconds to run # binged call, using 3 extra characters: `B`, `(`, and `)` > B(f)([x for x in range(4)]) [0, 2, 4, 6] # takes 1 second to run on 4 CPUs # and if you're very lazy, you could even call > B(f)(range(4)) # and what about the `a` parameter? - too easy > B(f)(range(4), 3) [0, 3, 6, 9] # and guess what also works? > B(f)(range(4), a=[1,2,3,6]) [0, 2, 6, 18] More usage details, see `example.py <https://github.com/ceyzeriat/binge/blob/master/binge/example.py>`_ Documentation ------------- All the options are documented in the docstrings for the ``B`` classes. These can be viewed in a Python shell using: .. code-block:: python from binge import B print(B.__doc__) or, in IPython using: .. code-block:: python from binge import B B? License ------- Copyright 2018 Guillaume Schworer binge is free software made available under the GNU General Public License v3 or later (GPLv3+) license (see ``LICENSE``). Changelog --------- 0.1.0 (2018-05-03) ++++++++++++++++++ - Initial release


نحوه نصب


نصب پکیج whl binge-0.1.1:

    pip install binge-0.1.1.whl


نصب پکیج tar.gz binge-0.1.1:

    pip install binge-0.1.1.tar.gz