Skip to main content

Python interface for libuv

Project description

https://badge.fury.io/py/pyuv.png

pyuv is a Python module which provides an interface to libuv. libuv is a high performance asynchronous networking and platform abstraction library.

libuv is built on top of epoll/kequeue/event ports/etc on Unix and IOCP on Windows systems providing a consistent API on top of them.

pyuv’s features:

  • Non-blocking TCP sockets

  • Non-blocking named pipes

  • UDP support (including multicast)

  • Timers

  • Child process spawning

  • Asynchronous DNS resolution (getaddrinfo)

  • Asynchronous file system APIs

  • High resolution time

  • System memory information

  • System CPUs information

  • Network interfaces information

  • Thread pool scheduling

  • ANSI escape code controlled TTY

  • File system events (inotify style and stat based)

  • IPC and TCP socket sharing between processes

  • Arbitrary file descriptor polling

  • Thread synchronization primitives

CI status

Stable branch (v1.x):

https://travis-ci.org/saghul/pyuv.svg?branch=v1.x

Old stable branch (v0.10):

https://travis-ci.org/saghul/pyuv.svg?branch=v0.10

Development (master):

https://travis-ci.org/saghul/pyuv.svg?branch=master

Versioning

Starting with version 1.0.0, pyuv follows the Semantic Versioning spacification, like libuv does.

All releases are downloadable from the GitHub tags page, and the latest stable release from PyPI.

Documentation

http://readthedocs.org/docs/pyuv/

Installing

pyuv can be installed via pip as follows:

pip install pyuv

Building

Get the source:

git clone https://github.com/saghul/pyuv

Linux:

./build_inplace

Mac OSX:

(XCode needs to be installed)
export ARCHFLAGS="-arch x86_64"
./build_inplace

Microsoft Windows (with Visual Studio):

python setup.py build_ext --inplace

Running the test suite

There are several ways of running the test ruite:

  • Run the test with the current Python interpreter:

    From the toplevel directory, run: nosetests -v

  • Use Tox to run the test suite in several virtualenvs with several interpreters

    From the toplevel directory, run: tox this will run the test suite on Python 2.7, 3.3 and 3.4 (you’ll need to have them installed beforehand)

Author

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

License

Unless stated otherwise on-file pyuv uses the MIT license, check LICENSE file.

Python versions

Python 2.7, 3.3 and 3.4 versions are supported.

Contributing

If you’d like to contribute, fork the project, make a patch and send a pull request. Have a look at the surrounding code and please, make yours look alike :-)

Project details


Download files

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

Source Distribution

pyuv-1.0.0.tar.gz (1.5 MB view details)

Uploaded Source

Built Distributions

pyuv-1.0.0-cp34-none-win_amd64.whl (119.6 kB view details)

Uploaded CPython 3.4 Windows x86-64

pyuv-1.0.0-cp34-none-win32.whl (103.9 kB view details)

Uploaded CPython 3.4 Windows x86

pyuv-1.0.0-cp33-none-win_amd64.whl (119.7 kB view details)

Uploaded CPython 3.3 Windows x86-64

pyuv-1.0.0-cp33-none-win32.whl (104.0 kB view details)

Uploaded CPython 3.3 Windows x86

pyuv-1.0.0-cp27-none-win_amd64.whl (119.7 kB view details)

Uploaded CPython 2.7 Windows x86-64

pyuv-1.0.0-cp27-none-win32.whl (100.5 kB view details)

Uploaded CPython 2.7 Windows x86

File details

Details for the file pyuv-1.0.0.tar.gz.

File metadata

  • Download URL: pyuv-1.0.0.tar.gz
  • Upload date:
  • Size: 1.5 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyuv-1.0.0.tar.gz
Algorithm Hash digest
SHA256 2e071753fe3f9a92e4f05ff01173de743a50d82b9dce3004d2e747dfa23c5c0d
MD5 ed5eeefe2506ebc6fac6e7fa40052f5a
BLAKE2b-256 7027e51a325afef37f4f6dbe704dea67c14b9442b8a49d2bc5a53fe247859ade

See more details on using hashes here.

Provenance

File details

Details for the file pyuv-1.0.0-cp34-none-win_amd64.whl.

File metadata

File hashes

Hashes for pyuv-1.0.0-cp34-none-win_amd64.whl
Algorithm Hash digest
SHA256 b9d4186f750728e2748042efdf379a4a18a55f4d0752a963348f3726cf0b37cd
MD5 94e2af9b627c7a13ed1f5c0385e2973c
BLAKE2b-256 9916cf7a013df3982bd9fdb60937e52c90f1924b3c515e07de8d8407e55f3ace

See more details on using hashes here.

Provenance

File details

Details for the file pyuv-1.0.0-cp34-none-win32.whl.

File metadata

File hashes

Hashes for pyuv-1.0.0-cp34-none-win32.whl
Algorithm Hash digest
SHA256 087b459acb9c3eb0d4459b473039cbc2d05d874116b93892d51b33f9b4cb12fc
MD5 1ff76db612015b0f1956a88bfbbd1a22
BLAKE2b-256 e57fbf2eb4643c393a057e3f7b29282583e2eb4622833b3fcd47190185876686

See more details on using hashes here.

Provenance

File details

Details for the file pyuv-1.0.0-cp33-none-win_amd64.whl.

File metadata

File hashes

Hashes for pyuv-1.0.0-cp33-none-win_amd64.whl
Algorithm Hash digest
SHA256 43ab32d6f1f0e1321b5984c6b805b671607e9dec5285f6fef05ecfb53138d337
MD5 027ff57e6fc197693c9c2ff29f074ffc
BLAKE2b-256 c72c3ee41851c938363b15507555bdcce4ac58eeb2b5557c1c1d9455e38326c3

See more details on using hashes here.

Provenance

File details

Details for the file pyuv-1.0.0-cp33-none-win32.whl.

File metadata

File hashes

Hashes for pyuv-1.0.0-cp33-none-win32.whl
Algorithm Hash digest
SHA256 c1b1cf2d081905057f3d23646d559c225d4fe392370cf2ac31d815fc377cb5e5
MD5 ac252e5e54d3e56d85a43ff52266134e
BLAKE2b-256 231b0987ee3b3458c738f9efcfd328c6c908684695040accdcccf753e5008e45

See more details on using hashes here.

Provenance

File details

Details for the file pyuv-1.0.0-cp27-none-win_amd64.whl.

File metadata

File hashes

Hashes for pyuv-1.0.0-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 fdf2f6527bd1fb7b5a8b1886e9698715441848ea776b79687890de41c31e8dbb
MD5 d1bf0afb42eea20f9f6e0d0cbd88fd5a
BLAKE2b-256 fd611b7bc2ac84178f1102cfab528b4d2bfae3880b226184e18a1919f276c591

See more details on using hashes here.

Provenance

File details

Details for the file pyuv-1.0.0-cp27-none-win32.whl.

File metadata

File hashes

Hashes for pyuv-1.0.0-cp27-none-win32.whl
Algorithm Hash digest
SHA256 6d1744a25b66acc334df8bf22e953e30c777f70892bbc88089e292dbc1962ba9
MD5 b66a47dba898ccd5a738ce390207b38c
BLAKE2b-256 ae38ddae3276fb6fc0eff6bea76646a7673b08bad164484a73723f92567463ef

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page