Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Twisted reactor implemented with pyuv

branch: master

Fetching latest commit…

Octocat-spinner-32-eaf2f5

Cannot retrieve the latest commit at this time

Octocat-spinner-32 examples
Octocat-spinner-32 twisted_pyuv
Octocat-spinner-32 LICENSE
Octocat-spinner-32 MANIFEST.in
Octocat-spinner-32 README.rst
Octocat-spinner-32 TODO
Octocat-spinner-32 setup.py
README.rst

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.

Something went wrong with that request. Please try again.