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.3.tar.gz (15.8 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.3-py3-none-any.whl (6.5 kB view details)

Uploaded Python 3

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

Hashes for unlock_processpool_win-2.2.3.tar.gz
Algorithm Hash digest
SHA256 bc03f815f43f18c17357ac8f530ed748ec54b851cfa2ac98cc1d31c794447375
MD5 2dc76cb530c037119252dcf8582cc09b
BLAKE2b-256 0cfdcab03c7b27d74c74636af43b0f8c7fc7b9d431c6ccdd4ac5d1b5510dbda5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unlock_processpool_win-2.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f2d8654d1e3a198bc6b61343db3e53a0bf2dbaa3cabd98009ff6c276f9a0f3c8
MD5 f5122b89ce17a9dd9ea26a865133df3a
BLAKE2b-256 fd818cfbb9798c686ca40f92d1e97c14a4ae6aec3cfbe494bac198ca272a05af

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