Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/saghul/tornaduv
Tornado IOLoop implemented with pyuv
https://github.com/saghul/tornaduv
Last synced: about 2 months ago
JSON representation
Tornado IOLoop implemented with pyuv
- Host: GitHub
- URL: https://github.com/saghul/tornaduv
- Owner: saghul
- License: mit
- Created: 2012-06-02T12:01:12.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2018-03-04T20:14:02.000Z (almost 7 years ago)
- Last Synced: 2024-10-11T01:46:49.592Z (2 months ago)
- Language: Python
- Size: 70.3 KB
- Stars: 96
- Watchers: 9
- Forks: 15
- Open Issues: 2
-
Metadata Files:
- Readme: README.rst
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - tornaduv - Tornado IOLoop implemented with pyuv (Python)
README
==============================
A Tornado IOLoop based on pyuv
==============================.. image:: https://travis-ci.org/saghul/tornaduv.svg?branch=master
:target: https://travis-ci.org/saghul/tornaduv
:alt: Build status.. image:: https://pypip.in/download/tornaduv/badge.png
:target: https://pypi.python.org/pypi/tornaduv/
:alt: Downloads.. image:: https://pypip.in/version/tornaduv/badge.png
:target: https://pypi.python.org/pypi/tornaduv/
:alt: Latest Version.. image:: https://pypip.in/license/tornaduv/badge.png
:target: https://pypi.python.org/pypi/tornaduv/
:alt: Licensetornaduv 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.Installation
============tornaduv requires pyuv >= 1.0.0 and Tornado >= 3.0.
::
pip install 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
IOLoop.configure(UVLoop)Testing
=======If you want to run the Tornado test suite using tornaduv run the following command:
::
python -m tornado.test.runtests --ioloop='tornaduv.UVLoop' --verbose
Authors
=======Saúl Ibarra Corretgé
Marc SchlaichLicense
=======tornaduv uses the MIT license, check LICENSE file.