Metadata-Version: 2.0
Name: marius
Version: 0.1.2
Summary: Light weight job scheduling tool with more performance and scalability.
Home-page: https://github.com/Jack-Kingdom/marius.git
Author: Jack King
Author-email: email@qiaohong.org
License: MIT
Description-Content-Type: UNKNOWN
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Natural Language :: English

## Marius
--------
Light weight job scheduling tool with more performance and scalability.<br/>
Name come from [Gaius Marius](https://en.wikipedia.org/wiki/Gaius_Marius)

### Installation

```shell
pip install marius
```

### Usage Example

```python
import time
from marius import Task, TimeLine


def func(num):
    print('task-{0}'.format(num))


if __name__ == '__main__':
    tl = TimeLine()
    now = time.time()
    tl.add(Task(iter([now + i for i in [2, 3, 5]]), func, 3))
    while tl.has_tasks():
        tl.wait_next()
        tl.run()
    else:
        print("all job run over")

```

### TODO
1. add automatic test support
2. add more helper function
3. add doc

### Welcome to contribute
Feel free to open a issue or start a pull request. <br/>
You are welcome.

