claide-web 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.
- claide/__init__.py +26 -0
- claide/__main__.py +3 -0
- claide/app.py +947 -0
- claide/cli.py +173 -0
- claide/components.py +163 -0
- claide/html.py +212 -0
- claide/page.py +167 -0
- claide/py.typed +0 -0
- claide/server.py +82 -0
- claide/uitemplate.py +505 -0
- claide_web-0.1.0.dist-info/METADATA +230 -0
- claide_web-0.1.0.dist-info/RECORD +15 -0
- claide_web-0.1.0.dist-info/WHEEL +4 -0
- claide_web-0.1.0.dist-info/entry_points.txt +2 -0
- claide_web-0.1.0.dist-info/licenses/LICENSE +21 -0
claide/__init__.py
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"""Claide — build complete websites in Python, from A to Z.
|
|
2
|
+
|
|
3
|
+
from claide import App, Page, UITemplate, tags as t
|
|
4
|
+
|
|
5
|
+
See https://github.com/kurodaki-dev/Claide
|
|
6
|
+
"""
|
|
7
|
+
|
|
8
|
+
from .app import (
|
|
9
|
+
App, HTTPError, Request, Response, Router, UploadedFile, abort, redirect, send_file,
|
|
10
|
+
)
|
|
11
|
+
from .html import Element, Fragment, Raw, escape, raw, tags
|
|
12
|
+
from .page import Page
|
|
13
|
+
from .uitemplate import CATEGORIES, UITemplate, UITemplateError, builtin_templates
|
|
14
|
+
|
|
15
|
+
# Also allows "from claide import uitemplate" then uitemplate.UITemplate(...)
|
|
16
|
+
from . import components, uitemplate # noqa: E402
|
|
17
|
+
|
|
18
|
+
__version__ = "0.1.0"
|
|
19
|
+
|
|
20
|
+
__all__ = [
|
|
21
|
+
"App", "Router", "Request", "Response", "UploadedFile", "HTTPError",
|
|
22
|
+
"abort", "redirect", "send_file",
|
|
23
|
+
"Element", "Fragment", "Raw", "escape", "raw", "tags",
|
|
24
|
+
"Page", "UITemplate", "UITemplateError", "CATEGORIES", "builtin_templates",
|
|
25
|
+
"components", "uitemplate", "__version__",
|
|
26
|
+
]
|
claide/__main__.py
ADDED