python-fasthtml 0.12.27__tar.gz → 0.12.28__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.
- {python_fasthtml-0.12.27/python_fasthtml.egg-info → python_fasthtml-0.12.28}/PKG-INFO +1 -1
- python_fasthtml-0.12.28/fasthtml/__init__.py +2 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/fasthtml/cli.py +1 -1
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/fasthtml/toaster.py +1 -1
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28/python_fasthtml.egg-info}/PKG-INFO +1 -1
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/settings.ini +1 -1
- python_fasthtml-0.12.27/fasthtml/__init__.py +0 -2
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/CONTRIBUTING.md +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/LICENSE +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/MANIFEST.in +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/README.md +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/fasthtml/_modidx.py +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/fasthtml/authmw.py +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/fasthtml/basics.py +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/fasthtml/common.py +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/fasthtml/components.py +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/fasthtml/components.pyi +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/fasthtml/core.py +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/fasthtml/core.pyi +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/fasthtml/fastapp.py +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/fasthtml/ft.py +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/fasthtml/js.py +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/fasthtml/jupyter.py +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/fasthtml/katex.js +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/fasthtml/live_reload.py +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/fasthtml/oauth.py +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/fasthtml/pico.py +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/fasthtml/starlette.py +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/fasthtml/stripe_otp.py +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/fasthtml/svg.py +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/fasthtml/xtend.py +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/fasthtml/xtend.pyi +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/pyproject.toml +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/python_fasthtml.egg-info/SOURCES.txt +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/python_fasthtml.egg-info/dependency_links.txt +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/python_fasthtml.egg-info/entry_points.txt +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/python_fasthtml.egg-info/not-zip-safe +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/python_fasthtml.egg-info/requires.txt +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/python_fasthtml.egg-info/top_level.txt +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/setup.cfg +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/setup.py +0 -0
- {python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/tests/test_toaster.py +0 -0
|
@@ -36,7 +36,7 @@ def railway_deploy(
|
|
|
36
36
|
):
|
|
37
37
|
"""Deploy a FastHTML app to Railway"""
|
|
38
38
|
nm,ver = check_output("railway --version".split()).decode().split()
|
|
39
|
-
assert nm=='
|
|
39
|
+
assert nm=='railway', f'Unexpected railway version string: {nm}'
|
|
40
40
|
if ver2tuple(ver)<(3,8): return print("Please update your railway CLI version to 3.8 or higher")
|
|
41
41
|
cp = run("railway status --json".split(), capture_output=True)
|
|
42
42
|
if not cp.returncode:
|
|
@@ -51,7 +51,7 @@ def add_toast(sess, message: str, typ: str = "info", dismiss: bool = False):
|
|
|
51
51
|
|
|
52
52
|
def render_toasts(sess):
|
|
53
53
|
toasts = [Toast(msg, typ, dismiss, sess['toast_duration']) for msg, typ, dismiss in sess.pop(sk, [])]
|
|
54
|
-
return Div(*toasts, hx_swap_oob=f'beforeend:#{tcid}')
|
|
54
|
+
return Div(*toasts, id=tcid, hx_swap_oob=f'beforeend:#{tcid}')
|
|
55
55
|
|
|
56
56
|
def toast_after(resp, req, sess):
|
|
57
57
|
if sk in sess and (not resp or isinstance(resp, (tuple,FT,FtResponse))):
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
[DEFAULT]
|
|
2
2
|
repo = fasthtml
|
|
3
3
|
lib_name = python-fasthtml
|
|
4
|
-
version = 0.12.
|
|
4
|
+
version = 0.12.28
|
|
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
|
|
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
|
{python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/python_fasthtml.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{python_fasthtml-0.12.27 → python_fasthtml-0.12.28}/python_fasthtml.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|