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 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
@@ -0,0 +1,3 @@
1
+ from .cli import main
2
+
3
+ main()