Skip to content

Latest commit

 

History

History
56 lines (33 loc) · 1.08 KB

README.rst

File metadata and controls

56 lines (33 loc) · 1.08 KB

A Twisted Reactor based on pyuv

twisted-pyuv is a Twisted Reactor implementation which uses pyuv as the networking library instead of any of the builtin reactors.

pyuv is a Python interface for libuv, a high performance asynchronous networking library used as the platform layer for NodeJS.

Motivation

This is an experimental project to test pyuv's capabilities with a big framework such as Twisted.

Installation

twisted-pyuv requires pyuv >= 0.10.0.

pip install -U pyuv
pip install twisted
python setup.py install

Using it

In order to use twisted-pyuv, Twisted needs to be instructed to use our reactor. In order to do that add the following lines at the beginning of your project, before importing anything from Twisted:

import twisted_pyuv
twisted_pyuv.install()

Author

Saúl Ibarra Corretgé <saghul@gmail.com>

License

tornado-pyuv uses the MIT license, check LICENSE file.