Skip to main content

Python bindings to libev.

Project description

pyev - Python libev interface.

CI status: |cistatus|

libev is an event loop: you register interest in certain events (such as a file
descriptor being readable or a timeout occurring), and it will manage these
event sources and provide your program with events.
To do this, it must take more or less complete control over your process (or
thread) by executing the event loop handler, and will then communicate events
via a callback mechanism.
You register interest in certain events by registering so-called event watchers,
which you initialise with the details of the event, and then hand over to libev
by starting the watcher.

libev supports ``select``, ``poll``, the Linux-specific ``epoll``, the
BSD-specific ``kqueue`` and the Solaris-specific ``event port`` mechanisms for
file descriptor events (``Io``), the Linux ``inotify`` interface (for
``Stat``), Linux ``eventfd``/``signalfd`` (for faster and cleaner
inter-thread wakeup (``Async``)/signal handling (``Signal``)),
relative timers (``Timer``), absolute timers (``Periodic``),
timers with customised rescheduling (``Scheduler``), synchronous signals
(``Signal``), process status change events (``Child``), and event
watchers dealing with the event loop mechanism itself (``Idle``,
``Embed``, ``Prepare`` and ``Check`` watchers) as well
as file watchers (``Stat``) and even limited support for fork events

It also is quite `fast <>`_.

libev is written and maintained by Marc Lehmann.

.. seealso::
`libev's homepage <>`_.

Useful links:

- `Latest release <>`_
- `Documentation <>`_
- `Bug reports and feature requests

`pyev's source code <>`_ is currently hosted by
`Google code <>`_ and kept in a
`Subversion <>`_ repository.

- `Subversion instructions <>`_
- `Subversion browser <>`_

.. |cistatus| image::

Project details

Release history Release notifications

This version
History Node


Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
pyev-static-0.9.5.tar.gz (527.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page