2018-07-30 22:08:06 +02:00
|
|
|
"""
|
|
|
|
Platypush
|
|
|
|
|
2023-07-15 01:37:49 +02:00
|
|
|
.. moduleauthor:: Fabio Manganiello <fabio@manganiello.tech>
|
2018-07-30 23:18:01 +02:00
|
|
|
.. license: MIT
|
2018-07-30 22:08:06 +02:00
|
|
|
"""
|
|
|
|
|
2024-05-20 01:54:25 +02:00
|
|
|
from .app import Application, app
|
2017-12-18 01:10:51 +01:00
|
|
|
from .config import Config
|
2024-04-10 23:28:22 +02:00
|
|
|
from .context import Variable, get_backend, get_bus, get_plugin
|
|
|
|
from .cron import cron
|
|
|
|
from .event.hook import hook
|
2021-02-23 23:07:35 +01:00
|
|
|
from .message.event import Event
|
2017-12-17 16:15:44 +01:00
|
|
|
from .message.request import Request
|
2017-12-13 04:21:26 +01:00
|
|
|
from .message.response import Response
|
2024-04-10 23:28:22 +02:00
|
|
|
from .procedure import procedure
|
2023-08-14 10:46:27 +02:00
|
|
|
from .runner import main
|
2023-11-03 21:47:11 +01:00
|
|
|
from .utils import run
|
2023-07-23 23:01:15 +02:00
|
|
|
|
2024-05-08 21:58:58 +02:00
|
|
|
# Alias for platypush.event.hook.hook,
|
|
|
|
# see https://git.platypush.tech/platypush/platypush/issues/399
|
|
|
|
when = hook
|
|
|
|
|
2017-10-29 05:17:42 +01:00
|
|
|
|
2023-07-22 23:02:44 +02:00
|
|
|
__author__ = 'Fabio Manganiello <fabio@manganiello.tech>'
|
2023-07-22 23:36:04 +02:00
|
|
|
__version__ = '0.50.3'
|
2023-07-23 23:01:15 +02:00
|
|
|
__all__ = [
|
|
|
|
'Application',
|
2024-04-10 23:28:22 +02:00
|
|
|
'Variable',
|
2023-07-23 23:01:15 +02:00
|
|
|
'Config',
|
|
|
|
'Event',
|
|
|
|
'Request',
|
|
|
|
'Response',
|
2024-05-20 01:54:25 +02:00
|
|
|
'app',
|
2024-04-10 23:28:22 +02:00
|
|
|
'cron',
|
2023-07-23 23:01:15 +02:00
|
|
|
'get_backend',
|
|
|
|
'get_bus',
|
|
|
|
'get_plugin',
|
2024-04-10 23:28:22 +02:00
|
|
|
'hook',
|
2023-07-23 23:01:15 +02:00
|
|
|
'main',
|
2024-04-10 23:28:22 +02:00
|
|
|
'procedure',
|
2023-11-03 21:47:11 +01:00
|
|
|
'run',
|
2024-05-08 21:58:58 +02:00
|
|
|
'when',
|
2023-07-23 23:01:15 +02:00
|
|
|
]
|
2018-01-04 16:11:54 +01:00
|
|
|
|
|
|
|
|
2017-11-04 12:28:15 +01:00
|
|
|
# vim:sw=4:ts=4:et:
|