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

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

pyuv-1.2.0-cp34-none-win_amd64.whl (124.7 kB view details)

Uploaded CPython 3.4Windows x86-64

pyuv-1.2.0-cp34-none-win32.whl (106.9 kB view details)

Uploaded CPython 3.4Windows x86

pyuv-1.2.0-cp33-none-win_amd64.whl (124.7 kB view details)

Uploaded CPython 3.3Windows x86-64

pyuv-1.2.0-cp33-none-win32.whl (107.0 kB view details)

Uploaded CPython 3.3Windows x86

pyuv-1.2.0-cp27-none-win_amd64.whl (124.7 kB view details)

Uploaded CPython 2.7Windows x86-64

pyuv-1.2.0-cp27-none-win32.whl (103.0 kB view details)

Uploaded CPython 2.7Windows x86

File details

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

File metadata

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

File hashes

Hashes for pyuv-1.2.0.tar.gz
Algorithm Hash digest
SHA256 d5783fbd21309e7c64f15ed9e73fd0aefbf9b71cf18fb328f5ca456c36e402e7
MD5 41d03ac557e24f3ace71d95aa329ddb0
BLAKE2b-256 8d43e4c653698720da3462bc5934d5cdbab2d547053c8df3ed5dd33cdf0cd035

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyuv-1.2.0-cp34-none-win_amd64.whl
Algorithm Hash digest
SHA256 b4a725e3230f81b143e48ede7ba9b2f0e6192722a262ab444dd3242e8325f97a
MD5 65c8c38d87984378aca64528bb9ff7e2
BLAKE2b-256 9c66c6aee6aab99389c9c6791c77f678fa443ebe31e7c8cb739d986d77a4af6b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyuv-1.2.0-cp34-none-win32.whl
  • Upload date:
  • Size: 106.9 kB
  • Tags: CPython 3.4, Windows x86
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyuv-1.2.0-cp34-none-win32.whl
Algorithm Hash digest
SHA256 985c9cc3f6a3e02fc4ffef659ab15979e1f12429d19517e9eee1db0dbc4b9def
MD5 c99ff679b79bd4d5d1329a1c3c89435f
BLAKE2b-256 e04d96ab869c06ae45dc5f83e2c166f47c65947628f9fb7e135a6655f590f37c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyuv-1.2.0-cp33-none-win_amd64.whl
Algorithm Hash digest
SHA256 cd08a66481dd3afd2c2dd8b5b2f8f77683ab566782fc03254dd53d72294dbc3e
MD5 71b086d7e0138383930895d042f0200c
BLAKE2b-256 a883c25e28d6d67e561470f11ea60df16ceef5756806b2571e250724a1f06bd8

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyuv-1.2.0-cp33-none-win32.whl
Algorithm Hash digest
SHA256 f120ef24a055e4f0e3fee8f2f3ae41d82b940fcc7013515dfb6810bb82ab04be
MD5 5508d57596dadf556a1049a41d1bb289
BLAKE2b-256 403715aa67a450d7df9cb1e5327791f99572dbd658c0866e6e728890e7200a99

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyuv-1.2.0-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 0347b07adf708f942a5050afc182ab10d993343372e4f72b673842c5993144c7
MD5 cc035966bcc2c60fe66abf3ed4999b0b
BLAKE2b-256 09cd4b9935823f4ffaf771cd7b36cee205cede7985fe79b1ce456d573540be3b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: pyuv-1.2.0-cp27-none-win32.whl
  • Upload date:
  • Size: 103.0 kB
  • Tags: CPython 2.7, Windows x86
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyuv-1.2.0-cp27-none-win32.whl
Algorithm Hash digest
SHA256 90051e34866fc22851d30a4b51ec17c6fc641aa1a88c7c79e5a6c55d41912821
MD5 bc56306da3264338b70d0f4b7d80a3d7
BLAKE2b-256 15c4275934dbe0fb4b43ebcb714cc508cebcd85c3ea387079e64b57e4d3e937a

See more details on using hashes here.

Supported by

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