Metadata-Version: 2.1
Name: simpletaskrun
Version: 0.0.3
Summary: Parallel function excutor interface
Home-page: 
Author: 
Author-email: 
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3
Description-Content-Type: text/markdown
License-File: LICENSE

A simple interface of excuting python functions or shell commands parallelly

```python
import os
from simpletaskrun import Runner

def task(cmd):
  #execute shell command and python code
  os.system(cmd)
  print('%s has been echoed' % cmd.split(' ')[-1])
	
# 10 is the max task num in same time
runner = Runner(10)
for i in range(100):
  cmd = 'echo %s' % i
  runner.add(task, [cmd])

runner.clear()
```
