hyperflask 0.1.0__tar.gz → 0.1.2__tar.gz
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.
- {hyperflask-0.1.0 → hyperflask-0.1.2}/PKG-INFO +1 -2
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/app.py +2 -2
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/cli.py +8 -3
- {hyperflask-0.1.0 → hyperflask-0.1.2}/pyproject.toml +4 -3
- {hyperflask-0.1.0 → hyperflask-0.1.2}/LICENSE +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/README.md +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/__init__.py +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/__main__.py +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/api.py +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/components/__init__.py +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/components/alpine.py +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/components/core.py +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/components/webcomponent.py +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/factory.py +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/forms/__init__.py +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/forms/fields.py +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/forms/widgets.py +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/layout.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/page_helpers.py +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/reactivity.py +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/resources.py +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/static/alpine.js +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/static/app.js +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/static/htmx.js +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/static/reactive.js +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/static/stimulus.js +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/static/translations.js +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/README.md +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/actions/Button.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/actions/Dropdown.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/actions/DropdownItem.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/actions/LinkButton.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/actions/Modal.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/actions/ModalAction.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/actions/ModalTitle.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/data-display/Accordion.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/data-display/AccordionPanel.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/Checkbox.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/FileInput.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/FormControl.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/Input.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/LabeledCheckbox.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/LabeledTextInput.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/Radiobox.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/Range.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/Rating.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/Select.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/Textarea.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/Toggle.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/feedback/Loading.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/feedback/Toast.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/layout/Footer.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/layout/FooterLink.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/layout/FooterNav.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/layout/Indicator.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/navigation/Link.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/navigation/Navbar.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/forms.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/icons.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/modal.html +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/utils/__init__.py +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/utils/htmx.py +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/utils/page_actions.py +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/utils/request.py +0 -0
- {hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/utils/tokens.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: hyperflask
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.2
|
|
4
4
|
Summary: Full stack web framework
|
|
5
5
|
Home-page: https://github.com/hyperflask/hyperflask
|
|
6
6
|
License: MIT
|
|
@@ -12,7 +12,6 @@ Classifier: Programming Language :: Python :: 3
|
|
|
12
12
|
Classifier: Programming Language :: Python :: 3.10
|
|
13
13
|
Classifier: Programming Language :: Python :: 3.11
|
|
14
14
|
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
-
Requires-Dist: dramatiq-sqlite (>=0.1,<0.2)
|
|
16
15
|
Requires-Dist: flask (>=3.0,<4.0)
|
|
17
16
|
Requires-Dist: flask-apispec-hyper (>=0.12,<0.13)
|
|
18
17
|
Requires-Dist: flask-assets-pipeline (>=0.1,<0.2)
|
|
@@ -15,7 +15,7 @@ from flask_files import Files
|
|
|
15
15
|
from flask_sqlorm import FlaskSQLORM
|
|
16
16
|
from flask_mercure_sse import MercureSSE
|
|
17
17
|
from flask_mailman_templates import MailTemplates
|
|
18
|
-
from flask_observability import Observability
|
|
18
|
+
#from flask_observability import Observability
|
|
19
19
|
# 3rd party extensions
|
|
20
20
|
from flask_wtf.csrf import CSRFProtect
|
|
21
21
|
from flask_talisman import Talisman
|
|
@@ -77,7 +77,7 @@ class Hyperflask(Flask):
|
|
|
77
77
|
if self.debug:
|
|
78
78
|
self.config.setdefault("MAIL_BACKEND", "console")
|
|
79
79
|
|
|
80
|
-
self.otel = Observability(self)
|
|
80
|
+
#self.otel = Observability(self)
|
|
81
81
|
|
|
82
82
|
self.jinja_env.add_extension(LayoutExtension)
|
|
83
83
|
self.jinja_env.add_extension(WtformExtension)
|
|
@@ -27,12 +27,16 @@ cli.add_command(routes_command)
|
|
|
27
27
|
def freeze_command():
|
|
28
28
|
current_app.freezer.freeze()
|
|
29
29
|
|
|
30
|
+
cli.add_command(freeze_command)
|
|
31
|
+
|
|
30
32
|
|
|
31
33
|
@click.command("build")
|
|
32
34
|
@click.pass_context
|
|
33
35
|
def build_command(ctx):
|
|
34
36
|
ctx.invoke(assets_cli.build)
|
|
35
37
|
|
|
38
|
+
cli.add_command(build_command)
|
|
39
|
+
|
|
36
40
|
|
|
37
41
|
@click.command("serve")
|
|
38
42
|
@click.option('--gunicorn-opt', multiple=True)
|
|
@@ -63,10 +67,11 @@ cli.add_command(serve_command)
|
|
|
63
67
|
|
|
64
68
|
@click.command("run")
|
|
65
69
|
@click.argument('processes', nargs=-1)
|
|
66
|
-
@click.option(
|
|
70
|
+
@click.option("--host", "-h", default="127.0.0.1", help="The interface to bind to.")
|
|
71
|
+
@click.option("--port", "-p", default=5000, help="The port to bind to.")
|
|
67
72
|
@click.option('--concurrency')
|
|
68
73
|
@click.option("--dev", is_flag=True)
|
|
69
|
-
def run_command(processes, port, concurrency, dev):
|
|
74
|
+
def run_command(processes, host, port, concurrency, dev):
|
|
70
75
|
from honcho.command import _procfile, _parse_concurrency
|
|
71
76
|
from honcho.manager import Manager
|
|
72
77
|
from honcho.printer import Printer
|
|
@@ -83,7 +88,7 @@ def run_command(processes, port, concurrency, dev):
|
|
|
83
88
|
break
|
|
84
89
|
if _processes is None:
|
|
85
90
|
_processes = {
|
|
86
|
-
"web": [sys.argv[0], "serve", "--port", "$PORT"],
|
|
91
|
+
"web": [sys.argv[0], "serve", "--host", host, "--port", "$PORT"],
|
|
87
92
|
# "worker": [sys.argv[0], "worker"],
|
|
88
93
|
# "scheduler": [sys.argv[0], "periodiq"]
|
|
89
94
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
[tool.poetry]
|
|
2
2
|
name = "hyperflask"
|
|
3
|
-
version = "0.1.
|
|
3
|
+
version = "0.1.2"
|
|
4
4
|
description = "Full stack web framework"
|
|
5
5
|
authors = ["Maxime Bouroumeau-Fuseau <maxime.bouroumeau@gmail.com>"]
|
|
6
6
|
readme = "README.md"
|
|
@@ -23,12 +23,13 @@ flask-files = "^0.1"
|
|
|
23
23
|
flask-geo = "^0.1"
|
|
24
24
|
flask-mailman-templates = "^0.1"
|
|
25
25
|
flask-mercure-sse = "^0.1"
|
|
26
|
+
#flask-otel = "^0.1"
|
|
26
27
|
flask-sqlorm = "^0.1"
|
|
27
28
|
flask-super-macros = "^0.1"
|
|
28
29
|
flask-talisman = "^1.1"
|
|
29
30
|
flask-wtf = "^1.2"
|
|
30
31
|
frozen-flask = "^1.0"
|
|
31
|
-
dramatiq-sqlite = "^0.1"
|
|
32
|
+
#dramatiq-sqlite = "^0.1"
|
|
32
33
|
gunicorn = "^22.0"
|
|
33
34
|
honcho = "^1.1"
|
|
34
35
|
htmx-flask = "^0.1"
|
|
@@ -49,4 +50,4 @@ hyperflask = "hyperflask.cli:main"
|
|
|
49
50
|
|
|
50
51
|
[build-system]
|
|
51
52
|
requires = ["poetry-core"]
|
|
52
|
-
build-backend = "poetry.core.masonry.api"
|
|
53
|
+
build-backend = "poetry.core.masonry.api"
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/data-display/AccordionPanel.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/LabeledCheckbox.html
RENAMED
|
File without changes
|
{hyperflask-0.1.0 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/LabeledTextInput.html
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|