python-fasthtml 0.12.32__tar.gz → 0.12.33__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 (42) hide show
  1. {python_fasthtml-0.12.32/python_fasthtml.egg-info → python_fasthtml-0.12.33}/PKG-INFO +1 -1
  2. python_fasthtml-0.12.33/fasthtml/__init__.py +2 -0
  3. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/fasthtml/jupyter.py +5 -2
  4. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33/python_fasthtml.egg-info}/PKG-INFO +1 -1
  5. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/settings.ini +1 -1
  6. python_fasthtml-0.12.32/fasthtml/__init__.py +0 -2
  7. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/CONTRIBUTING.md +0 -0
  8. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/LICENSE +0 -0
  9. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/MANIFEST.in +0 -0
  10. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/README.md +0 -0
  11. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/fasthtml/_modidx.py +0 -0
  12. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/fasthtml/authmw.py +0 -0
  13. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/fasthtml/basics.py +0 -0
  14. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/fasthtml/cli.py +0 -0
  15. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/fasthtml/common.py +0 -0
  16. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/fasthtml/components.py +0 -0
  17. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/fasthtml/components.pyi +0 -0
  18. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/fasthtml/core.py +0 -0
  19. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/fasthtml/core.pyi +0 -0
  20. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/fasthtml/fastapp.py +0 -0
  21. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/fasthtml/ft.py +0 -0
  22. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/fasthtml/js.py +0 -0
  23. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/fasthtml/katex.js +0 -0
  24. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/fasthtml/live_reload.py +0 -0
  25. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/fasthtml/oauth.py +0 -0
  26. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/fasthtml/pico.py +0 -0
  27. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/fasthtml/starlette.py +0 -0
  28. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/fasthtml/stripe_otp.py +0 -0
  29. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/fasthtml/svg.py +0 -0
  30. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/fasthtml/toaster.py +0 -0
  31. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/fasthtml/xtend.py +0 -0
  32. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/fasthtml/xtend.pyi +0 -0
  33. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/pyproject.toml +0 -0
  34. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/python_fasthtml.egg-info/SOURCES.txt +0 -0
  35. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/python_fasthtml.egg-info/dependency_links.txt +0 -0
  36. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/python_fasthtml.egg-info/entry_points.txt +0 -0
  37. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/python_fasthtml.egg-info/not-zip-safe +0 -0
  38. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/python_fasthtml.egg-info/requires.txt +0 -0
  39. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/python_fasthtml.egg-info/top_level.txt +0 -0
  40. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/setup.cfg +0 -0
  41. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/setup.py +0 -0
  42. {python_fasthtml-0.12.32 → python_fasthtml-0.12.33}/tests/test_toaster.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-fasthtml
3
- Version: 0.12.32
3
+ Version: 0.12.33
4
4
  Summary: The fastest way to create an HTML app
5
5
  Home-page: https://github.com/AnswerDotAI/fasthtml
6
6
  Author: Jeremy Howard and contributors
@@ -0,0 +1,2 @@
1
+ __version__ = "0.12.33"
2
+ from .core import *
@@ -62,9 +62,12 @@ def show(*s, **kwargs):
62
62
  return _show(*s, **kwargs)
63
63
 
64
64
  # %% ../nbs/api/06_jupyter.ipynb
65
- def render_ft():
65
+ def render_ft(**kw):
66
+ "Call once in a notebook or solveit dialog to auto-render components"
66
67
  @patch
67
- def _repr_markdown_(self:FT): return to_xml(Div(self, Script('if (window.htmx) htmx.process(document.body)')))
68
+ def _repr_markdown_(self:FT):
69
+ scr_proc = Script('if (window.htmx) htmx.process(document.body)')
70
+ return to_xml(Div(self, scr_proc, **kw))
68
71
 
69
72
  # %% ../nbs/api/06_jupyter.ipynb
70
73
  def htmx_config_port(port=8000):
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: python-fasthtml
3
- Version: 0.12.32
3
+ Version: 0.12.33
4
4
  Summary: The fastest way to create an HTML app
5
5
  Home-page: https://github.com/AnswerDotAI/fasthtml
6
6
  Author: Jeremy Howard and contributors
@@ -1,7 +1,7 @@
1
1
  [DEFAULT]
2
2
  repo = fasthtml
3
3
  lib_name = python-fasthtml
4
- version = 0.12.32
4
+ version = 0.12.33
5
5
  min_python = 3.10
6
6
  license = apache2
7
7
  requirements = fastcore>=1.8.1 python-dateutil starlette>0.33 oauthlib itsdangerous uvicorn[standard]>=0.30 httpx fastlite>=0.1.1 python-multipart beautifulsoup4
@@ -1,2 +0,0 @@
1
- __version__ = "0.12.32"
2
- from .core import *