Skip to main content

An alternative Gevent core loop implementation with asyncio

Project description

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 2014) main line gevent_ is in a progress fully
supporting Python 3. So if you want to take a try right now, you can install
my gevent fork:

pip install git+git://github.com/fantix/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.


.. _gevent: http://www.gevent.org
.. _gevent3: https://github.com/decentfox/tulipcore/tree/gevent3
.. _asyncio: https://docs.python.org/3/library/asyncio.html
.. _Fantix King: http://about.me/fantix
.. _tulipcore: https://github.com/decentfox/tulipcore

Project details


Release history Release notifications

History Node

0.1.0a2

This version
History Node

0.1.0a1

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
tulipcore-0.1.0a1.tar.gz (2.0 kB) Copy SHA256 hash SHA256 Source None Apr 26, 2014

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging CloudAMQP CloudAMQP RabbitMQ AWS AWS Cloud computing Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page