python-fasthtml 0.14.14__tar.gz → 0.14.15__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.14.14/python_fasthtml.egg-info → python_fasthtml-0.14.15}/PKG-INFO +1 -1
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/fasthtml/__init__.py +1 -1
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/fasthtml/core.py +3 -3
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/fasthtml/core.pyi +1 -1
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15/python_fasthtml.egg-info}/PKG-INFO +1 -1
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/CONTRIBUTING.md +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/LICENSE +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/MANIFEST.in +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/README.md +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/fasthtml/_modidx.py +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/fasthtml/authmw.py +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/fasthtml/basics.py +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/fasthtml/cli.py +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/fasthtml/common.py +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/fasthtml/components.py +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/fasthtml/components.pyi +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/fasthtml/fastapp.py +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/fasthtml/ft.py +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/fasthtml/js.py +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/fasthtml/jupyter.py +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/fasthtml/katex.js +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/fasthtml/live_reload.py +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/fasthtml/oauth.py +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/fasthtml/pico.py +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/fasthtml/starlette.py +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/fasthtml/stripe_otp.py +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/fasthtml/svg.py +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/fasthtml/toaster.py +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/fasthtml/xtend.py +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/fasthtml/xtend.pyi +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/pyproject.toml +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/python_fasthtml.egg-info/SOURCES.txt +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/python_fasthtml.egg-info/dependency_links.txt +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/python_fasthtml.egg-info/entry_points.txt +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/python_fasthtml.egg-info/requires.txt +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/python_fasthtml.egg-info/top_level.txt +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/setup.cfg +0 -0
- {python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/tests/test_toaster.py +0 -0
|
@@ -573,7 +573,7 @@ htmx_exts = {
|
|
|
573
573
|
# %% ../nbs/api/00_core.ipynb #60cb52ea
|
|
574
574
|
htmxsrc = Script(src="https://cdn.jsdelivr.net/npm/htmx.org@2.0.7/dist/htmx.js")
|
|
575
575
|
htmx4src = Script(src="https://cdn.jsdelivr.net/npm/htmx.org@4.0.0/dist/htmx.min.js")
|
|
576
|
-
fhjsscr = Script(src="https://cdn.jsdelivr.net/gh/answerdotai/fasthtml-js@1.0.
|
|
576
|
+
fhjsscr = Script(src="https://cdn.jsdelivr.net/gh/answerdotai/fasthtml-js@1.0.13/fasthtml.js")
|
|
577
577
|
surrsrc = Script(src="https://cdn.jsdelivr.net/gh/answerdotai/surreal@main/surreal.js")
|
|
578
578
|
scopesrc = Script(src="https://cdn.jsdelivr.net/gh/gnat/css-scope-inline@main/script.js")
|
|
579
579
|
viewport = Meta(name="viewport", content="width=device-width, initial-scale=1, viewport-fit=cover")
|
|
@@ -1155,8 +1155,8 @@ def _add_ids(s):
|
|
|
1155
1155
|
@patch
|
|
1156
1156
|
def setup_ws(app:FastHTML, f=noop):
|
|
1157
1157
|
conns = {}
|
|
1158
|
-
async def on_connect(
|
|
1159
|
-
async def on_disconnect(
|
|
1158
|
+
async def on_connect(ws, send): conns[ws.client] = send
|
|
1159
|
+
async def on_disconnect(ws): conns.pop(ws.client)
|
|
1160
1160
|
app.ws('/ws', conn=on_connect, disconn=on_disconnect)(f)
|
|
1161
1161
|
async def send(s):
|
|
1162
1162
|
for o in conns.values(): await o(s)
|
|
@@ -249,7 +249,7 @@ async def _wrap_call(f, req, params):
|
|
|
249
249
|
...
|
|
250
250
|
htmx_exts = {'morph': 'https://cdn.jsdelivr.net/npm/idiomorph@0.7.3/dist/idiomorph-ext.min.js', 'head-support': 'https://cdn.jsdelivr.net/npm/htmx-ext-head-support@2.0.4/head-support.js', 'preload': 'https://cdn.jsdelivr.net/npm/htmx-ext-preload@2.1.1/preload.js', 'class-tools': 'https://cdn.jsdelivr.net/npm/htmx-ext-class-tools@2.0.1/class-tools.js', 'loading-states': 'https://cdn.jsdelivr.net/npm/htmx-ext-loading-states@2.0.1/loading-states.js', 'multi-swap': 'https://cdn.jsdelivr.net/npm/htmx-ext-multi-swap@2.0.0/multi-swap.js', 'path-deps': 'https://cdn.jsdelivr.net/npm/htmx-ext-path-deps@2.0.0/path-deps.js', 'remove-me': 'https://cdn.jsdelivr.net/npm/htmx-ext-remove-me@2.0.0/remove-me.js', 'debug': 'https://unpkg.com/htmx.org@1.9.12/dist/ext/debug.js', 'ws': 'https://cdn.jsdelivr.net/npm/htmx-ext-ws@2.0.3/ws.js', 'chunked-transfer': 'https://cdn.jsdelivr.net/npm/htmx-ext-transfer-encoding-chunked@0.4.0/transfer-encoding-chunked.js'}
|
|
251
251
|
htmxsrc = Script(src='https://cdn.jsdelivr.net/npm/htmx.org@2.0.7/dist/htmx.js')
|
|
252
|
-
fhjsscr = Script(src='https://cdn.jsdelivr.net/gh/answerdotai/fasthtml-js@1.0.
|
|
252
|
+
fhjsscr = Script(src='https://cdn.jsdelivr.net/gh/answerdotai/fasthtml-js@1.0.13/fasthtml.js')
|
|
253
253
|
surrsrc = Script(src='https://cdn.jsdelivr.net/gh/answerdotai/surreal@main/surreal.js')
|
|
254
254
|
scopesrc = Script(src='https://cdn.jsdelivr.net/gh/gnat/css-scope-inline@main/script.js')
|
|
255
255
|
viewport = Meta(name='viewport', content='width=device-width, initial-scale=1, viewport-fit=cover')
|
|
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.14.14 → python_fasthtml-0.14.15}/python_fasthtml.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
{python_fasthtml-0.14.14 → python_fasthtml-0.14.15}/python_fasthtml.egg-info/entry_points.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|