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

Download files

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

Source Distribution

pyev-static-0.9.5.tar.gz (527.6 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page