Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Tornado IOLoop implementation with pyuv

Project Description

tornaduv is a Tornado IOLoop implementation which uses pyuv as the networking library instead of the builtin epoll and kqueue pollers included in Tornado.

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


tornaduv requires pyuv >= 1.0.0 and Tornado >= 3.0.

pip install git+

NOTE: If you are using Tornado 2.4.x you need to use the ‘tornado24’ branch or the 0.2.x versions of tornaduv.

Using it

In order to use tornaduv, Tornado needs to be instructed to use our IOLoop. In order to do that add the following lines at the beginning of your project:

from tornado.ioloop import IOLoop
from tornaduv import UVLoop


If you want to run the Tornado test suite using tornaduv run the following command:

python -m tornado.test.runtests --ioloop='tornaduv.UVLoop' --verbose


Saúl Ibarra Corretgé <>


tornaduv uses the MIT license, check LICENSE file.

Release History

This version
History Node


History Node


Download Files

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

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(6.1 kB) Copy SHA256 Hash SHA256
Source Dec 10, 2014

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting