greenreactor 0.1.4
gevent_reactor
A reactor which make twisted compatible with gevent
Installation
pip install greenreactor
Usage
# Usually we need monkey patch
import gevent.monkey
gevent.monkey.patch_all()
# Install greenreactor
import greenreactor
greenreactor.install()
from twisted.internet import reactor
reactor.run()
Then you can use any gevent api such as spawn, spawn_later, `1etc.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.