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)

  • Travis CI:
    https://travis-ci.org/saghul/pyuv.svg?branch=v1.x
  • AppVeyor:
    https://ci.appveyor.com/api/projects/status/ne2un9br9t0qs5cd?svg=true

Versioning

Starting with version 1.0.0, pyuv follows the Semantic Versioning specification, 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, and Python >= 3.3 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.3.0.tar.gz (1.5 MB view details)

Uploaded Source

Built Distributions

pyuv-1.3.0-cp35-cp35m-win_amd64.whl (130.3 kB view details)

Uploaded CPython 3.5mWindows x86-64

pyuv-1.3.0-cp35-cp35m-win32.whl (107.9 kB view details)

Uploaded CPython 3.5mWindows x86

pyuv-1.3.0-cp35-cp35m-manylinux1_x86_64.whl (393.1 kB view details)

Uploaded CPython 3.5m

pyuv-1.3.0-cp35-cp35m-manylinux1_i686.whl (366.5 kB view details)

Uploaded CPython 3.5m

pyuv-1.3.0-cp34-cp34m-win_amd64.whl (127.3 kB view details)

Uploaded CPython 3.4mWindows x86-64

pyuv-1.3.0-cp34-cp34m-win32.whl (108.4 kB view details)

Uploaded CPython 3.4mWindows x86

pyuv-1.3.0-cp34-cp34m-manylinux1_x86_64.whl (392.9 kB view details)

Uploaded CPython 3.4m

pyuv-1.3.0-cp34-cp34m-manylinux1_i686.whl (366.2 kB view details)

Uploaded CPython 3.4m

pyuv-1.3.0-cp33-none-win_amd64.whl (127.4 kB view details)

Uploaded CPython 3.3Windows x86-64

pyuv-1.3.0-cp33-none-win32.whl (108.4 kB view details)

Uploaded CPython 3.3Windows x86

pyuv-1.3.0-cp33-cp33m-manylinux1_x86_64.whl (380.4 kB view details)

Uploaded CPython 3.3m

pyuv-1.3.0-cp33-cp33m-manylinux1_i686.whl (353.7 kB view details)

Uploaded CPython 3.3m

pyuv-1.3.0-cp27-cp27mu-manylinux1_x86_64.whl (379.0 kB view details)

Uploaded CPython 2.7mu

pyuv-1.3.0-cp27-cp27mu-manylinux1_i686.whl (352.4 kB view details)

Uploaded CPython 2.7mu

pyuv-1.3.0-cp27-cp27m-win_amd64.whl (127.3 kB view details)

Uploaded CPython 2.7mWindows x86-64

pyuv-1.3.0-cp27-cp27m-win32.whl (104.9 kB view details)

Uploaded CPython 2.7mWindows x86

File details

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

File metadata

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

File hashes

Hashes for pyuv-1.3.0.tar.gz
Algorithm Hash digest
SHA256 01267ac83a225c08a2f7b0ecabb910787e4736e20b4f3f65ff0526af6ee5c5de
MD5 279bf6f6f32a37b4c4d7ee3ec83ab5ca
BLAKE2b-256 d7e3063f615039a7b96104d76f31af77f8484f9ca52a04cf8331fd796969a6f9

See more details on using hashes here.

File details

Details for the file pyuv-1.3.0-cp35-cp35m-win_amd64.whl.

File metadata

File hashes

Hashes for pyuv-1.3.0-cp35-cp35m-win_amd64.whl
Algorithm Hash digest
SHA256 81a7ccd5240196535bee1f97aa464c89216beb9102b53c9bfc174a54eb000576
MD5 f20297e953a04c6f6d2319484d07f841
BLAKE2b-256 11152ed874d496751ef8c5a2a915b1a8bc1f59f542dfa1c98babb94a30104a1e

See more details on using hashes here.

File details

Details for the file pyuv-1.3.0-cp35-cp35m-win32.whl.

