Skip to content

koehlma/uv

Repository files navigation

Python »libuv« CFFI Wrapper

pypi unix_build windows_build coverage docs

This package aims to provide an object oriented CFFI based wrapper around the libuv asynchronous IO library. It supports all handles of libuv as well as filesystem operations, dns utility functions and miscellaneous utilities.

State

handles:stable API, well tested, completely documented
dns:stable API, well tested, completely documented
fs:planning
misc:planning
ssl:planning

Features

  • full featured event loop backed by epoll, kqueue, IOCP and events ports
  • asynchronous TCP and UDP sockets
  • asynchronous SSL sockets (based on Python's SSL module)
  • asynchronous DNS resolution
  • asynchronous file and file system operations
  • asynchronous file system events
  • cross platform ANSI escape code controlled TTY
  • IPC with socket sharing, using UNIX domain sockets or named pipes (Windows)
  • child processes and signal handling
  • cross platform memory, CPU and network interface information
  • timer and high resolution clock
  • supported Python interpreters and versions:
    • CPython: 2.7, 3.3, 3.4, 3.5
    • PyPy: 4.0 (Windows and Linux)
    • PyPy3: 2.4.0, 2.7.0-alpha0 (Linux Only)
  • PyCharm type hinting support
  • PEP 3151 compatible exceptions