Skip to main content

Unlock Windows process limit for ProcessPoolExecutor and joblib (61->2046 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.3.0.tar.gz (16.6 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.3.0-py3-none-any.whl (7.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: unlock_processpool_win-2.3.0.tar.gz
  • Upload date:
  • Size: 16.6 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.3.0.tar.gz
Algorithm Hash digest
SHA256 ea045a1ded50a9f366db700ff8cd54fe21478a7db8f1a0056bb5b09625f8d848
MD5 43915f9e6a9fe536aa2657ebfc71d78f
BLAKE2b-256 1eedd6e43310a363963c243756b8e909400e369a0fee0e9dceed9a264d900c0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unlock_processpool_win-2.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8bec60abcc23a1ee7f4b6e76374f5ee6a3ab7205ca598e52d4e12a4a5b2b36cc
MD5 af4c81688ab89d8ffe91336be9af0dc5
BLAKE2b-256 3a6546acaa6558906c07eb05aee6e7befee217e54e0979e63dc29bc957e6cf15

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