Benign python Download

newpool 0.3.14

“更简单的使用异步协程和线程池 / 进程池”

Python package contains an entry_points.txt filePackage declares a console-script entry point

Evidence

Uses a thread or async task executor _newpool.py · lines 45–48
45:4… max_workers = n or min(32, (os.cpu_count() or 1) + 4)
46 with concurrent.futures.ThreadPoolExecutor(max_workers=max_workers) as executor:
47 return _map_with_executor(
48 executor, func, *iterables, timeout=timeou …
Python asyncio.run call _newpool.py · lines 91–105
91:5… 运行协程函数
92
93 - coro: 协程对象
94 """
95 return asyncio.run(coro)
96
97
⋯8 lines
pool.Pool type _newpool.py · lines 162–170
162:32… ��在���要进程池时指定:
163
164 ```
165 pool = newpool.Pool()
166 process_pool = newpool.Pool(mode="process")
167 ```
168 """
169 self.mode = mode.lower()
170 if self. …
PyPI package declares name, version, summary METADATA · line 0
0Metadata-Version: 2.1 Name: newpool Version: 0.3.14 Summary: 更简单的使用异步协程和线程池 / 进程池 Author: jiaosenvip Author-Email: jiaosenvip <[email protected]> License: MIT Project-URL: Home
Declares Markdown package description METADATA · line 278
278ion, https://github.com/jiaosenvip/newpool/wiki Requires-Python: >=3.11 Requires-Dist: rich Requires-Dist: loky>=3.5.6 Description-Content-Type: text/markdown # newpool 一个简化异步协程、线程池和进程池使�

No evidence locations were recorded for this file. Raw result

Keyboard shortcuts on this page: j for the next sample, k for the previous one, x to go back to the feed, d to download the original bytes, r to re-queue the sample for analysis.