blob: ccdfb813c8cc80f86d69f9f1d8ef1a46ded0be75 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
pyee
====
pyee is a rough port of
`node.js's EventEmitter <https://nodejs.org/api/events.html>`_. Unlike its
namesake, it includes a number of subclasses useful for implementing async
and threaded programming in python, such as async/await as seen in python 3.5+.
Install:
--------
You can install this project into your environment of choice using ``pip``::
pip install pyee
API Docs:
---------
.. toctree::
:maxdepth: 2
.. automodule:: pyee
.. autoclass:: pyee.EventEmitter
:members:
.. autoclass:: pyee.asyncio.AsyncIOEventEmitter
:members:
.. autoclass:: pyee.twisted.TwistedEventEmitter
:members:
.. autoclass:: pyee.executor.ExecutorEventEmitter
:members:
.. autoclass:: pyee.trio.TrioEventEmitter
:members:
.. autoclass:: BaseEventEmitter
:members:
.. autoexception:: pyee.PyeeException
.. autofunction:: pyee.uplift.uplift
.. autofunction:: pyee.cls.on
.. autofunction:: pyee.cls.evented
Some Links
==========
* `Fork Me On GitHub! <https://github.com/jfhbrook/pyee>`_
* `These Very Docs on readthedocs.io <https://pyee.rtfd.io>`_
* :ref:`genindex`
* :ref:`modindex`
* :ref:`search`
Changelog
=========
.. include:: ../CHANGELOG.rst
|