threadloop-1.0.2


توضیحات

Tornado IOLoop Backed Concurrent Futures
ویژگی مقدار
سیستم عامل -
نام فایل threadloop-1.0.2
نام threadloop
نسخه کتابخانه 1.0.2
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Grayson Koonce
ایمیل نویسنده breerly@gmail.com
آدرس صفحه اصلی https://github.com/breerly/threadloop
آدرس اینترنتی https://pypi.org/project/threadloop/
مجوز MIT
ThreadLoop ========== |build-status| |coverage| |pypi| Run Tornado Coroutines from Synchronous Python. .. code:: python from threadloop import ThreadLoop from tornado import gen @gen.coroutine def coroutine(greeting="Goodbye"): yield gen.sleep(1) raise gen.Return("%s World" % greeting) with ThreadLoop() as threadloop: future = threadloop.submit(coroutine, "Hello") print future.result() # Hello World .. |build-status| image:: https://travis-ci.org/breerly/threadloop.svg?branch=master :target: https://travis-ci.org/breerly/threadloop .. |coverage| image:: https://coveralls.io/repos/breerly/threadloop/badge.svg?branch=master&service=github :target: https://coveralls.io/github/breerly/threadloop?branch=master .. |pypi| image:: https://badge.fury.io/py/threadloop.svg :target: http://badge.fury.io/py/threadloop


نیازمندی

مقدار نام
- tornado


نحوه نصب


نصب پکیج whl threadloop-1.0.2:

    pip install threadloop-1.0.2.whl


نصب پکیج tar.gz threadloop-1.0.2:

    pip install threadloop-1.0.2.tar.gz