Giter Club home page Giter Club logo

pyev's Introduction

Python libev interface.

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 (:py:class:`Io`), Linux ``eventfd``/``signalfd`` (for
faster and cleaner inter-thread wakeup (:py:class:`Async`)/signal handling
(:py:class:`Signal`)), relative timers (:py:class:`Timer`), absolute timers
(:py:class:`Periodic`), timers with customised rescheduling
(:py:class:`Scheduler`), synchronous signals (:class:`Signal`), process status
change events (:py:class:`Child`), and event watchers dealing with the event
loop mechanism itself (:py:class:`Idle`, :py:class:`Embed`, :py:class:`Prepare`
and :py:class:`Check` watchers) and even limited support
for fork events (:py:class:`Fork`).

It also is quite `fast <http://libev.schmorp.de/bench.html>`_.

libev is written and maintained by Marc Lehmann.

.. seealso::
    `libev's homepage <http://software.schmorp.de/pkg/libev>`_.


Useful links:

- `Latest release <http://pypi.python.org/pypi/pyev/>`_
- `Documentation <http://pythonhosted.org/pyev/>`_
- `Bug reports and feature requests <http://code.google.com/p/pyev/issues/list>`_
- `pyev's source code <http://code.google.com/p/pyev/>`_ is currently hosted by
  `Google code <http://code.google.com/>`_ and kept in a
  `Subversion <http://subversion.apache.org/>`_ repository:

  - `Subversion instructions <http://code.google.com/p/pyev/source/checkout>`_
  - `Subversion browser <http://code.google.com/p/pyev/source/browse/>`_

pyev's People

Contributors

mcm avatar

Stargazers

 avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.