Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/quancs/parfor


https://github.com/quancs/parfor

Last synced: 11 days ago
JSON representation

Awesome Lists containing this project

README

        

# parfor for python
```
from parfor import parfor

def myfunc(worker_id, data, other_arg):
import time
time.sleep(0.1)
# print('wid=', worker_id, 'data=', data, other_arg)

parfor(list(range(100)), myfunc, 3, other_arg=1)

```