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.
Source Distribution
greenreactor-0.1.4.tar.gz
(4.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file greenreactor-0.1.4.tar.gz.
File metadata
- Download URL: greenreactor-0.1.4.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ee5d698b208a705450f6e592ef5050f69e9b69fa1057ae942efb9510d5bed935
|
|
| MD5 |
16479fb3f81d327b94bb73074355a118
|
|
| BLAKE2b-256 |
fbb4efbc898c9592ea3224d20c75772d91acb7eab9b6f6fb9ef6198466ed8fc8
|
File details
Details for the file greenreactor-0.1.4-py2.py3-none-any.whl.
File metadata
- Download URL: greenreactor-0.1.4-py2.py3-none-any.whl
- Upload date:
- Size: 7.5 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.24.0 CPython/3.6.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5f94077860b52369a1d6104856e303b491affaf73ca9bc5a5288917925ef58f5
|
|
| MD5 |
a4a84dbf56c432e4f5367bcd24b97186
|
|
| BLAKE2b-256 |
6a1a45c3f8d1330d7311e77345ceb1267c5a08aaac45802095ae32fca08fcc22
|