Skip to main content

Twisted reactor based on gevent

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for greenreactor, version 0.1.4
Filename, size File type Python version Upload date Hashes
Filename, size greenreactor-0.1.4-py2.py3-none-any.whl (7.5 kB) File type Wheel Python version py2.py3 Upload date Hashes View
Filename, size greenreactor-0.1.4.tar.gz (4.3 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page