Unlock Windows process limit for ProcessPoolExecutor and joblib (61->508 workers)
Project description
unlock-processpool-win
解锁 Windows 下 ProcessPoolExecutor 最大进程数限制的 Python 工具包 / Unlock ProcessPoolExecutor's worker limit on Windows
功能特性
- 解除 Windows 平台默认 61 进程限制
- 支持 Python 3.8-3.12
- 无需修改系统配置
- 兼容joblib和ProcessPoolExecutor的统一解锁器
安装方法
pip install unlock-processpool-win
使用方法
import unlock_processpool
unlock_processpool.please() # 必须在创建Executor前调用
from concurrent.futures import ProcessPoolExecutor
with ProcessPoolExecutor(max_workers=100) as executor:
# 您的并发代码
许可证
BSD 3-Clause License 查看完整协议
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file unlock_processpool_win-2.2.3.tar.gz.
File metadata
- Download URL: unlock_processpool_win-2.2.3.tar.gz
- Upload date:
- Size: 15.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bc03f815f43f18c17357ac8f530ed748ec54b851cfa2ac98cc1d31c794447375
|
|
| MD5 |
2dc76cb530c037119252dcf8582cc09b
|
|
| BLAKE2b-256 |
0cfdcab03c7b27d74c74636af43b0f8c7fc7b9d431c6ccdd4ac5d1b5510dbda5
|
File details
Details for the file unlock_processpool_win-2.2.3-py3-none-any.whl.
File metadata
- Download URL: unlock_processpool_win-2.2.3-py3-none-any.whl
- Upload date:
- Size: 6.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.11.13
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
f2d8654d1e3a198bc6b61343db3e53a0bf2dbaa3cabd98009ff6c276f9a0f3c8
|
|
| MD5 |
f5122b89ce17a9dd9ea26a865133df3a
|
|
| BLAKE2b-256 |
fd818cfbb9798c686ca40f92d1e97c14a4ae6aec3cfbe494bac198ca272a05af
|