anyquart 0.1.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
anyquart/__init__.py ADDED
@@ -0,0 +1,55 @@
1
+ from __future__ import annotations
2
+
3
+ from markupsafe import escape as escape
4
+ from markupsafe import Markup as Markup
5
+
6
+ from .app import AnyQuart as AnyQuart
7
+ from .blueprints import Blueprint as Blueprint
8
+ from .config import Config as Config
9
+ from .ctx import after_this_request as after_this_request
10
+ from .ctx import copy_current_app_context as copy_current_app_context
11
+ from .ctx import copy_current_request_context as copy_current_request_context
12
+ from .ctx import copy_current_websocket_context as copy_current_websocket_context
13
+ from .ctx import has_app_context as has_app_context
14
+ from .ctx import has_request_context as has_request_context
15
+ from .ctx import has_websocket_context as has_websocket_context
16
+ from .globals import current_app as current_app
17
+ from .globals import g as g
18
+ from .globals import request as request
19
+ from .globals import session as session
20
+ from .globals import websocket as websocket
21
+ from .helpers import abort as abort
22
+ from .helpers import flash as flash
23
+ from .helpers import get_flashed_messages as get_flashed_messages
24
+ from .helpers import get_template_attribute as get_template_attribute
25
+ from .helpers import make_push_promise as make_push_promise
26
+ from .helpers import make_response as make_response
27
+ from .helpers import redirect as redirect
28
+ from .helpers import send_file as send_file
29
+ from .helpers import send_from_directory as send_from_directory
30
+ from .helpers import stream_with_context as stream_with_context
31
+ from .helpers import url_for as url_for
32
+ from .json import jsonify as jsonify
33
+ from .signals import appcontext_popped as appcontext_popped
34
+ from .signals import appcontext_pushed as appcontext_pushed
35
+ from .signals import appcontext_tearing_down as appcontext_tearing_down
36
+ from .signals import before_render_template as before_render_template
37
+ from .signals import got_request_exception as got_request_exception
38
+ from .signals import got_websocket_exception as got_websocket_exception
39
+ from .signals import message_flashed as message_flashed
40
+ from .signals import request_finished as request_finished
41
+ from .signals import request_started as request_started
42
+ from .signals import request_tearing_down as request_tearing_down
43
+ from .signals import signals_available as signals_available
44
+ from .signals import template_rendered as template_rendered
45
+ from .signals import websocket_finished as websocket_finished
46
+ from .signals import websocket_started as websocket_started
47
+ from .signals import websocket_tearing_down as websocket_tearing_down
48
+ from .templating import render_template as render_template
49
+ from .templating import render_template_string as render_template_string
50
+ from .templating import stream_template as stream_template
51
+ from .templating import stream_template_string as stream_template_string
52
+ from .typing import ResponseReturnValue as ResponseReturnValue
53
+ from .wrappers import Request as Request
54
+ from .wrappers import Response as Response
55
+ from .wrappers import Websocket as Websocket
anyquart/__main__.py ADDED
@@ -0,0 +1,6 @@
1
+ from __future__ import annotations
2
+
3
+ if __name__ == "__main__":
4
+ from .cli import main
5
+
6
+ main()