Skip to main content

pyuv is a Python module which provides an interface to libuv. libuv (http://github.com/joyent/libuv) is a high performance asynchronous networking library, used as the platform layer for NodeJS (http://nodejs.org).

libuv is written and maintained by Joyent Inc. and contributors. It’s built on top of libev and libeio 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 resolver

  • 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)

  • IPC and TCP socket sharing between processes

  • Arbitrary file descriptor polling

Documentation

http://readthedocs.org/docs/pyuv/

Building

Linux:

./build_inplace

Mac OSX:

(XCode needs to be installed)
export CC="gcc -isysroot /Developer/SDKs/MacOSX10.6.sdk"
export ARCHFLAGS="-arch x86_64"
./build_inplace

Microsoft Windows:

(MinGW and MSYS need to be installed)
./build_inplace --compiler=mingw32

Running the test suite

There are several ways of running the test ruite:

  • Running individual tests:

Go inside the tests/ directory and run the test, for example: python test_tcp.py

  • Run the test with the current Python interpreter:

From the toplevel directory, run: nosetests -v -w tests/

  • Use Tox to run the test suite in several virtualenvs with several interpreters

From the toplevel directory, run: tox -e py26,py27,py32 this will run the test suite on Python 2.6, 2.7 and 3.2 (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.6 is supported. Yes, that includes Python 3 :-)

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 :-)

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyuv-0.7.2.tar.gz (1.2 MB view details)

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for pyuv-0.7.2.tar.gz
Algorithm Hash digest
SHA256 5a5c9daf523394637722f6b125dfd7597ec60d14f01b5a4d10cb20d5e2aa6e98
MD5 a3636fc72d02be0fa18cafaeec801a26
BLAKE2b-256 d5752d10a73ed03c3f4a78adc38313060d5321c1cd64cdabb747ef4ac18dd567

See more details on using hashes here.

Release history Release notifications | RSS feed

1.4.0

21 files

1.3.0

17 files

1.2.0

7 files

1.1.0

1 file

1.0.2

7 files

1.0.1

7 files

1.0.0

7 files

0.10.13

1 file

0.10.12

1 file

0.10.11

1 file

0.10.10

1 file

0.10.9

1 file

0.10.8

1 file

0.10.7

1 file

0.10.6

1 file

0.10.5

1 file

0.10.4

1 file

0.10.3

1 file

0.10.2

1 file

0.10.1

1 file

0.10.0

1 file

0.8.3

1 file

0.8.2

1 file

0.8.1

1 file

0.8.0

1 file

This release

0.7.2 This release

1 file

0.7.1

1 file

0.7.0

1 file

0.6.1

1 file

0.6.0

1 file

0.5.0

1 file

0.4.0

1 file

0.3.0

1 file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page