File metadata

  • Download URL: pyuv-1.3.0-cp35-cp35m-win32.whl
  • Upload date:
  • Size: 107.9 kB
  • Tags: CPython 3.5m, Windows x86
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyuv-1.3.0-cp35-cp35m-win32.whl
Algorithm Hash digest
SHA256 9556a0a1451b7fb73f29536b525f56ad7ea3744f90c1fed446ec8d1285a07a5a
MD5 ec973a1f42824dfc0276eb020269aa1b
BLAKE2b-256 71f3abcf902fed1f861163b2bb338c7cf77ee1169e19988359d6bc404b198921

See more details on using hashes here.

File details

Details for the file pyuv-1.3.0-cp35-cp35m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyuv-1.3.0-cp35-cp35m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 4773a011f6c571ec41886e51b1d025cdb29a0f196b4c7d0b33c6a5b99af31199
MD5 603a2c223043d0886209015423496da5
BLAKE2b-256 d0d8a7e96b70f8be782606dc49506b6427b6d6e4a29c335128d7e26b305cbd52

See more details on using hashes here.

File details

Details for the file pyuv-1.3.0-cp35-cp35m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for pyuv-1.3.0-cp35-cp35m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 5af32283308132e84d6bf5f89bdc3830ee09f9af68689278f50e19bd6f2674a5
MD5 9b0567c066579dd2e4e0a2effffd1219
BLAKE2b-256 d500ecde36563ba9d9c51f4b14c5e5614947ca147cc25870de0d71521e968c4b

See more details on using hashes here.

File details

Details for the file pyuv-1.3.0-cp34-cp34m-win_amd64.whl.

File metadata

File hashes

Hashes for pyuv-1.3.0-cp34-cp34m-win_amd64.whl
Algorithm Hash digest
SHA256 f475641498cb7c174baa24cba09e741fd6cbf347814eacbfdd107d238d14cbe4
MD5 8a072b3bdc87671c05cb4eb4e8a0ac86
BLAKE2b-256 cfd6c0bf444eb599d2a8f19a9810c01c703b7321e4a9247793f87078fb2e3e60

See more details on using hashes here.

File details

Details for the file pyuv-1.3.0-cp34-cp34m-win32.whl.

File metadata

  • Download URL: pyuv-1.3.0-cp34-cp34m-win32.whl
  • Upload date:
  • Size: 108.4 kB
  • Tags: CPython 3.4m, Windows x86
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyuv-1.3.0-cp34-cp34m-win32.whl
Algorithm Hash digest
SHA256 f5ce3c0d9bc0c4a513513f045a51cc5b34cfd5deb9439c20aa0da1d0d6c3744e
MD5 1d24bbe285deb7e9afffee88883f0d95
BLAKE2b-256 eca2d13a66cd1e6c8977dc79439ece34a059d6d7c1d1a17a74d538f735c8e8de

See more details on using hashes here.

File details

Details for the file pyuv-1.3.0-cp34-cp34m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyuv-1.3.0-cp34-cp34m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 0d21bc19e2b030a4555d744b2baf9bf8bd2506b46f3454ed7a457bca7f1ed974
MD5 5178faf451fd9f28f6d7229560184fa5
BLAKE2b-256 f36333d4773be9ce49688ca4b25d3c3984b0835442fb7154979386bea7382f2d

See more details on using hashes here.

File details

Details for the file pyuv-1.3.0-cp34-cp34m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for pyuv-1.3.0-cp34-cp34m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 741350b18507348b6b0257c45be2c4ff27a55319e4a307447eb1efdb4a5f3be2
MD5 eb9c5b3c0a5b57b56d96cb76aef51743
BLAKE2b-256 1573f42d6dd135161e46d3d9e2228c1f99e851bebb5f7b9ea45f57cd0912cb2c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyuv-1.3.0-cp33-none-win_amd64.whl
Algorithm Hash digest
SHA256 8f6d0bac2bfe773ffb18d5bcb3fb5cc208e719d6a68518acf6597b3274e59676
MD5 b476042859b7426845ace266a75c869a
BLAKE2b-256 58276fe524907b9a78d1838b310919da4fb6f526c8c7271f4e1a3799a55729fe

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyuv-1.3.0-cp33-none-win32.whl
  • Upload date:
  • Size: 108.4 kB
  • Tags: CPython 3.3, Windows x86
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyuv-1.3.0-cp33-none-win32.whl
Algorithm Hash digest
SHA256 25d4769176dbbf71fffe34b85312527a2892c5175a49aed18ff96fd17b4617f7
MD5 c3cf5ce11f757ebf6822bee0d44690c1
BLAKE2b-256 fafea08a3dd09619fc297e0b9e9c261126f6c6eb25f1e93bd6ca5241ec290545

