streamlit-nightly 1.38.1.dev20240904__py2.py3-none-any.whl → 1.38.1.dev20240905__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.
- streamlit/config.py +11 -0
- streamlit/runtime/app_session.py +7 -0
- streamlit/static/asset-manifest.json +2 -2
- streamlit/static/index.html +1 -1
- streamlit/static/static/js/{main.31d1a42d.js → main.7feaefcb.js} +2 -2
- streamlit/web/server/component_request_handler.py +6 -0
- streamlit/web/server/server.py +4 -0
- {streamlit_nightly-1.38.1.dev20240904.dist-info → streamlit_nightly-1.38.1.dev20240905.dist-info}/METADATA +1 -1
- {streamlit_nightly-1.38.1.dev20240904.dist-info → streamlit_nightly-1.38.1.dev20240905.dist-info}/RECORD +14 -14
- /streamlit/static/static/js/{main.31d1a42d.js.LICENSE.txt → main.7feaefcb.js.LICENSE.txt} +0 -0
- {streamlit_nightly-1.38.1.dev20240904.data → streamlit_nightly-1.38.1.dev20240905.data}/scripts/streamlit.cmd +0 -0
- {streamlit_nightly-1.38.1.dev20240904.dist-info → streamlit_nightly-1.38.1.dev20240905.dist-info}/WHEEL +0 -0
- {streamlit_nightly-1.38.1.dev20240904.dist-info → streamlit_nightly-1.38.1.dev20240905.dist-info}/entry_points.txt +0 -0
- {streamlit_nightly-1.38.1.dev20240904.dist-info → streamlit_nightly-1.38.1.dev20240905.dist-info}/top_level.txt +0 -0
@@ -33,6 +33,12 @@ class ComponentRequestHandler(tornado.web.RequestHandler):
|
|
33
33
|
def initialize(self, registry: BaseComponentRegistry):
|
34
34
|
self._registry = registry
|
35
35
|
|
36
|
+
# This ensures that common mime-types are robust against
|
37
|
+
# system misconfiguration.
|
38
|
+
mimetypes.add_type("text/html", ".html")
|
39
|
+
mimetypes.add_type("application/javascript", ".js")
|
40
|
+
mimetypes.add_type("text/css", ".css")
|
41
|
+
|
36
42
|
def get(self, path: str) -> None:
|
37
43
|
parts = path.split("/")
|
38
44
|
component_name = parts[0]
|
streamlit/web/server/server.py
CHANGED
@@ -33,6 +33,7 @@ from streamlit.config_option import ConfigOption
|
|
33
33
|
from streamlit.logger import get_logger
|
34
34
|
from streamlit.runtime import Runtime, RuntimeConfig, RuntimeState
|
35
35
|
from streamlit.runtime.memory_media_file_storage import MemoryMediaFileStorage
|
36
|
+
from streamlit.runtime.memory_session_storage import MemorySessionStorage
|
36
37
|
from streamlit.runtime.memory_uploaded_file_manager import MemoryUploadedFileManager
|
37
38
|
from streamlit.runtime.runtime_util import get_max_message_size_bytes
|
38
39
|
from streamlit.web.cache_storage_manager_config import (
|
@@ -246,6 +247,9 @@ class Server:
|
|
246
247
|
uploaded_file_manager=uploaded_file_mgr,
|
247
248
|
cache_storage_manager=create_default_cache_storage_manager(),
|
248
249
|
is_hello=is_hello,
|
250
|
+
session_storage=MemorySessionStorage(
|
251
|
+
ttl_seconds=config.get_option("server.disconnectedSessionTTL")
|
252
|
+
),
|
249
253
|
),
|
250
254
|
)
|
251
255
|
|
@@ -5,7 +5,7 @@ streamlit/cli_util.py,sha256=P7A6R9D8whD9mytXHAfIax18hrxweUk5Ma8Klb99SeY,1420
|
|
5
5
|
streamlit/code_util.py,sha256=I-O6OaaG9BJy17jqw68nqfcinWabpbbFiktKGW5rewc,2395
|
6
6
|
streamlit/color_util.py,sha256=bVA9iO4hT710gJEBSiymjqVQ-piHUiom3B5AE48T_Qc,9354
|
7
7
|
streamlit/column_config.py,sha256=6RYqAsPV838B0DSb7nYPFedKfTxNCzVrc_4BmwMa_c4,1414
|
8
|
-
streamlit/config.py,sha256=
|
8
|
+
streamlit/config.py,sha256=HUykQ37RP1SOfyu7eXKeNxAnLQIK1VhgfIQnfb7_aTk,40262
|
9
9
|
streamlit/config_option.py,sha256=7kfzt-xhJs3awfyIHsyRaTBSxLpz1RioobDl5uXV37g,11469
|
10
10
|
streamlit/config_util.py,sha256=-MGb5eBrsZvNmqywmiBmo27ll1F9OmCDX4toGWglv2c,6015
|
11
11
|
streamlit/constants.py,sha256=KhNjCeooky2bbW7QMX3ijOA5enHIOgj6Xo4TBhtTJNE,798
|
@@ -294,7 +294,7 @@ streamlit/proto/__init__.py,sha256=tM42Nl1HAphMoWU8F7noymVPJLj3dEnqqIitEQCr2XE,6
|
|
294
294
|
streamlit/proto/openmetrics_data_model_pb2.py,sha256=dWlhXENjgvIGCMnAumDVQkLA4TQQzP77G5pncI6oP9I,6424
|
295
295
|
streamlit/proto/openmetrics_data_model_pb2.pyi,sha256=dmABrepaNR5S9kA1UPfQGXqY_ARAUuLmQBqG1Xn_HUY,20319
|
296
296
|
streamlit/runtime/__init__.py,sha256=Xx5OVY9Nv8Z6ndbYtJBm3lgR2pn83omEOlDaSl9V2dE,1523
|
297
|
-
streamlit/runtime/app_session.py,sha256=
|
297
|
+
streamlit/runtime/app_session.py,sha256=xcqQ4lGbKWqC5V8pxFft9ZLVbHpgkQ5RSP6QWdR5IVw,37482
|
298
298
|
streamlit/runtime/connection_factory.py,sha256=20-GrwBjmPz2CnOhWbq3MYHc-Ouyce9EuXBqCHEqsls,12503
|
299
299
|
streamlit/runtime/context.py,sha256=d3pmxQJdVY4RE10mlAVvrzSgokk4Uyr0fWQeAPWT8R4,6595
|
300
300
|
streamlit/runtime/credentials.py,sha256=oMUw4SWHMbk-b4Z7tGWWLQIZBsFF-4xDBjbxzNNJ8x8,11333
|
@@ -348,9 +348,9 @@ streamlit/runtime/state/safe_session_state.py,sha256=WLFFyMtP4F19TWWBarKtSP942Ie
|
|
348
348
|
streamlit/runtime/state/session_state.py,sha256=7cQWvmHdRVvsYhxzwPrr8mFR729NeGT-sfjRglHKE90,27298
|
349
349
|
streamlit/runtime/state/session_state_proxy.py,sha256=IWF43f6UWL4KyxNWF3aTv1sbykNI2hI5UsPF2UIfpdE,5524
|
350
350
|
streamlit/runtime/state/widgets.py,sha256=iiBxA4sdwjLAg_6YCT5T6F2o8jzRMJg5BtFh-tayPN4,6893
|
351
|
-
streamlit/static/asset-manifest.json,sha256=
|
351
|
+
streamlit/static/asset-manifest.json,sha256=HLxX5yu9Ug3Rt2Vfd_paHeMZfP8TInM32WaoRNW2CcQ,14497
|
352
352
|
streamlit/static/favicon.png,sha256=if5cVgw7azxKOvV5FpGixga7JLn23rfnHcy1CdWI1-E,1019
|
353
|
-
streamlit/static/index.html,sha256=
|
353
|
+
streamlit/static/index.html,sha256=Afa0_LEjTVF_J5oRwwkL4dScn1iJVhGiL8PR7IYl2Bw,891
|
354
354
|
streamlit/static/static/css/3156.93909c7e.chunk.css,sha256=6dVarHz_P5ACNrmcAZkXoNnjV5Z6CfnAXpxLBx-i1aw,12093
|
355
355
|
streamlit/static/static/css/5711.c24b25fa.chunk.css,sha256=oOQFf_CH_DqXNsgcLiXOIk4uuluqNRMkobp8p6uc3y4,2666
|
356
356
|
streamlit/static/static/css/7077.81b3d18f.chunk.css,sha256=7WxsSsC_REs_rrfQTODJt34QZfNePqEv_fc-KFLcOz4,33375
|
@@ -421,8 +421,8 @@ streamlit/static/static/js/9464.7e9a3c0a.chunk.js,sha256=63Fg1-eQ1Sx7Hb6rqtQaTOJ
|
|
421
421
|
streamlit/static/static/js/9528.746f7a0e.chunk.js,sha256=KL6FfepG5LOH0P5pH4ieh5-rvx5o4YD77PKVAZIGlPg,1887
|
422
422
|
streamlit/static/static/js/954.bf90fe19.chunk.js,sha256=RYm0RaQAmAi6OndjOlDl0fnFdHd7x3p9mY_dSihBzP0,8373
|
423
423
|
streamlit/static/static/js/9923.7061d124.chunk.js,sha256=WeDEW7AM0VDnIJzQv9UykMvjG0nbYX6BTRyKV-zBlyE,5951
|
424
|
-
streamlit/static/static/js/main.
|
425
|
-
streamlit/static/static/js/main.
|
424
|
+
streamlit/static/static/js/main.7feaefcb.js,sha256=7zw16p-pOes3YqVwzgcMS9bRiky--IPnbjxiMjsXin8,4514809
|
425
|
+
streamlit/static/static/js/main.7feaefcb.js.LICENSE.txt,sha256=zBIKKHKi84ZOA6IoZ3tlc9xb3yukNP-rM98cZVvzteg,4398
|
426
426
|
streamlit/static/static/media/KaTeX_AMS-Regular.73ea273a72f4aca30ca5.woff2,sha256=DN04fJWQoan5eUVgAi27WWVKfYbxh6oMgUla1C06cwg,28076
|
427
427
|
streamlit/static/static/media/KaTeX_AMS-Regular.853be92419a6c3766b9a.ttf,sha256=aFNIQLz90r_7bw6N60hoTdAefwTqKBMmdXevuQbeHRM,63632
|
428
428
|
streamlit/static/static/media/KaTeX_AMS-Regular.d562e886c52f12660a41.woff,sha256=MNqR6EyJP4deJSaJ-uvcWQsocRReitx_mp1NvYzgslE,33516
|
@@ -533,17 +533,17 @@ streamlit/web/cli.py,sha256=2QkmLRRwWiC5yNJlzNofNJJheXa2my-9gehbwiHtc_U,11165
|
|
533
533
|
streamlit/web/server/__init__.py,sha256=w4TFcV0OjM5zx8ej7oThRIyB6gq3kqdt45XBk1zkRWo,1080
|
534
534
|
streamlit/web/server/app_static_file_handler.py,sha256=YnJiu2b28GqhmxjZT8RyyWqH3cpbQMLOObAPRTXLAac,3103
|
535
535
|
streamlit/web/server/browser_websocket_handler.py,sha256=rcOCOfzs1cgkipT-8drKBVdxMsJDwihRccaOea3KYqU,7950
|
536
|
-
streamlit/web/server/component_request_handler.py,sha256=
|
536
|
+
streamlit/web/server/component_request_handler.py,sha256=nHSuvJwHzOk91CHAT4BbUkt88-T2Osdun38Sx3Z-5XU,4415
|
537
537
|
streamlit/web/server/media_file_handler.py,sha256=2KfzPnMN1RstMtI4fs0PD0vFiFrWMyKL0q7LfWJLYZ4,5270
|
538
538
|
streamlit/web/server/routes.py,sha256=QptzrFI6KM7XrAzSRdirhGm7Eos8b2T6PrnUp-Zoa_o,10146
|
539
|
-
streamlit/web/server/server.py,sha256=
|
539
|
+
streamlit/web/server/server.py,sha256=dtFPlQJbjHAwjOrNkIprOdtJgZMCkWK8gMtUvPQ6u9E,15121
|
540
540
|
streamlit/web/server/server_util.py,sha256=C3M971XFoEXTMufQLwHbZdtZOE30nWx-2WiXmvX_6fE,4197
|
541
541
|
streamlit/web/server/stats_request_handler.py,sha256=e144zIhzLTB1PN4CwTCxElCoWMuo9IsBEPex2exHCQ0,3641
|
542
542
|
streamlit/web/server/upload_file_request_handler.py,sha256=ftyKpARrUjOpRcFETIXuoTyOG_mo-ToOw5NI0y_W4lE,5003
|
543
543
|
streamlit/web/server/websocket_headers.py,sha256=uUxypj04ondEC4ocBiYCndX_N06Zwe1Mt690Vupe08Y,2232
|
544
|
-
streamlit_nightly-1.38.1.
|
545
|
-
streamlit_nightly-1.38.1.
|
546
|
-
streamlit_nightly-1.38.1.
|
547
|
-
streamlit_nightly-1.38.1.
|
548
|
-
streamlit_nightly-1.38.1.
|
549
|
-
streamlit_nightly-1.38.1.
|
544
|
+
streamlit_nightly-1.38.1.dev20240905.data/scripts/streamlit.cmd,sha256=ZEYM3vBJSp-k7vwSJ3ba5NzEk9-qHdSeLvGYAAe1mMw,676
|
545
|
+
streamlit_nightly-1.38.1.dev20240905.dist-info/METADATA,sha256=jyOX8-i7b67twP5hVLZlwHSpA5Jtq_QRbeK_vHUzb7A,8512
|
546
|
+
streamlit_nightly-1.38.1.dev20240905.dist-info/WHEEL,sha256=qUzzGenXXuJTzyjFah76kDVqDvnk-YDzY00svnrl84w,109
|
547
|
+
streamlit_nightly-1.38.1.dev20240905.dist-info/entry_points.txt,sha256=uNJ4DwGNXEhOK0USwSNanjkYyR-Bk7eYQbJFDrWyOgY,53
|
548
|
+
streamlit_nightly-1.38.1.dev20240905.dist-info/top_level.txt,sha256=V3FhKbm7G2LnR0s4SytavrjIPNIhvcsAGXfYHAwtQzw,10
|
549
|
+
streamlit_nightly-1.38.1.dev20240905.dist-info/RECORD,,
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|