solara-ui 1.32.1__py2.py3-none-any.whl → 1.32.2__py2.py3-none-any.whl
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.
- solara/__init__.py +1 -1
- solara/server/static/solara_bootstrap.py +1 -1
- solara/server/templates/solara.html.j2 +2 -2
- solara/website/pages/apps/scatter.py +1 -1
- solara/website/pages/changelog/changelog.md +8 -0
- solara/website/pages/documentation/getting_started/content/07-deploying/10-self-hosted.md +15 -1
- {solara_ui-1.32.1.dist-info → solara_ui-1.32.2.dist-info}/METADATA +1 -1
- {solara_ui-1.32.1.dist-info → solara_ui-1.32.2.dist-info}/RECORD +12 -12
- {solara_ui-1.32.1.data → solara_ui-1.32.2.data}/data/etc/jupyter/jupyter_notebook_config.d/solara.json +0 -0
- {solara_ui-1.32.1.data → solara_ui-1.32.2.data}/data/etc/jupyter/jupyter_server_config.d/solara.json +0 -0
- {solara_ui-1.32.1.dist-info → solara_ui-1.32.2.dist-info}/WHEEL +0 -0
- {solara_ui-1.32.1.dist-info → solara_ui-1.32.2.dist-info}/licenses/LICENSE +0 -0
solara/__init__.py
CHANGED
|
@@ -119,7 +119,7 @@ async def main():
|
|
|
119
119
|
]
|
|
120
120
|
for dep in requirements:
|
|
121
121
|
await micropip.install(dep, keep_going=True)
|
|
122
|
-
await micropip.install("/wheels/solara-1.32.
|
|
122
|
+
await micropip.install("/wheels/solara-1.32.2-py2.py3-none-any.whl", keep_going=True)
|
|
123
123
|
import solara
|
|
124
124
|
|
|
125
125
|
el = solara.Warning("lala")
|
|
@@ -347,11 +347,11 @@
|
|
|
347
347
|
},
|
|
348
348
|
'$vuetify.theme.dark': function (value) {
|
|
349
349
|
if ( value ) {
|
|
350
|
-
|
|
350
|
+
changeThemeCSS('dark');
|
|
351
351
|
appContainer.classList.remove('theme--light');
|
|
352
352
|
appContainer.classList.add('theme--dark');
|
|
353
353
|
} else {
|
|
354
|
-
|
|
354
|
+
changeThemeCSS('light');
|
|
355
355
|
appContainer.classList.remove('theme--dark');
|
|
356
356
|
appContainer.classList.add('theme--light');
|
|
357
357
|
}
|
|
@@ -12,7 +12,7 @@ from solara.components.file_drop import FileDrop
|
|
|
12
12
|
|
|
13
13
|
github_url = solara.util.github_url(__file__)
|
|
14
14
|
if sys.platform != "emscripten":
|
|
15
|
-
pycafe_url = solara.util.pycafe_url(path=pathlib.Path(__file__), requirements=["
|
|
15
|
+
pycafe_url = solara.util.pycafe_url(path=pathlib.Path(__file__), requirements=["pandas", "plotly"])
|
|
16
16
|
else:
|
|
17
17
|
pycafe_url = None
|
|
18
18
|
df_sample = pd.read_csv("https://raw.githubusercontent.com/plotly/datasets/master/gapminderDataFiveYear.csv")
|
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
# Solara Changelog
|
|
2
2
|
|
|
3
3
|
|
|
4
|
+
## Version 1.32.1
|
|
5
|
+
|
|
6
|
+
### Details
|
|
7
|
+
|
|
8
|
+
* Bug Fix: `solara.display` not working when running a solara server in production mode, or when running a Solara app with flask. [#622](https://github.com/widgetti/solara/pull/622)
|
|
9
|
+
* Bug Fix: `solara.Markdown` would raise a `NameError` if `pymdown-extensions` was not installed. [#621](https://github.com/widgetti/solara/pull/621)
|
|
10
|
+
|
|
11
|
+
|
|
4
12
|
## Version 1.32.0
|
|
5
13
|
|
|
6
14
|
### Details
|
|
@@ -253,7 +253,7 @@ server {
|
|
|
253
253
|
An alternative to using the `X-Script-Name` header with uvicorn, would be to pass the `--root-path` flag, e.g.:
|
|
254
254
|
|
|
255
255
|
```
|
|
256
|
-
$ SOLARA_APP=sol.py uvicorn --workers 1 --root-path /solara -b 0.0.0.0:8765 solara.server.
|
|
256
|
+
$ SOLARA_APP=sol.py uvicorn --workers 1 --root-path /solara -b 0.0.0.0:8765 solara.server.starlette:app
|
|
257
257
|
```
|
|
258
258
|
|
|
259
259
|
In the case of an [OAuth setup](https://solara.dev/documentation/advanced/enterprise/oauth) it is important to make sure that the `X-Forwarded-Proto` and `Host` headers are forwarded correctly.
|
|
@@ -267,6 +267,20 @@ export FORWARDED_ALLOW_IPS = "127.0.0.1" # If your solara-server can *only* be
|
|
|
267
267
|
Make sure you replace the IP with the correct IP of the reverse proxy server (instead of `127.0.0.1`). If you are sure that only the reverse proxy can reach the solara server, you can consider
|
|
268
268
|
setting `FORWARDED_ALLOW_IPS="*"`.
|
|
269
269
|
|
|
270
|
+
## HTTPS
|
|
271
|
+
|
|
272
|
+
Solara does not support running in HTTPS (secure) mode directly. You can use a reverse proxy like Nginx, Traefik or Caddy to handle HTTPS for you.
|
|
273
|
+
|
|
274
|
+
However, when running solara via uvicorn, it is possible to run uvicorn with HTTPS enabled. For more information, see the uvicorn documentation:
|
|
275
|
+
https://www.uvicorn.org/deployment/#running-with-https
|
|
276
|
+
|
|
277
|
+
|
|
278
|
+
An example command would be:
|
|
279
|
+
|
|
280
|
+
```
|
|
281
|
+
$ SOLARA_APP=sol.py uvicorn --host 0.0.0.0 --port 8765 solara.server.starlette:app --ssl-keyfile=./key.pem --ssl-certfile=./cert.pem
|
|
282
|
+
```
|
|
283
|
+
|
|
270
284
|
## Docker
|
|
271
285
|
|
|
272
286
|
There is nothing special about running Solara in Docker. The only things you probably need to change is the interface the server binds to.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
prefix/etc/jupyter/jupyter_notebook_config.d/solara.json,sha256=3UhTBQi6z7F7pPjmqXxfddv79c8VGR9H7zStDLp6AwY,115
|
|
2
2
|
prefix/etc/jupyter/jupyter_server_config.d/solara.json,sha256=D9J-rYxAzyD5GOqWvuPjacGUVFHsYtTfZ4FUbRzRvIA,113
|
|
3
|
-
solara/__init__.py,sha256=
|
|
3
|
+
solara/__init__.py,sha256=QUOL8e5UFLH8XINs4-DsNHlQOdepeC8f12dTL0FoFDc,3584
|
|
4
4
|
solara/__main__.py,sha256=_RSUhoxkTruY4MMlSJ9qBKWdsgNSasuYs1EBbufnNrM,23656
|
|
5
5
|
solara/alias.py,sha256=9vfLzud77NP8in3OID9b5mmIO8NyrnFjN2_aE0lSb1k,216
|
|
6
6
|
solara/autorouting.py,sha256=IXNqJBaKjniuQIHGq_LSqoWXec9qq34t2b6UEqj4YBE,22677
|
|
@@ -135,7 +135,7 @@ solara/server/static/highlight-dark.css,sha256=gmC3pr3x2BqJgTswNoN6AkqfEhBk24hPF
|
|
|
135
135
|
solara/server/static/highlight.css,sha256=k8ZdT5iwrGQ5tXTQHAXuxvZrSUq3kwCdEpy3mlFoZjs,2637
|
|
136
136
|
solara/server/static/main-vuetify.js,sha256=-FLlUqclZdVhCXsqawzpxtQ9vpaDA6KQdwoDKJCr_AI,8926
|
|
137
137
|
solara/server/static/main.js,sha256=mcx4JNQ4Lg4pNdUIqMoZos1mZyYFS48yd_JNFFJUqIE,5679
|
|
138
|
-
solara/server/static/solara_bootstrap.py,sha256=
|
|
138
|
+
solara/server/static/solara_bootstrap.py,sha256=iUO-4E9Umfqyn4i6v__QN-2W6xFiCvySOQB0U2-HWXs,3195
|
|
139
139
|
solara/server/static/sun.svg,sha256=jEKBAGCr7b9zNYv0VUb7lMWKjnU2dX69_Ye_DZWGXJI,6855
|
|
140
140
|
solara/server/static/webworker.js,sha256=cjAFz7-SygStHJnYlJUlJs-gE_7YQeQ-WBDcmKYyjvo,1372
|
|
141
141
|
solara/server/templates/index.html.j2,sha256=JXQo1M-STFHLBOFetgG7509cAq8xUP0VAEtYDzz35fY,31
|
|
@@ -144,7 +144,7 @@ solara/server/templates/loader-plain.html,sha256=VEtMDC8MQj75o2iWJ_gR70Jp05oOoyR
|
|
|
144
144
|
solara/server/templates/loader-solara.css,sha256=QerfzwlenkSJMq8uk_qEtoSdcI-DKMRrH9XXDEPsrUA,1670
|
|
145
145
|
solara/server/templates/loader-solara.html,sha256=bgp3GHOAhfzU0rcAAYDsqhGlemfZo4YNhRsYIvhU7YM,2726
|
|
146
146
|
solara/server/templates/plain.html,sha256=yO1r2hidA3bxOclaxtI_vTZtdDTFn2KKeeoldJuinXk,2762
|
|
147
|
-
solara/server/templates/solara.html.j2,sha256=
|
|
147
|
+
solara/server/templates/solara.html.j2,sha256=why7S1J-VwQhDDINl4q6vzoySLGCmZ3c849edbAnABc,19658
|
|
148
148
|
solara/template/button.py,sha256=HM382prl4bNLF8sLBd9Sh43ReMGedG_z_h4XN4mDYRI,311
|
|
149
149
|
solara/template/markdown.py,sha256=31G3ezFooiveSrUH5afz5_nJ8SStjbx-_x5YLXv_hPk,1137
|
|
150
150
|
solara/template/portal/.flake8,sha256=wxWLwamdP33Jm1mPa1sVe3uT0AZkG_wHPbY3Ci7j5-g,136
|
|
@@ -194,7 +194,7 @@ solara/website/pages/docutils.py,sha256=2ne991oUtK4dMj-qN18NtsVYxSfCT1c6o5yYThQn
|
|
|
194
194
|
solara/website/pages/apps/__init__.py,sha256=7ZmplbUsDo3uYHA9WI07hA8ZgRcDYbjw7aeohlu7mHk,284
|
|
195
195
|
solara/website/pages/apps/jupyter-dashboard-1.py,sha256=mDRpnz6xEO0uoc_QEe71gfnl6T--o7rUzOo6q5C4x54,3442
|
|
196
196
|
solara/website/pages/apps/layout-demo.py,sha256=2QVh3S1Ty00Qk9adf4F_CTZQ_WKnXxFNrBjVMLa8iP4,1676
|
|
197
|
-
solara/website/pages/apps/scatter.py,sha256=
|
|
197
|
+
solara/website/pages/apps/scatter.py,sha256=ktsigE_ae_iFHqOyqmTbHSj5T1VpTKdLjVSU0wZZLi8,5432
|
|
198
198
|
solara/website/pages/apps/scrolling.py,sha256=zGvkE1007KcqaBII6D7BdvKC850PRKFDU4jTlDiV-r0,2706
|
|
199
199
|
solara/website/pages/apps/tutorial-streamlit.py,sha256=lKLzR4jvvw_cmrxqFhxxJ4IbobbXXRcREjTIcGC4P0U,426
|
|
200
200
|
solara/website/pages/apps/authorization/__init__.py,sha256=jw2S62wKmTvAhoIrdY9Qabys-gIliMe5sB03gxPahhI,4022
|
|
@@ -204,7 +204,7 @@ solara/website/pages/apps/multipage/__init__.py,sha256=zljTAXbsV8hqb67dwmx_PhzN-
|
|
|
204
204
|
solara/website/pages/apps/multipage/page1.py,sha256=5hK0RZ8UBBOaZcPKaplbLeb0VvaerhB6m3Jn5C0afRM,872
|
|
205
205
|
solara/website/pages/apps/multipage/page2.py,sha256=uRJ8YPFyKy7GR_Ii8DJSx3akb3H15rQAJZETMt9jVEk,1422
|
|
206
206
|
solara/website/pages/changelog/__init__.py,sha256=iBCpD5LVrFxQtEHX116u_6vqNBktZD3AXR65eTZblFo,227
|
|
207
|
-
solara/website/pages/changelog/changelog.md,sha256=
|
|
207
|
+
solara/website/pages/changelog/changelog.md,sha256=0c9oJxA5ckm9T9DhSDzjw3cgkdViu-MPTjRF1wQ3-_U,13865
|
|
208
208
|
solara/website/pages/contact/__init__.py,sha256=L6o45fHAMClqyWdHWxI6JuiwUTP-U-yXCgd3lxMUcxA,223
|
|
209
209
|
solara/website/pages/contact/contact.md,sha256=zp66RGhOE_tdkRaWKZqGbuk-PnOqBWhDVvX5zSLXoHw,798
|
|
210
210
|
solara/website/pages/documentation/__init__.py,sha256=zJh3kmr6OhFPbax8Igp-LN-m9cZNrs9sq9ifFuC8Kic,6003
|
|
@@ -409,7 +409,7 @@ solara/website/pages/documentation/getting_started/content/05-fundamentals/00-ov
|
|
|
409
409
|
solara/website/pages/documentation/getting_started/content/05-fundamentals/10-components.md,sha256=dEUb2jpkKE0J8VV10HbbpSBTmU766X74MX9rMs2s8vE,13931
|
|
410
410
|
solara/website/pages/documentation/getting_started/content/05-fundamentals/50-state-management.md,sha256=2erhyogDTBzgX4kOOBbNCm2UiONcg29HmLxVvSd6LHA,4599
|
|
411
411
|
solara/website/pages/documentation/getting_started/content/07-deploying/00-overview.md,sha256=frkz54EDE8o7L0LohVi1liftJDH2_FthLaNRkHRLIPU,368
|
|
412
|
-
solara/website/pages/documentation/getting_started/content/07-deploying/10-self-hosted.md,sha256=
|
|
412
|
+
solara/website/pages/documentation/getting_started/content/07-deploying/10-self-hosted.md,sha256=maCleEOHZFRHyYOG09TdumdzPNNsHc2fKAtEWH3S9Bw,10363
|
|
413
413
|
solara/website/pages/documentation/getting_started/content/07-deploying/20-cloud-hosted.md,sha256=kdqdM5q0jcv86OwW7WI-MwsQjKYaj9jxENAsVxdL05U,4076
|
|
414
414
|
solara/website/pages/showcase/__init__.py,sha256=_6VP_Lxomr-hQz-hceEyLKo503gmcuuxqwJQW7Ps8Vo,6326
|
|
415
415
|
solara/website/pages/showcase/domino_code_assist.py,sha256=dxEbAYeZwiSx1_JHVd1dsnEqpPwiv3TcmYSonwjc-PE,2297
|
|
@@ -433,9 +433,9 @@ solara/widgets/vue/gridlayout.vue,sha256=EGeq8RmdRSd8AD2Us6L80zGFefh7TaQqJSnazX7
|
|
|
433
433
|
solara/widgets/vue/html.vue,sha256=48K5rjp0AdJDeRV6F3nOHW3J0WXPeHn55r5pGClK2fU,112
|
|
434
434
|
solara/widgets/vue/navigator.vue,sha256=SLrzBI0Eiys-7maXA4e8yyD13-O5b4AnCGE9wKuJDHE,3646
|
|
435
435
|
solara/widgets/vue/vegalite.vue,sha256=pjLfjTObIyBkduXx54i4wS5OQYI9Y4EwPeEFAqtJvZg,4120
|
|
436
|
-
solara_ui-1.32.
|
|
437
|
-
solara_ui-1.32.
|
|
438
|
-
solara_ui-1.32.
|
|
439
|
-
solara_ui-1.32.
|
|
440
|
-
solara_ui-1.32.
|
|
441
|
-
solara_ui-1.32.
|
|
436
|
+
solara_ui-1.32.2.data/data/etc/jupyter/jupyter_notebook_config.d/solara.json,sha256=3UhTBQi6z7F7pPjmqXxfddv79c8VGR9H7zStDLp6AwY,115
|
|
437
|
+
solara_ui-1.32.2.data/data/etc/jupyter/jupyter_server_config.d/solara.json,sha256=D9J-rYxAzyD5GOqWvuPjacGUVFHsYtTfZ4FUbRzRvIA,113
|
|
438
|
+
solara_ui-1.32.2.dist-info/METADATA,sha256=dYUQV1BzydDsIFDFwh4Fzg9Y50IVIbJfCvubOy9zhfU,7284
|
|
439
|
+
solara_ui-1.32.2.dist-info/WHEEL,sha256=L5_n4Kc1NmrSdVgbp6hdnwwVwBnoYOCnbHBRMD-qNJ4,105
|
|
440
|
+
solara_ui-1.32.2.dist-info/licenses/LICENSE,sha256=fFJUz-CWzZ9nEc4QZKu44jMEoDr5fEW-SiqljKpD82E,1086
|
|
441
|
+
solara_ui-1.32.2.dist-info/RECORD,,
|
|
File without changes
|
{solara_ui-1.32.1.data → solara_ui-1.32.2.data}/data/etc/jupyter/jupyter_server_config.d/solara.json
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|