platypush/platypush/__init__.py

48 lines
931 B
Python
Raw Normal View History

2018-07-30 22:08:06 +02:00
"""
Platypush
.. moduleauthor:: Fabio Manganiello <fabio@manganiello.tech>
2018-07-30 23:18:01 +02:00
.. license: MIT
2018-07-30 22:08:06 +02:00
"""
from .app import Application, app
2017-12-18 01:10:51 +01:00
from .config import Config
from .context import Variable, get_backend, get_bus, get_plugin
from .cron import cron
from .event.hook import hook
from .message.event import Event
from .message.request import Request
from .message.response import Response
from .procedure import procedure
from .runner import main
from .utils import run
# 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
__author__ = 'Fabio Manganiello <fabio@manganiello.tech>'
2023-07-22 23:36:04 +02:00
__version__ = '0.50.3'
__all__ = [
'Application',
'Variable',
'Config',
'Event',
'Request',
'Response',
'app',
'cron',
'get_backend',
'get_bus',
'get_plugin',
'hook',
'main',
'procedure',
'run',
'when',
]
2018-01-04 16:11:54 +01:00
# vim:sw=4:ts=4:et: