Python interface for libuv
Project description
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)
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
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)
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distributions
Hashes for pyuv-1.2.0-cp34-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | b4a725e3230f81b143e48ede7ba9b2f0e6192722a262ab444dd3242e8325f97a |
|
MD5 | 65c8c38d87984378aca64528bb9ff7e2 |
|
BLAKE2b-256 | 9c66c6aee6aab99389c9c6791c77f678fa443ebe31e7c8cb739d986d77a4af6b |
Hashes for pyuv-1.2.0-cp33-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | cd08a66481dd3afd2c2dd8b5b2f8f77683ab566782fc03254dd53d72294dbc3e |
|
MD5 | 71b086d7e0138383930895d042f0200c |
|
BLAKE2b-256 | a883c25e28d6d67e561470f11ea60df16ceef5756806b2571e250724a1f06bd8 |
Hashes for pyuv-1.2.0-cp27-none-win_amd64.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0347b07adf708f942a5050afc182ab10d993343372e4f72b673842c5993144c7 |
|
MD5 | cc035966bcc2c60fe66abf3ed4999b0b |
|
BLAKE2b-256 | 09cd4b9935823f4ffaf771cd7b36cee205cede7985fe79b1ce456d573540be3b |