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.1.tar.gz (1.5 MB view details)

Uploaded Source

Built Distributions

pyuv-1.0.1-cp34-none-win_amd64.whl (119.7 kB view details)

Uploaded CPython 3.4 Windows x86-64

pyuv-1.0.1-cp34-none-win32.whl (104.0 kB view details)

Uploaded CPython 3.4 Windows x86

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

Uploaded CPython 3.3 Windows x86-64

pyuv-1.0.1-cp33-none-win32.whl (104.1 kB view details)

Uploaded CPython 3.3 Windows x86

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

Uploaded CPython 2.7 Windows x86-64

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

Uploaded CPython 2.7 Windows x86

File details

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

File metadata

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

File hashes

Hashes for pyuv-1.0.1.tar.gz
Algorithm Hash digest
SHA256 6802c3fdbe2ccd766344551ff113352d3ec67f3c461a0482c41c9ca7325032a7
MD5 a9a09ca54503c57e8083cfb9f8e21388
BLAKE2b-256 271ceb3ce0406a442b224468c56edac618f411cbeb64d3780330245a6658a745

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pyuv-1.0.1-cp34-none-win_amd64.whl
Algorithm Hash digest
SHA256 6107f0c3a471e7ac0e10c6bb5be42aac5f888e9a5b065ca8be67fadd66f9cd9a
MD5 bba389546f8d87e620f6b48508d499a0
BLAKE2b-256 683e0f6bdf0ee96a10a17c49506a99e34655d970662b0fac6e2d1ef36510de57

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pyuv-1.0.1-cp34-none-win32.whl
Algorithm Hash digest
SHA256 9cebdcc2448c2240a2f714769f94f53eef2a369b7a75730f613c55714a39d53c
MD5 50e635d0de56948f0923154df4c3cc3d
BLAKE2b-256 72b571aacd75c0992698a759c4f85a95700481e13901eeb9646f128b1206609a

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pyuv-1.0.1-cp33-none-win_amd64.whl
Algorithm Hash digest
SHA256 5435d7ee058ae4544e267266f85b39ad659ead5743871457e0b120a89eeaa0f1
MD5 d95723f1a7140016e22d9e2db7792cea
BLAKE2b-256 6e772b7e1523546294835cad628718d5ca40be2ab81e5751be950efe62a07ab0

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pyuv-1.0.1-cp33-none-win32.whl
Algorithm Hash digest
SHA256 570469b11721ecfc60d6056936db544d213a5f457b0ad0fc095a754e01ae67a6
MD5 2e465d98821798abe1cd8453ee7f1e8f
BLAKE2b-256 fa6aa38058bc05a909bee3af8fc031bf20f443682be3dc9a38f49ea607408703

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pyuv-1.0.1-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 0623a96237537feaf98992d77c9ce5a8f198211993a7a35d2693145706c38571
MD5 8f82c2c9ff9cb1b295df825aaa3243b6
BLAKE2b-256 d012e9dadc8cd2c3f93d6023647d071f2d676d63c00889b8d3d57ccbe95831be

See more details on using hashes here.

Provenance

File details

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

File metadata

File hashes

Hashes for pyuv-1.0.1-cp27-none-win32.whl
Algorithm Hash digest
SHA256 eb9d8cd6a1463ca88d349c90bd83faa18e5a1c972bcc6258c148d43cfabcf2a4
MD5 72b302d75cbb86195859d18fca272365
BLAKE2b-256 622629279e97a13c50e0cd4f746a7c3ec3d1509f7e26258aa0539c222ee528fb

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