An extension of gevent greenlet and pool that allow a greenlet that exits exceptionally to restart with the same function and arguments it initially started with
from restartlet import RestartableGreenlet
from restartlet import RestartPool
Through Pypi:
$ easy_install restartlet
Or the latest development branch from Github:
$ git clone [email protected]:fiebiga/restartlet.git
$ cd restartlet
$ [From virtualenv] python setup.py install
$ [No virtualenv] sudo python setup.py install
You may email myself at [email protected]