Need help with tulipcore?
Click the “chat” button below for chat support from the developer who created it, or find similar developers for support.

About the developer

decentfox
133 Stars 12 Forks Other 15 Commits 4 Opened issues

Description

An alternative Gevent core loop implementation with asyncio

Services available

!
?

Need anything else?

Contributors list

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:

.. code:: sh

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

Install tulipcore:

.. code:: sh

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

Use tulipcore

Add this environment variable, it will tell gevent_ to use tulipcore_:

.. code:: sh

GEVENT_LOOP=tulipcore.Loop

For example, you can run the gevent_ test suite with tulipcore_ installed:

.. code:: sh

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 .. _greenlet: https://github.com/python-greenlet/greenlet .. _Fantix King: http://about.me/fantix .. _tulipcore: https://github.com/decentfox/tulipcore

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.