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.
Files changed (65) hide show
  1. {hyperflask-0.1.1 → hyperflask-0.1.2}/PKG-INFO +1 -1
  2. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/cli.py +8 -3
  3. {hyperflask-0.1.1 → hyperflask-0.1.2}/pyproject.toml +1 -1
  4. {hyperflask-0.1.1 → hyperflask-0.1.2}/LICENSE +0 -0
  5. {hyperflask-0.1.1 → hyperflask-0.1.2}/README.md +0 -0
  6. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/__init__.py +0 -0
  7. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/__main__.py +0 -0
  8. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/api.py +0 -0
  9. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/app.py +0 -0
  10. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/components/__init__.py +0 -0
  11. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/components/alpine.py +0 -0
  12. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/components/core.py +0 -0
  13. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/components/webcomponent.py +0 -0
  14. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/factory.py +0 -0
  15. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/forms/__init__.py +0 -0
  16. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/forms/fields.py +0 -0
  17. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/forms/widgets.py +0 -0
  18. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/layout.html +0 -0
  19. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/page_helpers.py +0 -0
  20. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/reactivity.py +0 -0
  21. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/resources.py +0 -0
  22. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/static/alpine.js +0 -0
  23. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/static/app.js +0 -0
  24. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/static/htmx.js +0 -0
  25. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/static/reactive.js +0 -0
  26. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/static/stimulus.js +0 -0
  27. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/static/translations.js +0 -0
  28. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/README.md +0 -0
  29. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/actions/Button.html +0 -0
  30. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/actions/Dropdown.html +0 -0
  31. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/actions/DropdownItem.html +0 -0
  32. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/actions/LinkButton.html +0 -0
  33. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/actions/Modal.html +0 -0
  34. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/actions/ModalAction.html +0 -0
  35. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/actions/ModalTitle.html +0 -0
  36. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-display/Accordion.html +0 -0
  37. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-display/AccordionPanel.html +0 -0
  38. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/Checkbox.html +0 -0
  39. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/FileInput.html +0 -0
  40. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/FormControl.html +0 -0
  41. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/Input.html +0 -0
  42. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/LabeledCheckbox.html +0 -0
  43. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/LabeledTextInput.html +0 -0
  44. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/Radiobox.html +0 -0
  45. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/Range.html +0 -0
  46. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/Rating.html +0 -0
  47. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/Select.html +0 -0
  48. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/Textarea.html +0 -0
  49. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/data-input/Toggle.html +0 -0
  50. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/feedback/Loading.html +0 -0
  51. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/feedback/Toast.html +0 -0
  52. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/layout/Footer.html +0 -0
  53. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/layout/FooterLink.html +0 -0
  54. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/layout/FooterNav.html +0 -0
  55. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/layout/Indicator.html +0 -0
  56. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/navigation/Link.html +0 -0
  57. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/components/navigation/Navbar.html +0 -0
  58. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/forms.html +0 -0
  59. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/icons.html +0 -0
  60. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/ui/modal.html +0 -0
  61. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/utils/__init__.py +0 -0
  62. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/utils/htmx.py +0 -0
  63. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/utils/page_actions.py +0 -0
  64. {hyperflask-0.1.1 → hyperflask-0.1.2}/hyperflask/utils/request.py +0 -0
  65. {hyperflask-0.1.1 → 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.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
@@ -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('--port', type=int, default=5000)
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.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"
File without changes
File without changes
File without changes
File without changes