python-fasthtml 0.0.15__tar.gz → 0.0.16__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.0.15/python_fasthtml.egg-info → python-fasthtml-0.0.16}/PKG-INFO +5 -5
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/README.md +3 -3
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/fasthtml/__init__.py +1 -1
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/fasthtml/_modidx.py +2 -2
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/fasthtml/components.py +1 -1
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/fasthtml/fastapp.py +1 -1
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/fasthtml/live_reload.py +1 -1
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16/python_fasthtml.egg-info}/PKG-INFO +5 -5
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/python_fasthtml.egg-info/SOURCES.txt +1 -1
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/python_fasthtml.egg-info/requires.txt +1 -1
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/settings.ini +2 -2
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/LICENSE +0 -0
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/MANIFEST.in +0 -0
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/fasthtml/authmw.py +0 -0
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/fasthtml/cli.py +0 -0
- /python-fasthtml-0.0.15/fasthtml/all.py → /python-fasthtml-0.0.16/fasthtml/common.py +0 -0
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/fasthtml/components.pyi +0 -0
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/fasthtml/core.py +0 -0
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/fasthtml/js.py +0 -0
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/fasthtml/oauth.py +0 -0
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/fasthtml/starlette.py +0 -0
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/fasthtml/xtend.py +0 -0
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/fasthtml/xtend.pyi +0 -0
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/python_fasthtml.egg-info/dependency_links.txt +0 -0
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/python_fasthtml.egg-info/entry_points.txt +0 -0
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/python_fasthtml.egg-info/not-zip-safe +0 -0
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/python_fasthtml.egg-info/top_level.txt +0 -0
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/setup.cfg +0 -0
- {python-fasthtml-0.0.15 → python-fasthtml-0.0.16}/setup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-fasthtml
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.16
|
|
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
|
|
@@ -15,7 +15,7 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
|
15
15
|
Requires-Python: >=3.10
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE
|
|
18
|
-
Requires-Dist: fastcore>=1.5.
|
|
18
|
+
Requires-Dist: fastcore>=1.5.46
|
|
19
19
|
Requires-Dist: python-dateutil
|
|
20
20
|
Requires-Dist: starlette
|
|
21
21
|
Requires-Dist: oauthlib
|
|
@@ -68,7 +68,7 @@ For a minimal app, create a file “main.py” as follows:
|
|
|
68
68
|
**main.py**
|
|
69
69
|
|
|
70
70
|
``` python
|
|
71
|
-
from fasthtml.
|
|
71
|
+
from fasthtml.common import *
|
|
72
72
|
import uvicorn
|
|
73
73
|
|
|
74
74
|
app = FastHTML()
|
|
@@ -86,10 +86,10 @@ if __name__ == '__main__':
|
|
|
86
86
|
|
|
87
87
|
## How to use
|
|
88
88
|
|
|
89
|
-
Import from `fasthtml.
|
|
89
|
+
Import from `fasthtml.common`:
|
|
90
90
|
|
|
91
91
|
``` python
|
|
92
|
-
from fasthtml.
|
|
92
|
+
from fasthtml.common import *
|
|
93
93
|
```
|
|
94
94
|
|
|
95
95
|
Create your app.
|
|
@@ -37,7 +37,7 @@ For a minimal app, create a file “main.py” as follows:
|
|
|
37
37
|
**main.py**
|
|
38
38
|
|
|
39
39
|
``` python
|
|
40
|
-
from fasthtml.
|
|
40
|
+
from fasthtml.common import *
|
|
41
41
|
import uvicorn
|
|
42
42
|
|
|
43
43
|
app = FastHTML()
|
|
@@ -55,10 +55,10 @@ if __name__ == '__main__':
|
|
|
55
55
|
|
|
56
56
|
## How to use
|
|
57
57
|
|
|
58
|
-
Import from `fasthtml.
|
|
58
|
+
Import from `fasthtml.common`:
|
|
59
59
|
|
|
60
60
|
``` python
|
|
61
|
-
from fasthtml.
|
|
61
|
+
from fasthtml.common import *
|
|
62
62
|
```
|
|
63
63
|
|
|
64
64
|
Create your app.
|
|
@@ -5,9 +5,9 @@ d = { 'settings': { 'branch': 'main',
|
|
|
5
5
|
'doc_host': 'https://AnswerDotAI.github.io',
|
|
6
6
|
'git_url': 'https://github.com/AnswerDotAI/fasthtml',
|
|
7
7
|
'lib_path': 'fasthtml'},
|
|
8
|
-
'syms': { 'fasthtml.
|
|
9
|
-
'fasthtml.authmw': {},
|
|
8
|
+
'syms': { 'fasthtml.authmw': {},
|
|
10
9
|
'fasthtml.cli': {'fasthtml.cli.railway_link': ('cli.html#railway_link', 'fasthtml/cli.py')},
|
|
10
|
+
'fasthtml.common': {},
|
|
11
11
|
'fasthtml.components': { 'fasthtml.components.__getattr__': ('components.html#__getattr__', 'fasthtml/components.py'),
|
|
12
12
|
'fasthtml.components._fill_item': ('components.html#_fill_item', 'fasthtml/components.py'),
|
|
13
13
|
'fasthtml.components.fill_dataclass': ('components.html#fill_dataclass', 'fasthtml/components.py'),
|
|
@@ -123,7 +123,7 @@ def html2xt(html):
|
|
|
123
123
|
attrs = []
|
|
124
124
|
for key, value in elm.attrs.items():
|
|
125
125
|
if isinstance(value,(tuple,list)): value = " ".join(value)
|
|
126
|
-
attrs.append(f'{rev_map.get(key, key)}={value!r}')
|
|
126
|
+
attrs.append(f'{rev_map.get(key, key).replace("-", "_")}={value!r}')
|
|
127
127
|
spc = " "*lvl*2
|
|
128
128
|
onlychild = not cts or (len(cts)==1 and isinstance(cts[0],str))
|
|
129
129
|
j = ', ' if onlychild else f',\n{spc}'
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: python-fasthtml
|
|
3
|
-
Version: 0.0.
|
|
3
|
+
Version: 0.0.16
|
|
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
|
|
@@ -15,7 +15,7 @@ Classifier: License :: OSI Approved :: Apache Software License
|
|
|
15
15
|
Requires-Python: >=3.10
|
|
16
16
|
Description-Content-Type: text/markdown
|
|
17
17
|
License-File: LICENSE
|
|
18
|
-
Requires-Dist: fastcore>=1.5.
|
|
18
|
+
Requires-Dist: fastcore>=1.5.46
|
|
19
19
|
Requires-Dist: python-dateutil
|
|
20
20
|
Requires-Dist: starlette
|
|
21
21
|
Requires-Dist: oauthlib
|
|
@@ -68,7 +68,7 @@ For a minimal app, create a file “main.py” as follows:
|
|
|
68
68
|
**main.py**
|
|
69
69
|
|
|
70
70
|
``` python
|
|
71
|
-
from fasthtml.
|
|
71
|
+
from fasthtml.common import *
|
|
72
72
|
import uvicorn
|
|
73
73
|
|
|
74
74
|
app = FastHTML()
|
|
@@ -86,10 +86,10 @@ if __name__ == '__main__':
|
|
|
86
86
|
|
|
87
87
|
## How to use
|
|
88
88
|
|
|
89
|
-
Import from `fasthtml.
|
|
89
|
+
Import from `fasthtml.common`:
|
|
90
90
|
|
|
91
91
|
``` python
|
|
92
|
-
from fasthtml.
|
|
92
|
+
from fasthtml.common import *
|
|
93
93
|
```
|
|
94
94
|
|
|
95
95
|
Create your app.
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
[DEFAULT]
|
|
2
2
|
repo = fasthtml
|
|
3
3
|
lib_name = fasthtml
|
|
4
|
-
version = 0.0.
|
|
4
|
+
version = 0.0.16
|
|
5
5
|
min_python = 3.10
|
|
6
6
|
license = apache2
|
|
7
|
-
requirements = fastcore>=1.5.
|
|
7
|
+
requirements = fastcore>=1.5.46 python-dateutil starlette oauthlib itsdangerous uvicorn[standard] httpx fastlite>=0.0.6 python-multipart beautifulsoup4
|
|
8
8
|
dev_requirements = ipython lxml
|
|
9
9
|
black_formatting = False
|
|
10
10
|
conda_user = fastai
|
|
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.0.15 → python-fasthtml-0.0.16}/python_fasthtml.egg-info/dependency_links.txt
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|