Skip to main content

Unlock ProcessPoolExecutor's worker limit on Windows

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.1.0.tar.gz (4.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.1.0-py3-none-any.whl (3.3 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: unlock_processpool_win-2.1.0.tar.gz
  • Upload date:
  • Size: 4.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.10.9

File hashes

Hashes for unlock_processpool_win-2.1.0.tar.gz
Algorithm Hash digest
SHA256 126dfaeb42f17bd144c50909f1cb5418261fad508ff948a0cb1ceafae21f1c62
MD5 049d1690103eab1ce45f2c9ece5bce56
BLAKE2b-256 cb2b282eb3a9c9ee88d2c3f1fec1e8fb11f46f0f3c3f656c22e82e478e0cfb36

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for unlock_processpool_win-2.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 aada864ef16b38b7faa7d898acf7f721a7309531fe5b4381d049f513993093a1
MD5 09c8373828be169a543b33428212cb61
BLAKE2b-256 cab53dcdb639db0c7a88b5deec6715060230dbbf9b793fe41c9ea9273c2ff00a

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