معرفی شرکت ها


bounded-executor-0.0.5


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

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

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

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

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

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

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

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

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

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

مشاهده بیشتر

توضیحات

Bounded ThreadPoolExecutor and ProcessPoolExecutor
ویژگی مقدار
سیستم عامل -
نام فایل bounded-executor-0.0.5
نام bounded-executor
نسخه کتابخانه 0.0.5
نگهدارنده []
ایمیل نگهدارنده []
نویسنده Yanbin
ایمیل نویسنده yabqiu@gmail.com
آدرس صفحه اصلی https://github.com/yabqiu/bounded-pool-executor
آدرس اینترنتی https://pypi.org/project/bounded-executor/
مجوز BSD License
================================================== Bounded ThreadPoolExecutor and ProcessPoolExecutor ================================================== If we use concurrent.futures' ThreadPoolExecutor, ProcessPoolExecutor, easy to run into OOM issue since their waiting task queue size is not bounded. There is no limit how many tasked submitted. BoundedThreadPoolExecutor .. code-block:: python from bounded_executor import BoundedThreadPoolExecutor def job(i): print(i) with BoundedThreadPoolExecutor(max_workers=10, max_waiting_tasks=50) as pool: for i in range(1000): pool.submit(job, i) BoundedProcessPoolExecutor .. code-block:: python from bounded_executor import BoundedProcessPoolExecutor def job(i): print(i) with BoundedProcessPoolExecutor(max_workers=10, max_waiting_tasks=50) as pool: for i in range(1000): pool.submit(job, i)


زبان مورد نیاز

مقدار نام
>=3.2 Python


نحوه نصب


نصب پکیج whl bounded-executor-0.0.5:

    pip install bounded-executor-0.0.5.whl


نصب پکیج tar.gz bounded-executor-0.0.5:

    pip install bounded-executor-0.0.5.tar.gz