See more details on using hashes here.

File details

Details for the file pyuv-1.3.0-cp33-cp33m-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyuv-1.3.0-cp33-cp33m-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 7687e611060632a2d009258d18001880adbe13953aed42b0288652602270c426
MD5 741dbd3add8cddd1107cad54ffa5282e
BLAKE2b-256 b7a6c59e097fc4e61fe0272159798dc56b1e5a39ae5f5f65ae21b2dfe5d66870

See more details on using hashes here.

File details

Details for the file pyuv-1.3.0-cp33-cp33m-manylinux1_i686.whl.

File metadata

File hashes

Hashes for pyuv-1.3.0-cp33-cp33m-manylinux1_i686.whl
Algorithm Hash digest
SHA256 c1725cc7fd50476d9474cf4e4dc3fd5781a494a296fac96ba2ef0d276980d596
MD5 013bd94020a1bb2d43c7dc1381b79136
BLAKE2b-256 f7e028a626e60b34e6b0a6108ef2b297693b74f956f2e2fed5b7bbadba45b066

See more details on using hashes here.

File details

Details for the file pyuv-1.3.0-cp27-cp27mu-manylinux1_x86_64.whl.

File metadata

File hashes

Hashes for pyuv-1.3.0-cp27-cp27mu-manylinux1_x86_64.whl
Algorithm Hash digest
SHA256 5ea9c20231af25a8184cf23496eefcf187e2c5538dc10b7ed4f959d0c9bb73c0
MD5 a1a15858178dd577b7dcd34e78e8c741
BLAKE2b-256 92498326dc1258150e539cac682da6d1dd01f69936981730d212c275fbaa2d04

See more details on using hashes here.

File details

Details for the file pyuv-1.3.0-cp27-cp27mu-manylinux1_i686.whl.

File metadata

File hashes

Hashes for pyuv-1.3.0-cp27-cp27mu-manylinux1_i686.whl
Algorithm Hash digest
SHA256 d183995995558e477dad01f31aa762cf01aceb18573bab116368d8a8217b41fd
MD5 59aec4aca1364b2b87044c259c0c4cb8
BLAKE2b-256 c837a1eebb03453cd3dcd9d0ca52b6bde7c06c3af66692bd22b596ee6a83af96

See more details on using hashes here.

File details

Details for the file pyuv-1.3.0-cp27-cp27m-win_amd64.whl.

File metadata

File hashes

Hashes for pyuv-1.3.0-cp27-cp27m-win_amd64.whl
Algorithm Hash digest
SHA256 8eb67de23ed554cbe3fdd656dc5e2ae67e046fb1e01825d30575a92c690ec055
MD5 376664e03e406a262c334d86a79a4a98
BLAKE2b-256 b62bab4b975550d65be3a5be5b1c3f31bf9335a10471fe6c4c1bae7c9c8b7eaa

See more details on using hashes here.

File details

Details for the file pyuv-1.3.0-cp27-cp27m-win32.whl.

File metadata

  • Download URL: pyuv-1.3.0-cp27-cp27m-win32.whl
  • Upload date:
  • Size: 104.9 kB
  • Tags: CPython 2.7m, Windows x86
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyuv-1.3.0-cp27-cp27m-win32.whl
Algorithm Hash digest
SHA256 b3e7cb82f3edd9b424ce19072dc6191d5616b7b7e1254155b9e9b2b86725a551
MD5 0939d59d791561f9bc673a45d1de0908
BLAKE2b-256 15cfd5497c11ed947b586bcf14f13183bdebda2e7ac619a6afb84e9d18d204c6

See more details on using hashes here.

Supported by

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