【文件属性】:
文件名称:entangle:基于简单装饰器的python本机并行处理框架
文件大小:66KB
文件格式:ZIP
更新时间:2021-04-02 17:08:04
Python
绞
一个基于简单装饰器的python本机并行处理框架。
一个如何使用纠缠的示例(仍在开发中)
from entangle . process import process
from entangle . thread import thread
from entangle . task import task
from entangle . local import local
from entangle . aws import aws
from entangle . aws . ec2 import ec2
from entangle . aws . lmbda import lmbda
@ process
@ local ( cpus = 4 )
def add ( a , b ):
return a + b
@ process
@ aws ( keys = [])
@
【文件预览】:
entangle-main
----entangle()
--------process.py(3KB)
--------__init__.py(100B)
--------__version__.py(401B)
----Pipfile.lock(41KB)
----LICENSE(1KB)
----setup.py(1KB)
----README.md(615B)
----Pipfile(266B)
----docs()
--------source()
----tests()
--------test_entangle.py(703B)
--------__init__.py(56B)
--------conftest.py(287B)
----.gitignore(2KB)