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.
Release files for greenreactor 0.1.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| greenreactor-0.1.4.tar.gz | 4.3 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| greenreactor-0.1.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details |
Total release size: 11.8 kB
Release files / greenreactor-0.1.4.tar.gz
| Download URL | greenreactor-0.1.4.tar.gz |
|---|---|
| Size | 4.3 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ee5d698b208a705450f6e592ef5050f69e9b69fa1057ae942efb9510d5bed935
|
|
BLAKE2b-256 checksum How to use checksums |
fbb4efbc898c9592ea3224d20c75772d91acb7eab9b6f6fb9ef6198466ed8fc8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|
Release files / greenreactor-0.1.4-py2.py3-none-any.whl
| Download URL | greenreactor-0.1.4-py2.py3-none-any.whl |
|---|---|
| Size | 7.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
5f94077860b52369a1d6104856e303b491affaf73ca9bc5a5288917925ef58f5
|
|
BLAKE2b-256 checksum How to use checksums |
6a1a45c3f8d1330d7311e77345ceb1267c5a08aaac45802095ae32fca08fcc22
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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
|