tulipcore

An alternative Gevent core loop implementation with asyncio

Showing:

Popularity

Downloads/wk

0

GitHub Stars

135

Maintenance

Last Commit

4yrs ago

Contributors

3

Package

Dependencies

0

License

UNKNOWN

Categories

Readme

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

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100