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.0.tar.gz (14.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.0-py3-none-any.whl (5.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: unlock_processpool_win-2.2.0.tar.gz
  • Upload date:
  • Size: 14.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.0.tar.gz
Algorithm Hash digest
SHA256 bbd025732e7b84b6ba38d9da39d43961b58f88f98489ab90bfff192c52cb3aaa
MD5 0c058c014a18c5b0f7ad17a3efd40c63
BLAKE2b-256 aef60e26149cc5131ff31ef7c8b149b797ef32e9e8bf726deea6113a810635ea

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unlock_processpool_win-2.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a5e3c57fae4fe8dbb5ab668093e9487485aa3a8c73092aabbeea7da045de7346
MD5 f03f8f0786e1edc49e6db903972e5810
BLAKE2b-256 1cf6ab5722c4b32273a1a971820492889b2c355a0eee888511064776ed6d1df8

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