hyperflask 0.1.1__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.1 → hyperflask-0.1.2}/PKG-INFO +1 -1
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/cli.py +8 -3
- {hyperflask-0.1.1 → hyperflask-0.1.2}/pyproject.toml +1 -1
- {hyperflask-0.1.1 → hyperflask-0.1.2}/LICENSE +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/README.md +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/__init__.py +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/__main__.py +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/api.py +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/app.py +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/components/__init__.py +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/components/alpine.py +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/components/core.py +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/components/webcomponent.py +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/factory.py +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/forms/__init__.py +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/forms/fields.py +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/forms/widgets.py +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/layout.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/page_helpers.py +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/reactivity.py +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/resources.py +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/static/alpine.js +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/static/app.js +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/static/htmx.js +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/static/reactive.js +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/static/stimulus.js +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/static/translations.js +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/README.md +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/actions/Button.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/actions/Dropdown.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/actions/DropdownItem.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/actions/LinkButton.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/actions/Modal.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/actions/ModalAction.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/actions/ModalTitle.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-display/Accordion.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-display/AccordionPanel.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/Checkbox.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/FileInput.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/FormControl.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/Input.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/LabeledCheckbox.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/LabeledTextInput.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/Radiobox.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/Range.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/Rating.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/Select.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/Textarea.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/Toggle.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/feedback/Loading.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/feedback/Toast.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/layout/Footer.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/layout/FooterLink.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/layout/FooterNav.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/layout/Indicator.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/navigation/Link.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/navigation/Navbar.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/forms.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/icons.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/modal.html +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/utils/__init__.py +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/utils/htmx.py +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/utils/page_actions.py +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/utils/request.py +0 -0
- {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/utils/tokens.py +0 -0
|
@@ -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
|
}
|
|
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
|
|
File without changes
|
{hyperflask-0.1.1 → 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.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/LabeledCheckbox.html
RENAMED
|
File without changes
|
{hyperflask-0.1.1 → 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
|