Skip to main content

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

PyPI version License

功能特性

  • 解除 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

unlock_processpool_win-2.2.4.tar.gz (15.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

unlock_processpool_win-2.2.4-py3-none-any.whl (6.4 kB view details)

Uploaded Python 3

File details

Details for the file unlock_processpool_win-2.2.4.tar.gz.

File metadata

  • Download URL: unlock_processpool_win-2.2.4.tar.gz
  • Upload date:
  • Size: 15.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for unlock_processpool_win-2.2.4.tar.gz
Algorithm Hash digest
SHA256 4359dfdd30468a59e9836d655c1a12324e1653476e2668c5509d5f1244b41075
MD5 c96af6d176b71685ca1719ef38233e28
BLAKE2b-256 3bcf5891e8ef3e9aa89800ff47357375a4458c61832d867cb4969a834e34ac0f

See more details on using hashes here.

File details

Details for the file unlock_processpool_win-2.2.4-py3-none-any.whl.

File metadata

File hashes

Hashes for unlock_processpool_win-2.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 150b5f1158e0a3750e90d08d107c17426be4ac8191eb07268dd80f7d1b0d2141
MD5 ce87c4ad53a237be85d61e78fca7caff
BLAKE2b-256 272fe594b62f68bc27a746a22ad45ccfed0aefcf000ee37386b655a49190aa20

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page