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.2.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.0.2-cp34-none-win_amd64.whl (120.2 kB view details)

Uploaded CPython 3.4Windows x86-64

pyuv-1.0.2-cp34-none-win32.whl (104.4 kB view details)

Uploaded CPython 3.4Windows x86

pyuv-1.0.2-cp33-none-win_amd64.whl (120.3 kB view details)

Uploaded CPython 3.3Windows x86-64

pyuv-1.0.2-cp33-none-win32.whl (104.5 kB view details)

Uploaded CPython 3.3Windows x86

pyuv-1.0.2-cp27-none-win_amd64.whl (120.3 kB view details)

Uploaded CPython 2.7Windows x86-64

pyuv-1.0.2-cp27-none-win32.whl (100.9 kB view details)

Uploaded CPython 2.7Windows x86

File details

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

File metadata

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

File hashes

Hashes for pyuv-1.0.2.tar.gz
Algorithm Hash digest
SHA256 86552d36715f3d3c1871471716f0a77af495bc59a68d2a96e8d213e6a3d9307c
MD5 8b033593c7e4b323929ccc7505d218a6
BLAKE2b-256 cbe5501f143a207038402bf6a645e74b58e2a3dbc0b6492730387a2f21b3b4d5

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyuv-1.0.2-cp34-none-win_amd64.whl
Algorithm Hash digest
SHA256 415f86a0a742454d0d8919e5289c534e5a00e3ca0794fedfb8534a480bb9f53c
MD5 298ef99e859ee38649fb26e61e5d09b3
BLAKE2b-256 377aa35f4ddd15198230854f1ca2a29e2fdcf651b7825f483428da15bc04b705

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyuv-1.0.2-cp34-none-win32.whl
Algorithm Hash digest
SHA256 e1d07b044332b224c81a033786446f5a85231f085743ba0b8a2af47b406594d1
MD5 d9528f86332ff9048e52c2af0127cad8
BLAKE2b-256 d2d36ff5d59d247636d6fb69a3831493e884d9247afdca93f0e8a96cf2cc48a9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyuv-1.0.2-cp33-none-win_amd64.whl
Algorithm Hash digest
SHA256 57f0c8b1db6b5ff49414e27b847241a7a68c7ca42b3a3dd4fc014702cc89db7c
MD5 094bae56ade660865062bb2b577dcfff
BLAKE2b-256 5714b3ec647f8122ac5d92e2c28d52190e282e13772ca5edeb268f1b6b480c9b

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyuv-1.0.2-cp33-none-win32.whl
Algorithm Hash digest
SHA256 613d9d5f8363eb92755cb2d10a18b6b0cc8e36c3830c8645a80897e8948c2f36
MD5 bbd04c07947e98f10ac01a0233248b7a
BLAKE2b-256 da3bc05dc5ddbb3675340dbac5ef6dc4752fea2d7c907044dd90443a522c8495

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyuv-1.0.2-cp27-none-win_amd64.whl
Algorithm Hash digest
SHA256 2fc1e5b3828b66471a347f6f0de4d609c6a74abdd19b790158c2046d09677df0
MD5 5e026cfece7ceb29de3d9140bab2c958
BLAKE2b-256 52f7d8627bfb8418ccebe539509b694044def3085d0a5ff96fafdc0a8c672ccf

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for pyuv-1.0.2-cp27-none-win32.whl
Algorithm Hash digest
SHA256 06e5bac2d74d179b798b4447d1372ca721df652ee4dc0fc85717a3b61dbcb408
MD5 2fefa093b25c0b24d344d47f7781377e
BLAKE2b-256 9173d58c362b4412de982f10663d328d188d347fc8906cba00af849626165e6a

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