Skip to main content

A Tornado IOLoop based on pyuv

Build status Downloads Latest Version License

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.

Installation

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

pip install git+https://github.com/saghul/tornaduv.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
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

Author

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

License

tornaduv uses the MIT license, check LICENSE file.

Metadata

Release files for tornaduv 0.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tornaduv 0.4.0
File Size Uploaded Provenance Actions
tornaduv-0.4.0.tar.gz 6.1 kB Without provenance Details for tornaduv-0.4.0.tar.gz

Release files / tornaduv-0.4.0.tar.gz

Download URL tornaduv-0.4.0.tar.gz
Size 6.1 kB
Tags Source
SHA-256 checksum
How to use checksums
7eb8518afac4a52892ed115434db96e24f63df8d07be1fb3f5bb81caaff0d5e0
BLAKE2b-256 checksum
How to use checksums
5d84a479583e1b2c02ec6766c62cf2a1df942ac944745c1ff8ccd8ab2fa449c5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for tornaduv 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.4.0 This release

1 release file No provenance

0.3.1

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page