Skip to content
An alternative Gevent core loop implementation with asyncio
Branch: master
Clone or download
Latest commit 343390a Dec 3, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
gevent @ 5c52d36 Update gevent Jul 5, 2015
.gitignore configure automated tests with tox and travis Jun 28, 2015
.gitmodules configure automated tests with tox and travis Jun 28, 2015
.travis.yml configure automated tests with tox and travis Jun 28, 2015
AUTHORS Added AUTHORS Apr 28, 2014
LICENSE Initial commit, 0.1.0a1. Apr 26, 2014
README.rst
known_failures.patch
runtests.sh
setup.py Alpha 2, seems there was no content in alpha1 - should be py_modules … May 3, 2014
tox.ini Update gevent Jul 5, 2015
tulipcore.py support ChildWatcher.rstatus Jul 6, 2015

README.rst

tulipcore

tulipcore is an alternative gevent core loop. It is based on asyncio a.k.a. tulip, the async library for Python 3. With tulipcore, you can run gevent code on top of asyncio.

tulipcore is written and maintained by Fantix King and is licensed under MIT license.

Install tulipcore

Install Python 3.4 or newer, greenlet extension and gevent library. Note if you are running on Python 3.3, you still need to install the asyncio library.

Please note, at this point (mid 2015) only master branch of gevent supports Python 3. So if you want to have a try right now, you can install it by:

pip install git+git://github.com/gevent/gevent.git

Install tulipcore:

pip install git+git://github.com/decentfox/tulipcore.git

Use tulipcore

Add this environment variable, it will tell gevent to use tulipcore:

GEVENT_LOOP=tulipcore.Loop

For example, you can run the gevent test suite with tulipcore installed:

cd gevent/greentest
GEVENT_LOOP=tulipcore.Loop python testrunner.py

History

This project was originally called gevent3, which was a wrapper of asyncio for Python 3 offering a gevent-compatible API. It was developed in a wrong direction and I decided to abandon it.

You can’t perform that action at this time.