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 specification, 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, 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
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
File details
Details for the file pyuv-1.4.0.tar.gz
.
File metadata
- Download URL: pyuv-1.4.0.tar.gz
- Upload date:
- Size: 400.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | caea2004d1125fe17cbde3c211c8abc72844e9b8dd7dfa007711e98fbc96fbc2 |
|
MD5 | f8e1dd097b2b3eb8ab378508160820e5 |
|
BLAKE2b-256 | 53cc7f5313348a9212b455abe2d9dd2bb2fdb8d75d9a2ce5d5a2e8ba7819ff05 |
File details
Details for the file pyuv-1.4.0-cp36-cp36m-win_amd64.whl
.
File metadata
- Download URL: pyuv-1.4.0-cp36-cp36m-win_amd64.whl
- Upload date:
- Size: 140.4 kB
- Tags: CPython 3.6m, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 45c37e93900369e76eb45c403c005104f3b0abc9e23088c3b0ab4f8718ec7384 |
|
MD5 | 5572a077beb55abb6fb9b6d1d3b784cd |
|
BLAKE2b-256 | 7cb2b7da5f0409af5fb93a02dace896a9f2623a8d146af5e1285a1a6d483d555 |
File details
Details for the file pyuv-1.4.0-cp36-cp36m-win32.whl
.
File metadata
- Download URL: pyuv-1.4.0-cp36-cp36m-win32.whl
- Upload date:
- Size: 114.2 kB
- Tags: CPython 3.6m, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08d5e8d9dadb391da7b5214b7c0347d05f2222386743dc5186fdabc8e89ddf26 |
|
MD5 | b49345681f2fcacea5ace1ed7736a7a5 |
|
BLAKE2b-256 | cf9ccd14a73c98bc29047bc1d074b6fdd62a1d765d8790428d05f4c792168843 |
File details
Details for the file pyuv-1.4.0-cp36-cp36m-manylinux1_x86_64.whl
.
File metadata
- Download URL: pyuv-1.4.0-cp36-cp36m-manylinux1_x86_64.whl
- Upload date:
- Size: 470.6 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a7ec1d8cbc30d2544ba42b36e668f180fa556859e2fda51dc47dfc744542446 |
|
MD5 | 9e65625121d0bdef603aec31a7258619 |
|
BLAKE2b-256 | f4451ed23f896bc44a215a27e23a1280b0b857f0f78771f74a6ac50c1f09aeec |
File details
Details for the file pyuv-1.4.0-cp36-cp36m-manylinux1_i686.whl
.
File metadata
- Download URL: pyuv-1.4.0-cp36-cp36m-manylinux1_i686.whl
- Upload date:
- Size: 435.7 kB
- Tags: CPython 3.6m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 55ec1f54b9ca2c3d7d449d7f5eb72a1ab13c77cc4a80caa438338f69ad6d8eb1 |
|
MD5 | 10201d9c6ad4b56bea0b18eb4883c40c |
|
BLAKE2b-256 | 92a4ab05e9c7fd18b99c489886a6e3ccc816906b8436312494c42e572e8a6b91 |
File details
Details for the file pyuv-1.4.0-cp35-cp35m-win_amd64.whl
.
File metadata
- Download URL: pyuv-1.4.0-cp35-cp35m-win_amd64.whl
- Upload date:
- Size: 140.4 kB
- Tags: CPython 3.5m, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e5ff74162e0a4fa732583872c453e1644ae8bfc9a0e3150c0da6f3df27347edf |
|
MD5 | ed72c2eac66ceaa5fc8d61f23ecf37a6 |
|
BLAKE2b-256 | 3513190dd591f978e411b1b33a91998dce525909053a33b0c8245d01c8c094a8 |
File details
Details for the file pyuv-1.4.0-cp35-cp35m-win32.whl
.
File metadata
- Download URL: pyuv-1.4.0-cp35-cp35m-win32.whl
- Upload date:
- Size: 114.2 kB
- Tags: CPython 3.5m, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | cc8605c0d442bf326151ed6fff1e3a8d6535c346abf3be3a115060906f9cab46 |
|
MD5 | 2d2e9cc8b1cb25409bd42e235b714cfa |
|
BLAKE2b-256 | fce5815f5358e60696baf40bf3442681f6e3da8e49f6836cb513ec1355e57d9d |
File details
Details for the file pyuv-1.4.0-cp35-cp35m-manylinux1_x86_64.whl
.
File metadata
- Download URL: pyuv-1.4.0-cp35-cp35m-manylinux1_x86_64.whl
- Upload date:
- Size: 470.4 kB
- Tags: CPython 3.5m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 787cea7cf834315360cce5ffd08ffb15fd52b5fd12ece60799b83b4951775488 |
|
MD5 | 43ee14718406c1e52ea05713d5ae9ad2 |
|
BLAKE2b-256 | 3843aad1ea970f250fc101296cf5586297869dd38127540047e0fa6934c76019 |
File details
Details for the file pyuv-1.4.0-cp35-cp35m-manylinux1_i686.whl
.
File metadata
- Download URL: pyuv-1.4.0-cp35-cp35m-manylinux1_i686.whl
- Upload date:
- Size: 435.4 kB
- Tags: CPython 3.5m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6236e9c84c0d289e66d1701abace83e9d42703503ce9b25ac49ce09f38fd0996 |
|
MD5 | 866f019d7b8056c8d1963d59279209ed |
|
BLAKE2b-256 | fc968523197be93ed1f15e0ec40da638a0c00ae3893f5ef2a6cf44255fab5e09 |
File details
Details for the file pyuv-1.4.0-cp34-cp34m-win_amd64.whl
.
File metadata
- Download URL: pyuv-1.4.0-cp34-cp34m-win_amd64.whl
- Upload date:
- Size: 132.2 kB
- Tags: CPython 3.4m, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f5e1446c2f3bb4c099808455f4b3d42299822dbd6836ccf94f90dfc8a0b3bbce |
|
MD5 | f1c57d81e32f5952f6f020bd75d98a24 |
|
BLAKE2b-256 | e63272c77d41fb69340d731755939474d295ccf9beadd77114692e7dcbf0da0a |
File details
Details for the file pyuv-1.4.0-cp34-cp34m-win32.whl
.
File metadata
- Download URL: pyuv-1.4.0-cp34-cp34m-win32.whl
- Upload date:
- Size: 110.8 kB
- Tags: CPython 3.4m, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1633af2b9c71c14daab0fcce8dba47ac395db2b30a1b27f842625f995320edb2 |
|
MD5 | d015e0f3895b51e0b32479751adcfbdf |
|
BLAKE2b-256 | badf56d4a9fcd7be9b2810fbf67c9c78f1d9ed709f7cca509c125ea72ccd9aa1 |
File details
Details for the file pyuv-1.4.0-cp34-cp34m-manylinux1_x86_64.whl
.
File metadata
- Download URL: pyuv-1.4.0-cp34-cp34m-manylinux1_x86_64.whl
- Upload date:
- Size: 470.2 kB
- Tags: CPython 3.4m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9f41c5d133ed75d90697a5e59cb7b64cd91c2a9a26411c2c667553103647ec77 |
|
MD5 | 2437d67a44a2896ac206596151ae47a5 |
|
BLAKE2b-256 | 24ce0c734cbc4843b168b6615be2ad61366ea56a92520e28feec8fc0851709ad |
File details
Details for the file pyuv-1.4.0-cp34-cp34m-manylinux1_i686.whl
.
File metadata
- Download URL: pyuv-1.4.0-cp34-cp34m-manylinux1_i686.whl
- Upload date:
- Size: 435.2 kB
- Tags: CPython 3.4m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0c64ff74983662889be86552f19e833005f9726850cb4504aa8256fff2cf1bde |
|
MD5 | e235d47d8a6257593ee593eefc3f2134 |
|
BLAKE2b-256 | 1d8eca9fc433aba74aec3ea54cea497b7257fe4be4bc4a1d1b830c9cba2d8c9d |
File details
Details for the file pyuv-1.4.0-cp33-cp33m-win_amd64.whl
.
File metadata
- Download URL: pyuv-1.4.0-cp33-cp33m-win_amd64.whl
- Upload date:
- Size: 132.2 kB
- Tags: CPython 3.3m, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a380550c9867519af2f80ac8aa4d18ff11565e329c10a288b8a6e3e8f75dae5c |
|
MD5 | 738f5a2c760b379989b558bb249eac82 |
|
BLAKE2b-256 | 8c47d0df53fad8f9fc65de32495017a2e92ea6a3d946275c56f8cd1aaf5a7b5d |
File details
Details for the file pyuv-1.4.0-cp33-cp33m-win32.whl
.
File metadata
- Download URL: pyuv-1.4.0-cp33-cp33m-win32.whl
- Upload date:
- Size: 110.8 kB
- Tags: CPython 3.3m, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6903640256e9427ae71a8f5f6908a28d60de51a3801073a4e5b2221adfd56688 |
|
MD5 | 0a70c150a0d42095608b3302ab2d0d87 |
|
BLAKE2b-256 | 53f4b74f85bfd528bdf2e8949f4e507a4be36a44ccfb6e76faac3fd66d661405 |
File details
Details for the file pyuv-1.4.0-cp33-cp33m-manylinux1_x86_64.whl
.
File metadata
- Download URL: pyuv-1.4.0-cp33-cp33m-manylinux1_x86_64.whl
- Upload date:
- Size: 457.0 kB
- Tags: CPython 3.3m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 086ddfe4ae3a4e6e41cfddabe711e5af81514f584c803b8cb59b3f2ac251c3af |
|
MD5 | f65bf33955862735b94b217f72aff07e |
|
BLAKE2b-256 | 61eeae3330e11fa201a05e233ab9f706333d33032af82909586d90c21b7fe919 |
File details
Details for the file pyuv-1.4.0-cp33-cp33m-manylinux1_i686.whl
.
File metadata
- Download URL: pyuv-1.4.0-cp33-cp33m-manylinux1_i686.whl
- Upload date:
- Size: 422.4 kB
- Tags: CPython 3.3m
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 95ab3fd8370fd8efcc951d669db0087477ca98b285f9fe4b40f7bb544d2cb501 |
|
MD5 | 92f335835990354c5b3f628111a0df86 |
|
BLAKE2b-256 | cca1ff9969c4d0792257ecf1087dd832defab437754ab2777aae66de460e1887 |
File details
Details for the file pyuv-1.4.0-cp27-cp27mu-manylinux1_x86_64.whl
.
File metadata
- Download URL: pyuv-1.4.0-cp27-cp27mu-manylinux1_x86_64.whl
- Upload date:
- Size: 454.8 kB
- Tags: CPython 2.7mu
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6733190863b7fec3529c66fa6be51ad7c7a051b3863f378750caf2767909d5f0 |
|
MD5 | 3f78989f56776050a20e3659e4a4d908 |
|
BLAKE2b-256 | 7ca5a342f9d4f941d54ca77fb8735522ed3b5d1f97693eeccde763b8d334d507 |
File details
Details for the file pyuv-1.4.0-cp27-cp27mu-manylinux1_i686.whl
.
File metadata
- Download URL: pyuv-1.4.0-cp27-cp27mu-manylinux1_i686.whl
- Upload date:
- Size: 420.8 kB
- Tags: CPython 2.7mu
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9dbb06ac9d9278888c3319ea9f100eab5327f0d8ff1ff578bbaa396bb9846818 |
|
MD5 | c1445a07326839ad49ab910aa3563a97 |
|
BLAKE2b-256 | be25abb25383c58549bbe212a6a5ce538b80ac8da1a3a91cbf4fd07e5070db67 |
File details
Details for the file pyuv-1.4.0-cp27-cp27m-win_amd64.whl
.
File metadata
- Download URL: pyuv-1.4.0-cp27-cp27m-win_amd64.whl
- Upload date:
- Size: 132.8 kB
- Tags: CPython 2.7m, Windows x86-64
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 08d6a7be0c609f43bc1df9614dd6f44b5b79b4a663f67444044d10727cb26900 |
|
MD5 | ce2a70764ec5442bd7c2dc118f705d63 |
|
BLAKE2b-256 | 4d6b29f1953350dd0e9ba3a568fd0f807c87c4da9a8d598dd9937d2c54b1d247 |
File details
Details for the file pyuv-1.4.0-cp27-cp27m-win32.whl
.
File metadata
- Download URL: pyuv-1.4.0-cp27-cp27m-win32.whl
- Upload date:
- Size: 110.2 kB
- Tags: CPython 2.7m, Windows x86
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 41df0b600b575a4f0bf4abd0a616d26abe28f5d482bfead5d3e1223a396cc5a0 |
|
MD5 | 9462caeb562c8b18349f02d263ebcb0e |
|
BLAKE2b-256 | d15b50a5a1c23bbc4f7c3eda1493074379f59a2f53212f911aed7727471ca96e |