fork-futures-0.0.2
توضیحات
Provides an alternative to concurrent.futures.ProcessPoolExecutor implemented using fork.
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | fork-futures-0.0.2 |
| نام | fork-futures |
| نسخه کتابخانه | 0.0.2 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | Asger Hautop Drewsen |
| ایمیل نویسنده | asgerdrewsen@gmail.com |
| آدرس صفحه اصلی | https://github.com/tyilo/fork-futures |
| آدرس اینترنتی | https://pypi.org/project/fork-futures/ |
| مجوز | MIT |
fork-futures
============
Provides an alternative to [`concurrent.futures.ProcessPoolExecutor`][ProcessPoolExecutor] implemented
using fork.
This means that you can execute local functions in another process, without having to use [`dill`][dill] (and having to dill local variables). The arguments to the function executed are not pickled, only the return values.
`ForkPoolExecutor` can be used as a replacement for [`ProcessPoolExecutor`][ProcessPoolExecutor] and `ForkFuture` as a replacement for [`Future`][Future].
Not all of the [`Executor`][Executor] or [`Future`][Future] API has been implemented.
[ProcessPoolExecutor]: https://docs.python.org/3/library/concurrent.futures.html#processpoolexecutor
[Executor]: https://docs.python.org/3/library/concurrent.futures.html#executor-objects
[Future]: https://docs.python.org/3/library/concurrent.futures.html#future-objects
[dill]: https://pypi.org/project/dill/
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.2.0 | Python |
نحوه نصب
نصب پکیج whl fork-futures-0.0.2:
pip install fork-futures-0.0.2.whl
نصب پکیج tar.gz fork-futures-0.0.2:
pip install fork-futures-0.0.2.tar.gz