streamlit-nightly 1.32.3.dev20240326__py2.py3-none-any.whl → 1.32.3.dev20240329__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/__init__.py +6 -3
- streamlit/components/v1/__init__.py +3 -17
- streamlit/components/v1/{custom_component.py → components.py} +159 -11
- streamlit/delta_generator.py +5 -0
- streamlit/elements/html.py +83 -0
- streamlit/elements/widgets/time_widgets.py +5 -21
- streamlit/errors.py +0 -6
- streamlit/proto/AutoRerun_pb2.py +25 -0
- streamlit/proto/AutoRerun_pb2.pyi +48 -0
- streamlit/proto/ClientState_pb2.py +3 -3
- streamlit/proto/ClientState_pb2.pyi +4 -1
- streamlit/proto/Delta_pb2.py +2 -2
- streamlit/proto/Delta_pb2.pyi +4 -1
- streamlit/proto/Element_pb2.py +4 -3
- streamlit/proto/Element_pb2.pyi +9 -4
- streamlit/proto/ForwardMsg_pb2.py +10 -9
- streamlit/proto/ForwardMsg_pb2.pyi +12 -3
- streamlit/proto/Html_pb2.py +26 -0
- streamlit/proto/Html_pb2.pyi +45 -0
- streamlit/proto/NewSession_pb2.py +24 -24
- streamlit/proto/NewSession_pb2.pyi +8 -1
- streamlit/proto/PageProfile_pb2.py +6 -6
- streamlit/proto/PageProfile_pb2.pyi +4 -1
- streamlit/runtime/app_session.py +67 -24
- streamlit/runtime/caching/cache_data_api.py +3 -3
- streamlit/runtime/caching/cache_resource_api.py +2 -2
- streamlit/runtime/fragment.py +239 -0
- streamlit/runtime/metrics_util.py +17 -9
- streamlit/runtime/runtime.py +6 -12
- streamlit/runtime/scriptrunner/script_requests.py +53 -37
- streamlit/runtime/scriptrunner/script_run_context.py +15 -2
- streamlit/runtime/scriptrunner/script_runner.py +63 -14
- streamlit/runtime/state/common.py +2 -0
- streamlit/runtime/state/session_state.py +51 -7
- streamlit/runtime/state/widgets.py +10 -2
- streamlit/static/asset-manifest.json +26 -24
- streamlit/static/index.html +1 -1
- streamlit/static/static/css/2411.8b8f33d6.chunk.css +1 -0
- streamlit/static/static/css/3092.95a45cfe.chunk.css +1 -0
- streamlit/static/static/css/43.e3b876c5.chunk.css +1 -0
- streamlit/static/static/js/1074.73973756.chunk.js +1 -0
- streamlit/static/static/js/1451.3b0a3e31.chunk.js +1 -0
- streamlit/static/static/js/1792.b8efa879.chunk.js +1 -0
- streamlit/static/static/js/2411.a8823789.chunk.js +2 -0
- streamlit/static/static/js/2634.1249dc7a.chunk.js +1 -0
- streamlit/static/static/js/2736.779ccbc1.chunk.js +2 -0
- streamlit/static/static/js/2736.779ccbc1.chunk.js.LICENSE.txt +60 -0
- streamlit/static/static/js/{3092.3d4df25e.chunk.js → 3092.ad569cc8.chunk.js} +1 -1
- streamlit/static/static/js/3513.e3e7300a.chunk.js +1 -0
- streamlit/static/static/js/4132.49bf3f2c.chunk.js.LICENSE.txt +4 -4
- streamlit/static/static/js/4177.69f9f18d.chunk.js +1 -0
- streamlit/static/static/js/4319.a6745434.chunk.js +1 -0
- streamlit/static/static/js/{4477.2555c11a.chunk.js → 4477.e10e4373.chunk.js} +1 -1
- streamlit/static/static/js/{4666.99f3abc3.chunk.js → 4666.b694c5a9.chunk.js} +1 -1
- streamlit/static/static/js/5106.44f0ff51.chunk.js +1 -0
- streamlit/static/static/js/5379.6571574f.chunk.js +1 -0
- streamlit/static/static/js/6013.8e80e091.chunk.js +1 -0
- streamlit/static/static/js/6718.802da17e.chunk.js +1 -0
- streamlit/static/static/js/7175.be4076bc.chunk.js +1 -0
- streamlit/static/static/js/{7602.f0420392.chunk.js → 7602.6175e969.chunk.js} +1 -1
- streamlit/static/static/js/{8492.e6dab83f.chunk.js → 8492.f56c9d4c.chunk.js} +1 -1
- streamlit/static/static/js/8691.9ccf7f89.chunk.js +1 -0
- streamlit/static/static/js/937.a1248039.chunk.js +2 -0
- streamlit/static/static/js/937.a1248039.chunk.js.LICENSE.txt +1 -0
- streamlit/static/static/js/main.356407e8.js +2 -0
- streamlit/testing/v1/local_script_runner.py +2 -0
- streamlit/time_util.py +88 -0
- streamlit/web/server/component_request_handler.py +2 -2
- streamlit/web/server/server.py +2 -1
- {streamlit_nightly-1.32.3.dev20240326.dist-info → streamlit_nightly-1.32.3.dev20240329.dist-info}/METADATA +1 -1
- {streamlit_nightly-1.32.3.dev20240326.dist-info → streamlit_nightly-1.32.3.dev20240329.dist-info}/RECORD +77 -73
- streamlit/components/lib/__init__.py +0 -13
- streamlit/components/lib/local_component_registry.py +0 -82
- streamlit/components/types/__init__.py +0 -13
- streamlit/components/types/base_component_registry.py +0 -98
- streamlit/components/types/base_custom_component.py +0 -137
- streamlit/components/v1/component_registry.py +0 -103
- streamlit/static/static/css/2411.81b3d18f.chunk.css +0 -1
- streamlit/static/static/css/3092.f719e2e6.chunk.css +0 -1
- streamlit/static/static/css/43.c24b25fa.chunk.css +0 -1
- streamlit/static/static/js/1074.71719df6.chunk.js +0 -1
- streamlit/static/static/js/1451.e3be1711.chunk.js +0 -1
- streamlit/static/static/js/1792.16c16498.chunk.js +0 -1
- streamlit/static/static/js/2411.b389bf4e.chunk.js +0 -2
- streamlit/static/static/js/2736.17fbad1a.chunk.js +0 -2
- streamlit/static/static/js/2736.17fbad1a.chunk.js.LICENSE.txt +0 -60
- streamlit/static/static/js/3513.57cff89c.chunk.js +0 -1
- streamlit/static/static/js/4177.ab9a7aa1.chunk.js +0 -1
- streamlit/static/static/js/4319.213fc321.chunk.js +0 -1
- streamlit/static/static/js/5106.22187bfc.chunk.js +0 -1
- streamlit/static/static/js/5379.e466522d.chunk.js +0 -1
- streamlit/static/static/js/6013.75c92264.chunk.js +0 -1
- streamlit/static/static/js/6718.97945fc6.chunk.js +0 -1
- streamlit/static/static/js/7175.8c1b4d38.chunk.js +0 -1
- streamlit/static/static/js/8691.24a5792f.chunk.js +0 -1
- streamlit/static/static/js/main.7fde7092.js +0 -2
- /streamlit/static/static/js/{2411.b389bf4e.chunk.js.LICENSE.txt → 2411.a8823789.chunk.js.LICENSE.txt} +0 -0
- /streamlit/static/static/js/{main.7fde7092.js.LICENSE.txt → main.356407e8.js.LICENSE.txt} +0 -0
- {streamlit_nightly-1.32.3.dev20240326.data → streamlit_nightly-1.32.3.dev20240329.data}/scripts/streamlit.cmd +0 -0
- {streamlit_nightly-1.32.3.dev20240326.dist-info → streamlit_nightly-1.32.3.dev20240329.dist-info}/WHEEL +0 -0
- {streamlit_nightly-1.32.3.dev20240326.dist-info → streamlit_nightly-1.32.3.dev20240329.dist-info}/entry_points.txt +0 -0
- {streamlit_nightly-1.32.3.dev20240326.dist-info → streamlit_nightly-1.32.3.dev20240329.dist-info}/top_level.txt +0 -0
@@ -23,6 +23,7 @@ from streamlit import runtime
|
|
23
23
|
from streamlit.proto.ForwardMsg_pb2 import ForwardMsg
|
24
24
|
from streamlit.proto.WidgetStates_pb2 import WidgetStates
|
25
25
|
from streamlit.runtime.forward_msg_queue import ForwardMsgQueue
|
26
|
+
from streamlit.runtime.fragment import MemoryFragmentStorage
|
26
27
|
from streamlit.runtime.memory_uploaded_file_manager import MemoryUploadedFileManager
|
27
28
|
from streamlit.runtime.scriptrunner import RerunData, ScriptRunner, ScriptRunnerEvent
|
28
29
|
from streamlit.runtime.scriptrunner.script_cache import ScriptCache
|
@@ -59,6 +60,7 @@ class LocalScriptRunner(ScriptRunner):
|
|
59
60
|
script_cache=ScriptCache(),
|
60
61
|
initial_rerun_data=RerunData(),
|
61
62
|
user_info={"email": "test@test.com"},
|
63
|
+
fragment_storage=MemoryFragmentStorage(),
|
62
64
|
)
|
63
65
|
|
64
66
|
# Accumulates all ScriptRunnerEvents emitted by us.
|
streamlit/time_util.py
ADDED
@@ -0,0 +1,88 @@
|
|
1
|
+
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2024)
|
2
|
+
#
|
3
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
+
# you may not use this file except in compliance with the License.
|
5
|
+
# You may obtain a copy of the License at
|
6
|
+
#
|
7
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
+
#
|
9
|
+
# Unless required by applicable law or agreed to in writing, software
|
10
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
+
# See the License for the specific language governing permissions and
|
13
|
+
# limitations under the License.
|
14
|
+
|
15
|
+
from __future__ import annotations
|
16
|
+
|
17
|
+
import math
|
18
|
+
from datetime import date, timedelta
|
19
|
+
from typing import Literal, overload
|
20
|
+
|
21
|
+
from streamlit.errors import MarkdownFormattedException, StreamlitAPIException
|
22
|
+
|
23
|
+
|
24
|
+
def adjust_years(input_date: date, years: int) -> date:
|
25
|
+
"""Add or subtract years from a date."""
|
26
|
+
try:
|
27
|
+
# Attempt to directly add/subtract years
|
28
|
+
return input_date.replace(year=input_date.year + years)
|
29
|
+
except ValueError as err:
|
30
|
+
# Handle case for leap year date (February 29) that doesn't exist in the target year
|
31
|
+
# by moving the date to February 28
|
32
|
+
if input_date.month == 2 and input_date.day == 29:
|
33
|
+
return input_date.replace(year=input_date.year + years, month=2, day=28)
|
34
|
+
|
35
|
+
raise StreamlitAPIException(
|
36
|
+
f"Date {input_date} does not exist in the target year {input_date.year + years}. "
|
37
|
+
"This should never happen. Please report this bug."
|
38
|
+
) from err
|
39
|
+
|
40
|
+
|
41
|
+
class BadTimeStringError(StreamlitAPIException):
|
42
|
+
"""Raised when a bad time string argument is passed."""
|
43
|
+
|
44
|
+
def __init__(self, t: str):
|
45
|
+
MarkdownFormattedException.__init__(
|
46
|
+
self,
|
47
|
+
"Time string doesn't look right. It should be formatted as"
|
48
|
+
f"`'1d2h34m'` or `2 days`, for example. Got: {t}",
|
49
|
+
)
|
50
|
+
|
51
|
+
|
52
|
+
@overload
|
53
|
+
def time_to_seconds(
|
54
|
+
t: float | timedelta | str | None, *, coerce_none_to_inf: Literal[False]
|
55
|
+
) -> float | None:
|
56
|
+
...
|
57
|
+
|
58
|
+
|
59
|
+
@overload
|
60
|
+
def time_to_seconds(t: float | timedelta | str | None) -> float:
|
61
|
+
...
|
62
|
+
|
63
|
+
|
64
|
+
def time_to_seconds(
|
65
|
+
t: float | timedelta | str | None, *, coerce_none_to_inf: bool = True
|
66
|
+
) -> float | None:
|
67
|
+
"""
|
68
|
+
Convert a time string value to a float representing "number of seconds".
|
69
|
+
"""
|
70
|
+
if coerce_none_to_inf and t is None:
|
71
|
+
return math.inf
|
72
|
+
if isinstance(t, timedelta):
|
73
|
+
return t.total_seconds()
|
74
|
+
if isinstance(t, str):
|
75
|
+
import numpy as np
|
76
|
+
import pandas as pd
|
77
|
+
|
78
|
+
try:
|
79
|
+
seconds: float = pd.Timedelta(t).total_seconds()
|
80
|
+
|
81
|
+
if np.isnan(seconds):
|
82
|
+
raise BadTimeStringError(t)
|
83
|
+
|
84
|
+
return seconds
|
85
|
+
except ValueError as ex:
|
86
|
+
raise BadTimeStringError(t) from ex
|
87
|
+
|
88
|
+
return t
|
@@ -21,14 +21,14 @@ from typing import Final
|
|
21
21
|
import tornado.web
|
22
22
|
|
23
23
|
import streamlit.web.server.routes
|
24
|
-
from streamlit.components.
|
24
|
+
from streamlit.components.v1.components import ComponentRegistry
|
25
25
|
from streamlit.logger import get_logger
|
26
26
|
|
27
27
|
_LOGGER: Final = get_logger(__name__)
|
28
28
|
|
29
29
|
|
30
30
|
class ComponentRequestHandler(tornado.web.RequestHandler):
|
31
|
-
def initialize(self, registry:
|
31
|
+
def initialize(self, registry: ComponentRegistry):
|
32
32
|
self._registry = registry
|
33
33
|
|
34
34
|
def get(self, path: str) -> None:
|
streamlit/web/server/server.py
CHANGED
@@ -29,6 +29,7 @@ import tornado.websocket
|
|
29
29
|
from tornado.httpserver import HTTPServer
|
30
30
|
|
31
31
|
from streamlit import cli_util, config, file_util, source_util, util
|
32
|
+
from streamlit.components.v1.components import ComponentRegistry
|
32
33
|
from streamlit.config_option import ConfigOption
|
33
34
|
from streamlit.logger import get_logger
|
34
35
|
from streamlit.runtime import Runtime, RuntimeConfig, RuntimeState
|
@@ -326,7 +327,7 @@ class Server:
|
|
326
327
|
(
|
327
328
|
make_url_path_regex(base, "component/(.*)"),
|
328
329
|
ComponentRequestHandler,
|
329
|
-
dict(registry=
|
330
|
+
dict(registry=ComponentRegistry.instance()),
|
330
331
|
),
|
331
332
|
]
|
332
333
|
|
@@ -1,4 +1,4 @@
|
|
1
|
-
streamlit/__init__.py,sha256=
|
1
|
+
streamlit/__init__.py,sha256=IAJkC33tO8nPLyVjIj4YlClMwmU0mnt5urZvPDR6S1M,7955
|
2
2
|
streamlit/__main__.py,sha256=8vHowjccJfFMwrA22IEe3ynE9F670mkspbo9rYdM0ks,868
|
3
3
|
streamlit/case_converters.py,sha256=PS5S4rFnx1eeKH1-nUNqQ_c1qeoeEIn-1XQPrsG_doU,2468
|
4
4
|
streamlit/cli_util.py,sha256=4W2N-4lP4h9xMoAyHM7bNIQs43VwrNnuUGLGbQaEw2Q,1407
|
@@ -10,14 +10,14 @@ streamlit/config_option.py,sha256=7kfzt-xhJs3awfyIHsyRaTBSxLpz1RioobDl5uXV37g,11
|
|
10
10
|
streamlit/config_util.py,sha256=-MGb5eBrsZvNmqywmiBmo27ll1F9OmCDX4toGWglv2c,6015
|
11
11
|
streamlit/constants.py,sha256=KhNjCeooky2bbW7QMX3ijOA5enHIOgj6Xo4TBhtTJNE,798
|
12
12
|
streamlit/cursor.py,sha256=LUDB6o7xyGb1it_8rl5QU_N3MRhFCdtnd9tuTx78abU,6001
|
13
|
-
streamlit/delta_generator.py,sha256=
|
13
|
+
streamlit/delta_generator.py,sha256=3syzEaqclJMVF-QMu9pzgHCx53F-uSygK_HM2Mybvyg,32387
|
14
14
|
streamlit/deprecation_util.py,sha256=3JxWWS424v1kQ-qOq-9sQNYPQ8_UERH3QpYtkWxLP74,6516
|
15
15
|
streamlit/development.py,sha256=iO-KQc62Do9uSwoa5vV2tfImqz3QPhJ1Md6DETcnHkc,813
|
16
16
|
streamlit/echo.py,sha256=s0tT_IXxh7BLHOapRS8syE5Tnm4Djm3-oKO0J0MY1wI,4077
|
17
17
|
streamlit/emojis.py,sha256=NlcPqVtDyUQmq9eLJVncvPtDQz3L1vYy3vz_vd_f1h0,73749
|
18
18
|
streamlit/env_util.py,sha256=fqea8xmj4ifsuqmLv3Pvlq4t5y6WVTBua4qRpVTbs5Y,1791
|
19
19
|
streamlit/error_util.py,sha256=Xx19JaBKF-MKHleuPY6TX3Xo_1fSd3ZqZuhvSz-B3LM,3598
|
20
|
-
streamlit/errors.py,sha256=
|
20
|
+
streamlit/errors.py,sha256=RwZ0Dav6aFe2o2RqOWgaBY0rIPLrDepNrOwxk-A7j8Q,3906
|
21
21
|
streamlit/file_util.py,sha256=jwAlXtGNEwy335Ct9l14YHqxMuCWGSwgePesj7vNyLg,7216
|
22
22
|
streamlit/folder_black_list.py,sha256=Ji9UZ4PtrilLxmvb8W57SIEK7AkeLGEqqtqr4y2oscI,2342
|
23
23
|
streamlit/git_util.py,sha256=3zfjPGu8QrqYk3gPONW4Y0pRNPXUfxCo-mErM4tFJcQ,5271
|
@@ -29,6 +29,7 @@ streamlit/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
29
29
|
streamlit/source_util.py,sha256=21c98etHrDfg_MyLMohG7ByrEC52THuUP-E7pkCcmiE,5749
|
30
30
|
streamlit/string_util.py,sha256=qq_o0K7Raizzsebu_KgfBSm3TiovIlKpdowdpmGB_Kk,4808
|
31
31
|
streamlit/temporary_directory.py,sha256=eBv5q0CR9GApa-itZBaGtqQKMl248H0HojEVKzkS9cc,1627
|
32
|
+
streamlit/time_util.py,sha256=IoZTYEqz1qX_vzieLeuyjHhF5fpDmqc49DYFK4Gsy4w,2844
|
32
33
|
streamlit/type_util.py,sha256=LBUBmk3XUEc0RxL3cVnLQl1a7DlrEWYFIGiB0YjduZU,44478
|
33
34
|
streamlit/url_util.py,sha256=iU1lpZhzW4ZjhjBhSdw39OzixnThIsxhXpDP-ZIgUT8,3019
|
34
35
|
streamlit/user_info.py,sha256=dqNEEanUVJDLhn4cTmeFG1iUfSQFDWuMQjjQHmDtE6I,3472
|
@@ -39,15 +40,9 @@ streamlit/commands/execution_control.py,sha256=YBaX8ikORIJEmlvWKNqTDhDnhz_PPxqAG
|
|
39
40
|
streamlit/commands/experimental_query_params.py,sha256=hMWuWJPIlebWhlEZbrwPSLtAfSx3gSke8_nU39-EKIc,5042
|
40
41
|
streamlit/commands/page_config.py,sha256=GRgze1GRAfTLf7eR1GWdXtibNDnCjO_RdNT24rfZ9CI,11784
|
41
42
|
streamlit/components/__init__.py,sha256=Vrf1yVMOcTyhUPnYvsfyeL96Vpd5z8KoSV5ZzTcTQgU,616
|
42
|
-
streamlit/components/
|
43
|
-
streamlit/components/lib/local_component_registry.py,sha256=qEfGGHH5gFneZBt_oeHuA1T9DFVXRiNwNqJGdCGuzIo,2978
|
44
|
-
streamlit/components/types/__init__.py,sha256=Vrf1yVMOcTyhUPnYvsfyeL96Vpd5z8KoSV5ZzTcTQgU,616
|
45
|
-
streamlit/components/types/base_component_registry.py,sha256=EWcLpYUAU25VaGsKxC6gNzxhr_0PvfIznWok8s00mnI,3100
|
46
|
-
streamlit/components/types/base_custom_component.py,sha256=eQP-N7e0a4RR-Q6zQK19MYig2nEnTQ-SvCT8Ppo31zI,3829
|
47
|
-
streamlit/components/v1/__init__.py,sha256=nwp5KGubP6w-c_qywHvvabWVxh9S__RqQbuIAjD_VZQ,1781
|
43
|
+
streamlit/components/v1/__init__.py,sha256=A0RvuG3JMOfOOFzsmOosfx1UN5NXCoHNWJoKg05kB3k,943
|
48
44
|
streamlit/components/v1/component_arrow.py,sha256=BvqxXmK3tx6zv3Ah0YzVYRNpwJBfh42Yh73VlK-q1PE,4125
|
49
|
-
streamlit/components/v1/
|
50
|
-
streamlit/components/v1/custom_component.py,sha256=Kp584VKN2XCcK5EuuxILGmc9W4H1vOnA5dCuZpWNt78,9073
|
45
|
+
streamlit/components/v1/components.py,sha256=SSmZQe4kiep3Q32AYuf1PDWjvgSujR1kf87wSxSRKFQ,13740
|
51
46
|
streamlit/connections/__init__.py,sha256=WSOEtrwhiNYti89iCk3O7I83rurZl8gXoM8tA2d_E-U,1083
|
52
47
|
streamlit/connections/base_connection.py,sha256=8rzoGovDem0o3FzJTikP0IRdL7i3lBqHhyESBnER9no,7465
|
53
48
|
streamlit/connections/snowflake_connection.py,sha256=z8yUWzHnoDOriydUc6KbDQStI5emvmqkEUtGf0c-AFc,12517
|
@@ -70,6 +65,7 @@ streamlit/elements/exception.py,sha256=E9D_GugKrV1qNsrBlycLTT7aFmazzWYfBlOsRYBq9
|
|
70
65
|
streamlit/elements/form.py,sha256=KOEoHZXKlzl0Jsgu-talGfFS1eI-P14nDEV0xtdQpek,11970
|
71
66
|
streamlit/elements/graphviz_chart.py,sha256=4MSPLdVoaWXm6-frpGwgtwjpVjxN2LuPMFiUgh3eAg8,4557
|
72
67
|
streamlit/elements/heading.py,sha256=lf49oaqnoJAy5wPxtvoQ_R6olmGSQy9PVJX0PXufgac,10617
|
68
|
+
streamlit/elements/html.py,sha256=6DToSXdMm6QLcQTavpHwZdPEBbxVo3Q8jJZU3db9y90,2599
|
73
69
|
streamlit/elements/iframe.py,sha256=xY34YwgC_kTwRaEw1bvOJj0iQLvnpo8wGvUPSSkpmug,4383
|
74
70
|
streamlit/elements/image.py,sha256=Yce2UrPp2kNvflYiefk25vzOnahLkGtkcBFBNOz7vE8,20086
|
75
71
|
streamlit/elements/json.py,sha256=d1PHLaHDsrgQEv__KspWvwIvcufru_v5L871qEPStWM,3365
|
@@ -110,7 +106,7 @@ streamlit/elements/widgets/select_slider.py,sha256=vvdxgydswWQXvi4IS3v9nJquFVcX7
|
|
110
106
|
streamlit/elements/widgets/selectbox.py,sha256=TqXLNCPcL5FnCQSUSf7XjSGeOHuj7sUtAoE6ATsCiPc,11191
|
111
107
|
streamlit/elements/widgets/slider.py,sha256=fOUgyO4QFCHEXlWKkYKxBybWUo2XvYHuJuIO5qORHDA,25992
|
112
108
|
streamlit/elements/widgets/text_widgets.py,sha256=Q9LY60CxW7x1y9dQl0ghw7jXnOHtyoGRwyzVWhivkco,21439
|
113
|
-
streamlit/elements/widgets/time_widgets.py,sha256=
|
109
|
+
streamlit/elements/widgets/time_widgets.py,sha256=99lNecnxpPdtoyKIAPuRiW5WhAxB8aNq17BSBD9dBLI,29079
|
114
110
|
streamlit/external/__init__.py,sha256=Vrf1yVMOcTyhUPnYvsfyeL96Vpd5z8KoSV5ZzTcTQgU,616
|
115
111
|
streamlit/external/langchain/__init__.py,sha256=sAzaNf4Cje3cJikPBVvF7pj1sEdEvUfKIEY_Z6Zk8cA,814
|
116
112
|
streamlit/external/langchain/streamlit_callback_handler.py,sha256=kKrusABDJ__KaA_mPnTxumSSYKQjYExaQsoMlELZZGI,15280
|
@@ -133,6 +129,8 @@ streamlit/proto/Arrow_pb2.py,sha256=KMS20MZK6Ezdlad5s5mJwpTDbrFTILEHBBFvxJekoPo,
|
|
133
129
|
streamlit/proto/Arrow_pb2.pyi,sha256=IgQYhinD7wbR8kHoSVfxZtREn_yB2BIXM_VSzMfBeXI,5904
|
134
130
|
streamlit/proto/Audio_pb2.py,sha256=kUnzh-foTxOHuz6Hohu7owZVK8TcHJxhtdZJgqps2xA,1312
|
135
131
|
streamlit/proto/Audio_pb2.pyi,sha256=h_X2F_DwZM58VdL1SsS1n_ED3kvjERo8LrSsXk08nS4,1940
|
132
|
+
streamlit/proto/AutoRerun_pb2.py,sha256=f7AR5I8RZNbZ1uP2uerS1YPx_UyD3Hq0KC8SRAQYolc,1032
|
133
|
+
streamlit/proto/AutoRerun_pb2.pyi,sha256=I71zqhrkhVmN94YvB-i3Grcn3tboz2fpiubdU2H623s,1560
|
136
134
|
streamlit/proto/BackMsg_pb2.py,sha256=TE9JUia6hXI02zm2BhKeydcgkpTM7z2-f6eE4P1CIHM,2090
|
137
135
|
streamlit/proto/BackMsg_pb2.pyi,sha256=5Qp4wUzkmEZskvcNOXbHU2TudiH7gvp_CbuTY1QysNw,5251
|
138
136
|
streamlit/proto/Balloons_pb2.py,sha256=YKSjPhDRPc7M3KyzBpXHAdVWTU2Fb7ub8qD84j68XnU,1175
|
@@ -149,8 +147,8 @@ streamlit/proto/ChatInput_pb2.py,sha256=EqsTIwYojyS6iVSoLHVbsBUdyc9BpgO_0u-GC7-P
|
|
149
147
|
streamlit/proto/ChatInput_pb2.pyi,sha256=jCjfe8wlkia_6Ws3o7-go_44HYs9YpptuUw-Qhv-okI,2927
|
150
148
|
streamlit/proto/Checkbox_pb2.py,sha256=tC0e-ShTt8vxVXaX0ZWw00QS528aDWU0KNcbHTDEcHc,1870
|
151
149
|
streamlit/proto/Checkbox_pb2.pyi,sha256=IcHtY7r4EvjLHejfoc0k-XBG4jjcGeLu1e5I8xkDfpc,3504
|
152
|
-
streamlit/proto/ClientState_pb2.py,sha256=
|
153
|
-
streamlit/proto/ClientState_pb2.pyi,sha256=
|
150
|
+
streamlit/proto/ClientState_pb2.py,sha256=PdxQneQ8gwberIhLV7uA1yyGi4pUIkbH-cnuara8_0Y,1485
|
151
|
+
streamlit/proto/ClientState_pb2.pyi,sha256=S49W3kOKoF_JmNRoGULsUq3XJclgu-5klrl1g0kM6ME,2226
|
154
152
|
streamlit/proto/Code_pb2.py,sha256=zi3iTypTZiDuA332Kr7Vx802y3mzqE_1gvw4_HHmbCU,1187
|
155
153
|
streamlit/proto/Code_pb2.pyi,sha256=R1Y-GRr7MgZWxZx8yRD25YV_Yo_sKkSjNg8P6FFJHr4,1678
|
156
154
|
streamlit/proto/ColorPicker_pb2.py,sha256=wwkDk-sCLuWANT0G_GNR3WCImqet5OYUl5Brioj_p50,1664
|
@@ -165,14 +163,14 @@ streamlit/proto/DateInput_pb2.py,sha256=GNrk4tY0vzyILnZ_hSj8bVaqnf_gX_GKEZubuoLE
|
|
165
163
|
streamlit/proto/DateInput_pb2.pyi,sha256=V0JFW-4PfDfOYvHDqOu5zaXm6E8eL1dAxDI2aCICPiA,3438
|
166
164
|
streamlit/proto/DeckGlJsonChart_pb2.py,sha256=3rHBaueekFvuA4Y3b-Lf9WO4rHSRIucGKcQBHQ69rH4,1358
|
167
165
|
streamlit/proto/DeckGlJsonChart_pb2.pyi,sha256=uy-ehm2q8LoJcioMyjQnQ4Y_82cU8TrNfsQZ0qKc7F8,2281
|
168
|
-
streamlit/proto/Delta_pb2.py,sha256=
|
169
|
-
streamlit/proto/Delta_pb2.pyi,sha256=
|
166
|
+
streamlit/proto/Delta_pb2.py,sha256=AFfKzSb7BMM3J-qLctgL7fSdVbeo3YaWWeZIQEmXjyY,1910
|
167
|
+
streamlit/proto/Delta_pb2.pyi,sha256=R144YnVr6BHDlfilrWG9HvZPTwivZAOub-95dhZIK64,3313
|
170
168
|
streamlit/proto/DocString_pb2.py,sha256=-0a9fCwaM7chsdF1695Qjry9mzkoVnt7WTCR0EvfmKA,1609
|
171
169
|
streamlit/proto/DocString_pb2.pyi,sha256=qcZSQ6tbofftddmpdcyonvOFTO0H8Fp3nwGBrzLOFk4,3514
|
172
170
|
streamlit/proto/DownloadButton_pb2.py,sha256=0PDpLED9gzqfDihi2B74HZMz1fC6dOlwsqf1x3Cs3Gk,1498
|
173
171
|
streamlit/proto/DownloadButton_pb2.pyi,sha256=8dI2bmPN0ZiJSNiBivh3mQeJf2Xmn0ujP_NEZrcRhmI,2328
|
174
|
-
streamlit/proto/Element_pb2.py,sha256=
|
175
|
-
streamlit/proto/Element_pb2.pyi,sha256=
|
172
|
+
streamlit/proto/Element_pb2.py,sha256=TVprYp1O-ew4syrhFJDY91NsNcrOyQBfnu9aWQWUzh8,10146
|
173
|
+
streamlit/proto/Element_pb2.pyi,sha256=ROJAZriO81Xbcs57uzbuoc2wOTHy6cE-5jNbnGUL1_0,16997
|
176
174
|
streamlit/proto/Empty_pb2.py,sha256=V3AP0cAnbCEDxuR2AExt_d-uWr2kcQZt1MiInX6KR54,1070
|
177
175
|
streamlit/proto/Empty_pb2.pyi,sha256=leVLA-YYBHaJqDNaL2xs9zMiM___yxx6E-KV0dWC6uI,996
|
178
176
|
streamlit/proto/Exception_pb2.py,sha256=uXK5eLtffMiiLKyi1_gaVSBXdjUhQPIXVaFr31QWXy8,1308
|
@@ -181,14 +179,16 @@ streamlit/proto/Favicon_pb2.py,sha256=JyE3MQLWfEVUYGaX-lwYD3qhs0FwP7P2pzL7P6nj4n
|
|
181
179
|
streamlit/proto/Favicon_pb2.pyi,sha256=_952Zj25kkWqJL8aIHw44bdqG3tBN87UKLtscOgBXCk,1301
|
182
180
|
streamlit/proto/FileUploader_pb2.py,sha256=ipG_ypmjSaUlV1JLUYQ03PQssTDQuwwYMUo0bbYRZAA,1707
|
183
181
|
streamlit/proto/FileUploader_pb2.pyi,sha256=6wboZSzqeuoPnj5jTHEeD08gHlrTF3QoAS0nG0riHkI,3209
|
184
|
-
streamlit/proto/ForwardMsg_pb2.py,sha256=
|
185
|
-
streamlit/proto/ForwardMsg_pb2.pyi,sha256=
|
182
|
+
streamlit/proto/ForwardMsg_pb2.py,sha256=SRP65wOvh6Z4O-PdM7x2OD8o1E7SfjowFm1X-JizCp8,4770
|
183
|
+
streamlit/proto/ForwardMsg_pb2.pyi,sha256=FzXZYuHIe6r4cNmUmbpqzEU2pQf704ABBD6mGaPCynk,12046
|
186
184
|
streamlit/proto/GitInfo_pb2.py,sha256=jEhSlkF9hPvafOK0a9VlOqMCm2VeyEt1YUJ2E-cvusE,1574
|
187
185
|
streamlit/proto/GitInfo_pb2.pyi,sha256=vDelpGEYEAAHXbcFFeWe30BKBNvmB8xFFByq-lzoSxk,3269
|
188
186
|
streamlit/proto/GraphVizChart_pb2.py,sha256=PBRdJqkEyp9Ol2RJwB255Xdsw1pXZGE_dOfYeuSlkVw,1338
|
189
187
|
streamlit/proto/GraphVizChart_pb2.pyi,sha256=InhPSsU8b5_Oce1dDiQk7dFf6_8w5X0ONyv6-NxHZZw,2015
|
190
188
|
streamlit/proto/Heading_pb2.py,sha256=HwoYtdYUhtO2CFHP8ad5_9rukXs2424qguI3FEgE1Ek,1311
|
191
189
|
streamlit/proto/Heading_pb2.pyi,sha256=AhCmJVtc_MxK-UdXVOnfLvnAPw0EF0Y5FJvT2i9TvlY,1944
|
190
|
+
streamlit/proto/Html_pb2.py,sha256=jakJ7iEfvJmP2UJLefQ9k-yOZue4RLbkphQTCOe7WBM,1096
|
191
|
+
streamlit/proto/Html_pb2.pyi,sha256=pJ_67M8FQSJE9sHyqvbm3yHVn29B8VnMJpWijmmtTQQ,1316
|
192
192
|
streamlit/proto/IFrame_pb2.py,sha256=hRffKrSGQwrYiQRd1Aybkg0mZA0-EPiHQs56K_h7F4M,1323
|
193
193
|
streamlit/proto/IFrame_pb2.pyi,sha256=76GSAVWozCU5Y-4QXHl2U0WvFPCPhOum3qcoWj9mAAE,2275
|
194
194
|
streamlit/proto/Image_pb2.py,sha256=SiZN6ZwKiLlz1qOVwsxnKCmZfxK2tpH2neJ-oyusmDc,1383
|
@@ -207,8 +207,8 @@ streamlit/proto/MultiSelect_pb2.py,sha256=HdYv5XM-AwEQak_S4VCutNUp9hTWMHKIuP6nXg
|
|
207
207
|
streamlit/proto/MultiSelect_pb2.pyi,sha256=0IOWKooO2JC1C-n8BTYuekDyqae1NTXxu6ERB4Qo-C0,3542
|
208
208
|
streamlit/proto/NamedDataSet_pb2.py,sha256=LAx8J9PsxG7Qg9U7M7e3jqz-OzfNmvRC-uu5jiGaHew,1378
|
209
209
|
streamlit/proto/NamedDataSet_pb2.pyi,sha256=A22anWBtsbmnTOTXISh8Ym-MjFzQLPZVxCWZs_hy6D0,2123
|
210
|
-
streamlit/proto/NewSession_pb2.py,sha256=
|
211
|
-
streamlit/proto/NewSession_pb2.pyi,sha256=
|
210
|
+
streamlit/proto/NewSession_pb2.py,sha256=h7SmfPt8wiLOCXibakGN4dTs3n43e7aTkK2WfWH9kvg,5205
|
211
|
+
streamlit/proto/NewSession_pb2.pyi,sha256=ROYwnQTCZ_G4UFpdmT5QNOqtLWc_r0UnaEtgVNCfhC0,18437
|
212
212
|
streamlit/proto/NumberInput_pb2.py,sha256=FbZBGbEcZMdgnxQ2v0H0Dr7I_xQVRtL_e9Vz2kCojfY,2359
|
213
213
|
streamlit/proto/NumberInput_pb2.pyi,sha256=jbIpxEPSNlN9LZmDcmU7CUDdHz26Ljn2cXpNJIAfQQk,5182
|
214
214
|
streamlit/proto/PageConfig_pb2.py,sha256=R7vneJMgMo-66k65cBtnyJJwU7ObSdVA6y5e3KvuKxA,2117
|
@@ -219,8 +219,8 @@ streamlit/proto/PageLink_pb2.py,sha256=5mW8sdSY8LfQqlS3TB9Vupym8LjYEx5RZD6yskxRS
|
|
219
219
|
streamlit/proto/PageLink_pb2.pyi,sha256=IpWHZ1VNohOOcEUeKJ-mKjq4ubM8fINIdrmEk8vgrbs,2679
|
220
220
|
streamlit/proto/PageNotFound_pb2.py,sha256=b-xSBiQseBcuPJO1EDmbkfJwY584Z1VAHluIh9Y-JrQ,1159
|
221
221
|
streamlit/proto/PageNotFound_pb2.pyi,sha256=53E1hi4L2-iZSC0J-WnUNG59pnO5FO_3u40q3LIFuS4,1429
|
222
|
-
streamlit/proto/PageProfile_pb2.py,sha256=
|
223
|
-
streamlit/proto/PageProfile_pb2.pyi,sha256=
|
222
|
+
streamlit/proto/PageProfile_pb2.py,sha256=h_bt2EOrPALLqvMmmPUUrjiaclY16jlNx84f9Hrp1-0,1958
|
223
|
+
streamlit/proto/PageProfile_pb2.pyi,sha256=UW7KxMW2Fd4G0WUYjluJZrhmw4XURupbQXiUSG3h2AM,4825
|
224
224
|
streamlit/proto/PagesChanged_pb2.py,sha256=-S8uw9j_W3dg-TVM2pXU9angUwEubGnCuxozL0V3qe0,1295
|
225
225
|
streamlit/proto/PagesChanged_pb2.pyi,sha256=CiFcgeVCEteaYuQc4QzVulGCFvJg41Ah-SF6AzxhWE8,1704
|
226
226
|
streamlit/proto/ParentMessage_pb2.py,sha256=L0eDqBp7mH7OsMFGR5J3UlPp7Or2ba0LqvImJdo_fhQ,1164
|
@@ -267,18 +267,19 @@ streamlit/proto/__init__.py,sha256=tM42Nl1HAphMoWU8F7noymVPJLj3dEnqqIitEQCr2XE,6
|
|
267
267
|
streamlit/proto/openmetrics_data_model_pb2.py,sha256=cPFvjlswUH9I5Ktoof8XZGlm5v_CHDzq65ZUQKwFEZ0,5938
|
268
268
|
streamlit/proto/openmetrics_data_model_pb2.pyi,sha256=cDrO3xOwEF6iy1BZa-PHqmVKTcv6EXaUkiMHOkYM2-I,20476
|
269
269
|
streamlit/runtime/__init__.py,sha256=Xx5OVY9Nv8Z6ndbYtJBm3lgR2pn83omEOlDaSl9V2dE,1523
|
270
|
-
streamlit/runtime/app_session.py,sha256=
|
270
|
+
streamlit/runtime/app_session.py,sha256=9HAlhLfE_74aV1tl1QWiPwbkT4inlUmMNJWURszFRKE,36802
|
271
271
|
streamlit/runtime/connection_factory.py,sha256=7ImsODVThE6coSyYmyLGREutcULiZuyR9aw7Py-xGhE,12414
|
272
272
|
streamlit/runtime/credentials.py,sha256=U02X0aRktpvDrU4_RDpWuJjXK2m_UX9t6SIWC4aNH70,11500
|
273
273
|
streamlit/runtime/forward_msg_cache.py,sha256=YjoFV9BsvskZywI67AsyNSHfk-bAY2SjruG7Ks4hKi8,9805
|
274
274
|
streamlit/runtime/forward_msg_queue.py,sha256=gz7_XnoMVJrKLgghbGcmtihi5SM0qVo_qcOQZBj2ZAA,5550
|
275
|
+
streamlit/runtime/fragment.py,sha256=r4XjqUrQne99JOYy2UBZJoLQZ4AgxDB0XyR7ODbAgpM,8251
|
275
276
|
streamlit/runtime/media_file_manager.py,sha256=z6qcjWk1YiNbvRj3r9vSFZuoDzRscVr9CpNmTJs2Mgc,8510
|
276
277
|
streamlit/runtime/media_file_storage.py,sha256=hQkMC__XRjshEUD73QCSrX3vrfOOO0U7Vf1Uc6qiP90,4375
|
277
278
|
streamlit/runtime/memory_media_file_storage.py,sha256=voiscKQAwKdhIExlsnCaZDRKrKso2yU7KlA92Cgqu2M,6331
|
278
279
|
streamlit/runtime/memory_session_storage.py,sha256=Tx-_3oUg6i9UokpBUIWvqhpWE0WmjtX764KdOzNvDMs,2940
|
279
280
|
streamlit/runtime/memory_uploaded_file_manager.py,sha256=rCLvdZv2nPlWeCiHnwV8phcVV43mUCgW7BaWkmEXgpM,4422
|
280
|
-
streamlit/runtime/metrics_util.py,sha256=
|
281
|
-
streamlit/runtime/runtime.py,sha256=
|
281
|
+
streamlit/runtime/metrics_util.py,sha256=d1UkSsTK6pOdPS8RSzHM8uHGcmjInTopAhPpMaj4igQ,14265
|
282
|
+
streamlit/runtime/runtime.py,sha256=TUlFAC5vGfY8PfJ3sp8gclFtHjgXeWJHg21OsIAiegU,29068
|
282
283
|
streamlit/runtime/runtime_util.py,sha256=sXXCUBTsyfTbyM6z9w4Mq1ZhmN_BWsXlXL1y6almV_I,5185
|
283
284
|
streamlit/runtime/script_data.py,sha256=-sBITUF0U7DIDL5LE_nFpXAvjnEfiJ9J3HAnnqML9ds,1749
|
284
285
|
streamlit/runtime/secrets.py,sha256=gc-_twZig0XSoXNvK_asGEPFj8UpnlZ0WWz1Ftkk3pU,12302
|
@@ -287,9 +288,9 @@ streamlit/runtime/stats.py,sha256=2ldQwWI5DjobZZqXWwwsWgwaj4KWRqWjHmPzgGVXWL8,38
|
|
287
288
|
streamlit/runtime/uploaded_file_manager.py,sha256=gkCGjX-d1eyrnHPNz4n-CC-fbFM-FGL1f9JK5ODJXME,4784
|
288
289
|
streamlit/runtime/websocket_session_manager.py,sha256=BWxC1ycURgIH9b_f28_UTsBiVWDobMnCG213fW7wMik,6443
|
289
290
|
streamlit/runtime/caching/__init__.py,sha256=EkSPYty4BxOFGFLdziY-IP6jtvOaF8o9SzNHQUwwZkg,5029
|
290
|
-
streamlit/runtime/caching/cache_data_api.py,sha256=
|
291
|
+
streamlit/runtime/caching/cache_data_api.py,sha256=gGbAzsV8nZDBOkdoOt1cZDqgaGE12wHD0o8_RHZj0wI,26158
|
291
292
|
streamlit/runtime/caching/cache_errors.py,sha256=sIq3uKJ7Qcusqa6BfDhF6rENXARrgQW7OAlXPwObzg0,6017
|
292
|
-
streamlit/runtime/caching/cache_resource_api.py,sha256=
|
293
|
+
streamlit/runtime/caching/cache_resource_api.py,sha256=zZF1M-pRj2kAm4__YGkZb-LelbNYbDesL5KvZG16yjI,21322
|
293
294
|
streamlit/runtime/caching/cache_type.py,sha256=P21JWouFWU0qXQyHbM3y3A1pLZud90ALGeO4bQ5Pvew,1131
|
294
295
|
streamlit/runtime/caching/cache_utils.py,sha256=aT7Q3y4pdRB7QfdEdYbpkDfwZ5E7rshVdIfbkmlMAm8,16719
|
295
296
|
streamlit/runtime/caching/cached_message_replay.py,sha256=WsZJej5No7p_qXlohw1ej2IHzMc2Q6bMgohmMrBkEKI,18554
|
@@ -306,88 +307,91 @@ streamlit/runtime/scriptrunner/__init__.py,sha256=QpX77DVR8S2lhf7tC_5dcYRyJ2290_
|
|
306
307
|
streamlit/runtime/scriptrunner/magic.py,sha256=R9cip4qAwb-8jvErueWdXrsumavxFf7Y-4dCeHUD29s,9116
|
307
308
|
streamlit/runtime/scriptrunner/magic_funcs.py,sha256=_npS_w-0riPNr1-dPyOSjqrwTXoeSR-gXWFkChQ5Yjc,1056
|
308
309
|
streamlit/runtime/scriptrunner/script_cache.py,sha256=ZpaB4T50_GYfhMc2dajSMXWCmS3kaUJ_tPHNVt_flBg,2856
|
309
|
-
streamlit/runtime/scriptrunner/script_requests.py,sha256=
|
310
|
-
streamlit/runtime/scriptrunner/script_run_context.py,sha256=
|
311
|
-
streamlit/runtime/scriptrunner/script_runner.py,sha256=
|
310
|
+
streamlit/runtime/scriptrunner/script_requests.py,sha256=oGSvQ12To4eWX3Rp5edbBkWTFcyxKTIa0HPQnh_m-bw,8027
|
311
|
+
streamlit/runtime/scriptrunner/script_run_context.py,sha256=cKuIkh1jX095aysJd4zr5SD7OXGelY2vq78HPpXbDjw,8483
|
312
|
+
streamlit/runtime/scriptrunner/script_runner.py,sha256=3n8L2sZ16Jd26gFB6EsrMwzvhhxg5S1c4Nr9nG_AOIo,29149
|
312
313
|
streamlit/runtime/state/__init__.py,sha256=UpfNfPrWJ6rVdD-qc0IP_bwZ4MrcNUjyU9wEKDK-eWM,1528
|
313
|
-
streamlit/runtime/state/common.py,sha256=
|
314
|
+
streamlit/runtime/state/common.py,sha256=RjuB3wNG_XXrkEsqa9eg1f5JLheIqvKiVpxoT3YptUI,7992
|
314
315
|
streamlit/runtime/state/query_params.py,sha256=sAAJns_kevmiekOxE2Hq6ObvkF905SprThLAU1bC_LM,6707
|
315
316
|
streamlit/runtime/state/query_params_proxy.py,sha256=OH7Dz4A9pGNALjEb2RzTN33pwcP3Q9sY6XO9I5iwOu8,4970
|
316
317
|
streamlit/runtime/state/safe_session_state.py,sha256=StGh9V-tm7MCfohgw5FFfwz8tDwwHLeucXAN-lLLObg,5169
|
317
|
-
streamlit/runtime/state/session_state.py,sha256=
|
318
|
+
streamlit/runtime/state/session_state.py,sha256=JOV9Nb-_nMJ4c6Av5ZeVFAy2qgN_ja00x_TJPSMMhy4,27399
|
318
319
|
streamlit/runtime/state/session_state_proxy.py,sha256=k2JJ9ZX7rMYjpzeGy0WZaBKYaWnXxrbJC5jqdnRQ3jI,5119
|
319
|
-
streamlit/runtime/state/widgets.py,sha256=
|
320
|
-
streamlit/static/asset-manifest.json,sha256=
|
320
|
+
streamlit/runtime/state/widgets.py,sha256=zVSL90_lqQWX81qZSbqfxpC2yxjJOtLndOnn7ehPBNk,11223
|
321
|
+
streamlit/static/asset-manifest.json,sha256=dGXfs2pSG3-4Y6iXqdwzsb1vt4bJ-ih-qqK5jVGZySA,14380
|
321
322
|
streamlit/static/favicon.png,sha256=if5cVgw7azxKOvV5FpGixga7JLn23rfnHcy1CdWI1-E,1019
|
322
|
-
streamlit/static/index.html,sha256=
|
323
|
-
streamlit/static/static/css/2411.
|
324
|
-
streamlit/static/static/css/3092.
|
325
|
-
streamlit/static/static/css/43.
|
323
|
+
streamlit/static/index.html,sha256=m-m1EMDlTO5qdXVXU6omPzEsyYxQmSH8j05fA_YWgJY,891
|
324
|
+
streamlit/static/static/css/2411.8b8f33d6.chunk.css,sha256=4m2lbj1eVFXSaGCRBHZNhqyRz-4Ce9KogjJPxIq6On8,33275
|
325
|
+
streamlit/static/static/css/3092.95a45cfe.chunk.css,sha256=QE-zWROIblgpsp6h00VK9cgGrvagmJ8gBzSbnADMOG0,12090
|
326
|
+
streamlit/static/static/css/43.e3b876c5.chunk.css,sha256=XExLUUHInaWJp_m8TtBWhQ88SUuxZl6Jnnw5NA6rwI4,2633
|
326
327
|
streamlit/static/static/css/main.bf304093.css,sha256=EE6RGlzIWBsPsf1itwOP0M-IQxbY44y1OuUALv992WY,29048
|
327
|
-
streamlit/static/static/js/1074.
|
328
|
+
streamlit/static/static/js/1074.73973756.chunk.js,sha256=yYfPwAD3dU5390zR-Bx_1D7daQYbNTWlJLaLS1f-8RQ,5446
|
328
329
|
streamlit/static/static/js/1168.3029456a.chunk.js,sha256=tiFw6qALk7px-8nkg3z-_4R24N1WD3IZ-BHk_8I1lQg,6469
|
329
330
|
streamlit/static/static/js/1307.8ea033f1.chunk.js,sha256=1RsYHRF-URzLz2ZsTxxbosYFhAaFmV_SklhAXb0zWd4,1524
|
330
|
-
streamlit/static/static/js/1451.
|
331
|
+
streamlit/static/static/js/1451.3b0a3e31.chunk.js,sha256=vRhjwzHQWIfETHeKITj1Y2AjyGFvZDjei7pLxcSicDk,5024
|
331
332
|
streamlit/static/static/js/1479.6709db03.chunk.js,sha256=WiqEhTakao-C6xpgeqCYklaAVvSNA5oQfySGE0MJF44,9618
|
332
333
|
streamlit/static/static/js/178.b5384fd0.chunk.js,sha256=TGeEpwP7r1LavYH47iI2m_Dcw_UhsXeWmDM7BeOELtM,1916
|
333
|
-
streamlit/static/static/js/1792.
|
334
|
+
streamlit/static/static/js/1792.b8efa879.chunk.js,sha256=AJnLyY2e9pB7aKW-9hHVpJESDvkm_qE5T0FSTs7lMPg,740
|
334
335
|
streamlit/static/static/js/2187.9469f035.chunk.js,sha256=sfHKNps1wTMCQpY-TlOVHeSItUl-UG3P4gOIs015d2E,32468
|
335
|
-
streamlit/static/static/js/2411.
|
336
|
-
streamlit/static/static/js/2411.
|
336
|
+
streamlit/static/static/js/2411.a8823789.chunk.js,sha256=6KZOr-WvVZNaUAHs994R2Usok2xXP56_2xR8zODKgx8,2090700
|
337
|
+
streamlit/static/static/js/2411.a8823789.chunk.js.LICENSE.txt,sha256=Y1fleKS2IHb4F8mxd6qnuz8K71NI0Oazz2iARd0H6uM,498
|
337
338
|
streamlit/static/static/js/2469.3e9c3ce9.chunk.js,sha256=G_7zTef5QxvsaJVnShNRGGNqnhOQNodrM6zK9Nejkm0,3396
|
338
|
-
streamlit/static/static/js/
|
339
|
-
streamlit/static/static/js/2736.
|
339
|
+
streamlit/static/static/js/2634.1249dc7a.chunk.js,sha256=ooBylJmLOo0jk_qnlG2369-PLMEMzzChCDGc7cIDTos,789
|
340
|
+
streamlit/static/static/js/2736.779ccbc1.chunk.js,sha256=m5nWwDRwA27NyNVTxZoMVXnFJlH7AV3nVzcDmwcALvs,3612890
|
341
|
+
streamlit/static/static/js/2736.779ccbc1.chunk.js.LICENSE.txt,sha256=qe05jtFWb0Soayc8eEBSPe_DwykGFrl1MHRnQbxuRP8,1965
|
340
342
|
streamlit/static/static/js/3053.7e70ec3b.chunk.js,sha256=w__PpwDgSoGYpVF_yvIn0lvww0DjIJeITvXKcYfLwd8,3259
|
341
|
-
streamlit/static/static/js/3092.
|
343
|
+
streamlit/static/static/js/3092.ad569cc8.chunk.js,sha256=F8Hau32uKldAM3r7JHVRqoasiSR9acfwIcGR3rAz7qQ,43481
|
342
344
|
streamlit/static/static/js/3301.1d1b10bb.chunk.js,sha256=TbgR_nsEaMzQT3WmvPZ6hCClKcUGkwd8rytZwnSH-LY,1931
|
343
|
-
streamlit/static/static/js/3513.
|
345
|
+
streamlit/static/static/js/3513.e3e7300a.chunk.js,sha256=ybcGq4OZki8ZBq7DcYO1wtXeONq5-OWT-cJzFJnTNIk,929
|
344
346
|
streamlit/static/static/js/3631.be5c35fa.chunk.js,sha256=OzF7d8fqPR2XqRzc2JgG-HilB9pW5XQvav0qNal78lg,5288
|
345
347
|
streamlit/static/static/js/3998.01237fcf.chunk.js,sha256=4HR-SFAoW-qSO9A3exk0V3rCRkfCaIMMaxPcLGB6b74,13223
|
346
348
|
streamlit/static/static/js/4113.1e7eff4d.chunk.js,sha256=x_eO2c8lZi2_SC7PtE4hg29IPueiwJSaLJ_DQ6rPWg8,2559
|
347
349
|
streamlit/static/static/js/4132.49bf3f2c.chunk.js,sha256=7VSP_20CCc0ynooZRtZBcr9g-afnXpGmrqlUpK6c0p8,9226
|
348
|
-
streamlit/static/static/js/4132.49bf3f2c.chunk.js.LICENSE.txt,sha256=
|
349
|
-
streamlit/static/static/js/4177.
|
350
|
+
streamlit/static/static/js/4132.49bf3f2c.chunk.js.LICENSE.txt,sha256=426lVBKMW2FKu5BqnSDpZnhms1QqJZ-nDvqwC62w-Z8,479
|
351
|
+
streamlit/static/static/js/4177.69f9f18d.chunk.js,sha256=BEIcTqNGD5WEz9IlGOGHKQhCxm1pBaesg0hIlvDvH2w,2178
|
350
352
|
streamlit/static/static/js/4185.78230b2a.chunk.js,sha256=D8MM-8xNn_bjWtAGzeu5M5d-8OoGHC7dhH4tJUToYQs,6420
|
351
353
|
streamlit/static/static/js/4253.749d5244.chunk.js,sha256=UP0ycQ9KIgPv05x2hS57QSrhPDFIQtHa8OgI5V-BiZU,395952
|
352
354
|
streamlit/static/static/js/4253.749d5244.chunk.js.LICENSE.txt,sha256=6s4mSSf8NHGJqUCFAj3VgMXZuNYyAzshKRhvxYZTQoU,281
|
353
355
|
streamlit/static/static/js/43.76c54963.chunk.js,sha256=IJ05jxJgFmsVq3PG-NEYsZQrhWdKmSaDfr6kAuf7LfU,8157
|
354
|
-
streamlit/static/static/js/4319.
|
355
|
-
streamlit/static/static/js/4477.
|
356
|
+
streamlit/static/static/js/4319.a6745434.chunk.js,sha256=ZL-_6BnEAWrs2XTSIFrnT9m5L28r7BckmDA32EWbnRk,2412
|
357
|
+
streamlit/static/static/js/4477.e10e4373.chunk.js,sha256=QrFcTqscFOn0zFUDP8AAVhDCXTwB7lL75O2zq_5840k,20661
|
356
358
|
streamlit/static/static/js/4500.b6f348d1.chunk.js,sha256=-lgkjMD-44gw_WlOjkI7v7Ruq1GV0-ZaN6r59gdBJEk,587
|
357
|
-
streamlit/static/static/js/4666.
|
359
|
+
streamlit/static/static/js/4666.b694c5a9.chunk.js,sha256=Mfnckt47ce41SjeoWf48H-M97LTAw3NRCoLirlEG3jw,14718
|
358
360
|
streamlit/static/static/js/474.87506447.chunk.js,sha256=53UXid5OtcopEqbX4i70AszYcQruFauTq2NjP-_5fsY,4800
|
359
|
-
streamlit/static/static/js/5106.
|
361
|
+
streamlit/static/static/js/5106.44f0ff51.chunk.js,sha256=aAGpqRrzVOlFHqBopYM2GLt9qcZ9h3fRxgFcuJ16nZw,7161
|
360
362
|
streamlit/static/static/js/5117.04bfe5d3.chunk.js,sha256=X9_mcI6Axh7gJ1vHpnWY3WwvrJP4_8RjDj7lf3Sflps,21681
|
361
363
|
streamlit/static/static/js/5345.65c91ee7.chunk.js,sha256=tIPHPVcIHGQMIy3_4CrO5vbHlLjogYqzHZ42Y1p_FEk,8252
|
362
|
-
streamlit/static/static/js/5379.
|
364
|
+
streamlit/static/static/js/5379.6571574f.chunk.js,sha256=g19Qe0ubL35F_bDHl42_p7sl_786ddUsysjhbJoERuw,10874
|
363
365
|
streamlit/static/static/js/5791.9a42fb4b.chunk.js,sha256=6j7S1fDfB321ibbChH0lWkP3W2iNCCdJEPhtC-S9STM,107585
|
364
|
-
streamlit/static/static/js/6013.
|
366
|
+
streamlit/static/static/js/6013.8e80e091.chunk.js,sha256=AhR6enqcqaWZkHVyhnRS881jbpQ_Gn6SgDQa2yMJlSk,11420
|
365
367
|
streamlit/static/static/js/6150.1294fa0d.chunk.js,sha256=rlAip3PhCfN3vHbez357MDh09Y_0TFiD-DiDbs5OeFo,2249519
|
366
368
|
streamlit/static/static/js/6405.ac5a6f23.chunk.js,sha256=u7b4I7WVspIbm8eKcgMs2L0aTG3f414AHrJtDsHfwSU,13239
|
367
369
|
streamlit/static/static/js/656.ae85f8f1.chunk.js,sha256=L5leEaKef8ZxbZRRulY0mQA0sUBIuYmtueuyvEHkvjw,840843
|
368
370
|
streamlit/static/static/js/656.ae85f8f1.chunk.js.LICENSE.txt,sha256=MFVywCe4fCte7HrHaVpL-jnDWhe9ei9zkyRvRUXQU-4,212
|
369
|
-
streamlit/static/static/js/6718.
|
371
|
+
streamlit/static/static/js/6718.802da17e.chunk.js,sha256=RhbHOhX-Uk28eSUtfqK_O0TkBhdM0JXUUy8fXc_qmkA,24494
|
370
372
|
streamlit/static/static/js/6853.d999ac75.chunk.js,sha256=4ecKJhKScbgxjCFCrCbqX0cBCo5Hm7kl11oa1xoCUJA,1371
|
371
373
|
streamlit/static/static/js/7142.83028745.chunk.js,sha256=B803yufbyma709LcFo35WRl6umQplzb28w6vW25Enzk,88545
|
372
|
-
streamlit/static/static/js/7175.
|
374
|
+
streamlit/static/static/js/7175.be4076bc.chunk.js,sha256=JfU4QaXURLwBENyoD7Ni7kyUK9metD_5_TePTimI7-w,9607
|
373
375
|
streamlit/static/static/js/7217.d970c074.chunk.js,sha256=n14UUP4VpXCKq04hD3C-Vy-d3VShoGxN-cdd0Y140Ho,65522
|
374
376
|
streamlit/static/static/js/7323.2808d029.chunk.js,sha256=_PwOSrkykxt7cwgyHDsQVTTKZgy47IelPIOo50qO55I,3383788
|
375
377
|
streamlit/static/static/js/7323.2808d029.chunk.js.LICENSE.txt,sha256=eaJYPeiNKQAvVx6lv1DR9gIPG1pFwki2pcDLddtfQHw,5061
|
376
|
-
streamlit/static/static/js/7602.
|
378
|
+
streamlit/static/static/js/7602.6175e969.chunk.js,sha256=ar3OMl7qkZPzYN5OcF6R1IkSWjwhpHVKqJ5z0_fKTvM,13275
|
377
379
|
streamlit/static/static/js/7805.51638fbc.chunk.js,sha256=oUqnzsn7iKgtE6g3j9TSNXSs3owN1FejwzCp4V-Rnrk,1069
|
378
380
|
streamlit/static/static/js/8005.43974a35.chunk.js,sha256=0WJomUw6UcQmH5JyhRJbaTUPk52drggGHoau5qKzxoQ,3358
|
379
381
|
streamlit/static/static/js/8427.44d27448.chunk.js,sha256=36XQ3ovcoI4W6ZNJwrKY7I-97-EvBpVf-2xpLn_WhMw,2611
|
380
382
|
streamlit/static/static/js/8477.e948c092.chunk.js,sha256=e6TOGFicjbf4RlBewEjpWgjYCVWrgE8i5EF6ByhGfgo,1888
|
381
|
-
streamlit/static/static/js/8492.
|
383
|
+
streamlit/static/static/js/8492.f56c9d4c.chunk.js,sha256=BGxb-rpcmqElG8IqOUY7sYaMyshQZoT3T5YZfKw-ukQ,15492
|
382
384
|
streamlit/static/static/js/8570.6de19120.chunk.js,sha256=Dxg1jh1yRSXs21gOKvtU19QLvk7BSJRbaj7HC5D8odM,12214
|
383
|
-
streamlit/static/static/js/8691.
|
385
|
+
streamlit/static/static/js/8691.9ccf7f89.chunk.js,sha256=Z6tDbwCCJIgs_oWUCGdhRJQ7b0Q39HwSiaJOWD67gIU,10471
|
384
386
|
streamlit/static/static/js/9330.d29313d4.chunk.js,sha256=dwvwBzODEQg33uv5vFMCNTPw9tuw1J2CKGuAE13dYlk,1141
|
385
387
|
streamlit/static/static/js/9336.2d95d840.chunk.js,sha256=6nGdXfPdjgSauDXzdPVqijnQB2ErTgkzwfoinHGt484,13482
|
388
|
+
streamlit/static/static/js/937.a1248039.chunk.js,sha256=NS-xyj3NwPLJvghF8AJ3H_kVfRg1LbZYl0HHF8klQj0,20791
|
389
|
+
streamlit/static/static/js/937.a1248039.chunk.js.LICENSE.txt,sha256=KAhbcQ1jd_N8DfV6lLYlQ_EQOalgErOV-Sf87G-Rh2g,188
|
386
390
|
streamlit/static/static/js/9656.8c935274.chunk.js,sha256=3VB6NT0EQErJUX2SYLQpmNAp19sWI45AbNOQLVjcvII,22113
|
387
391
|
streamlit/static/static/js/9758.6e6d8662.chunk.js,sha256=3Gtwgkru2xQTl1mCxFjILQ_Ppb8DMKySHY5YVhm9ihY,2119
|
388
392
|
streamlit/static/static/js/9865.fd93213d.chunk.js,sha256=Ul2N951ZrAXpJOWo4SV4AKlymjMMNPJxpea3uRt8B_Y,4011
|
389
|
-
streamlit/static/static/js/main.
|
390
|
-
streamlit/static/static/js/main.
|
393
|
+
streamlit/static/static/js/main.356407e8.js,sha256=eaGd84jMoYyDXEvZyL6bosJ1c9u8JO0YoeYgvUdi7DY,4381859
|
394
|
+
streamlit/static/static/js/main.356407e8.js.LICENSE.txt,sha256=YTeqT7R6idssTgnyi3gf0tRiq18-LiPeDOpsWcnbi34,3184
|
391
395
|
streamlit/static/static/media/KaTeX_AMS-Regular.73ea273a72f4aca30ca5.woff2,sha256=DN04fJWQoan5eUVgAi27WWVKfYbxh6oMgUla1C06cwg,28076
|
392
396
|
streamlit/static/static/media/KaTeX_AMS-Regular.853be92419a6c3766b9a.ttf,sha256=aFNIQLz90r_7bw6N60hoTdAefwTqKBMmdXevuQbeHRM,63632
|
393
397
|
streamlit/static/static/media/KaTeX_AMS-Regular.d562e886c52f12660a41.woff,sha256=MNqR6EyJP4deJSaJ-uvcWQsocRReitx_mp1NvYzgslE,33516
|
@@ -477,7 +481,7 @@ streamlit/testing/__init__.py,sha256=Vrf1yVMOcTyhUPnYvsfyeL96Vpd5z8KoSV5ZzTcTQgU
|
|
477
481
|
streamlit/testing/v1/__init__.py,sha256=XGxNOq4VfmwlVj9K6vXB8dAH1YbI_8AIsvw_vbzQoNA,690
|
478
482
|
streamlit/testing/v1/app_test.py,sha256=rpZ9SWNRznHBmsVMI0x_lIM-Tz1mf4ikafcipPEZ9rY,36323
|
479
483
|
streamlit/testing/v1/element_tree.py,sha256=3Z6ZcuJ_BxNwqaI2AAyj08-BMrn_71EBfxsSYiSZQbg,59526
|
480
|
-
streamlit/testing/v1/local_script_runner.py,sha256=
|
484
|
+
streamlit/testing/v1/local_script_runner.py,sha256=lMBs2G5xQ1s6RTm08CE8rDjyHYra_uc6YdW3NoIqsqU,6415
|
481
485
|
streamlit/testing/v1/util.py,sha256=IwxXIlGsVNtC1RmtmgdeBHmJYPjK0wiqNL4HMW6IJZI,1791
|
482
486
|
streamlit/vendor/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
483
487
|
streamlit/vendor/ipython/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
@@ -497,17 +501,17 @@ streamlit/web/cli.py,sha256=3r4ZMQSQnqk9X4guReFXl5i9lS62L4v8TGT9lFgkuEE,11321
|
|
497
501
|
streamlit/web/server/__init__.py,sha256=w4TFcV0OjM5zx8ej7oThRIyB6gq3kqdt45XBk1zkRWo,1080
|
498
502
|
streamlit/web/server/app_static_file_handler.py,sha256=2f3uxDsLYztJhDHFUYCX4qEWjPEKtPxb-Zxaae4VsmA,3076
|
499
503
|
streamlit/web/server/browser_websocket_handler.py,sha256=YcP0f4uVc6SQm8fq3c6aHwYRFGrM0cFnqJtkDFsRD7M,7803
|
500
|
-
streamlit/web/server/component_request_handler.py,sha256=
|
504
|
+
streamlit/web/server/component_request_handler.py,sha256=SXfikA46GXy8xWaMI5DNKWCbLEHDkhSrYxyNPlRBT9M,4096
|
501
505
|
streamlit/web/server/media_file_handler.py,sha256=2KfzPnMN1RstMtI4fs0PD0vFiFrWMyKL0q7LfWJLYZ4,5270
|
502
506
|
streamlit/web/server/routes.py,sha256=GL41HusnbVxLZE9qLmBujiX0VpwWCXlSAb9w87ol3nE,9922
|
503
|
-
streamlit/web/server/server.py,sha256=
|
507
|
+
streamlit/web/server/server.py,sha256=a0-gVZv3U31SOeupKUx8fETTvyWR4z7yvdlSCG07wpY,14895
|
504
508
|
streamlit/web/server/server_util.py,sha256=FptUF-CjFh78VjeTQDi3R78m7E64MDe3wcklgnWXHh0,4158
|
505
509
|
streamlit/web/server/stats_request_handler.py,sha256=cL__KbJFIhdhf1Zt6skbLehUqT-jo56x1HARxogZDOI,3680
|
506
510
|
streamlit/web/server/upload_file_request_handler.py,sha256=YPDmKWUnaGH9d4QNcMEsY5k1YIz_q-xW1K5fmgHaDzc,4966
|
507
511
|
streamlit/web/server/websocket_headers.py,sha256=07SkWLcOxbyldl7UcBzrMKY9ZojypCQACiKoh5FcH7Y,1870
|
508
|
-
streamlit_nightly-1.32.3.
|
509
|
-
streamlit_nightly-1.32.3.
|
510
|
-
streamlit_nightly-1.32.3.
|
511
|
-
streamlit_nightly-1.32.3.
|
512
|
-
streamlit_nightly-1.32.3.
|
513
|
-
streamlit_nightly-1.32.3.
|
512
|
+
streamlit_nightly-1.32.3.dev20240329.data/scripts/streamlit.cmd,sha256=ZEYM3vBJSp-k7vwSJ3ba5NzEk9-qHdSeLvGYAAe1mMw,676
|
513
|
+
streamlit_nightly-1.32.3.dev20240329.dist-info/METADATA,sha256=5xVPnzSIFa7u62tcWowd8BRUngvLcJQgbXrRz7o4kfg,8528
|
514
|
+
streamlit_nightly-1.32.3.dev20240329.dist-info/WHEEL,sha256=DZajD4pwLWue70CAfc7YaxT1wLUciNBvN_TTcvXpltE,110
|
515
|
+
streamlit_nightly-1.32.3.dev20240329.dist-info/entry_points.txt,sha256=uNJ4DwGNXEhOK0USwSNanjkYyR-Bk7eYQbJFDrWyOgY,53
|
516
|
+
streamlit_nightly-1.32.3.dev20240329.dist-info/top_level.txt,sha256=V3FhKbm7G2LnR0s4SytavrjIPNIhvcsAGXfYHAwtQzw,10
|
517
|
+
streamlit_nightly-1.32.3.dev20240329.dist-info/RECORD,,
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2024)
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
@@ -1,82 +0,0 @@
|
|
1
|
-
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2024)
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|
14
|
-
|
15
|
-
from __future__ import annotations
|
16
|
-
|
17
|
-
import os
|
18
|
-
import threading
|
19
|
-
from typing import Final
|
20
|
-
|
21
|
-
from streamlit import util
|
22
|
-
from streamlit.components.types.base_component_registry import BaseComponentRegistry
|
23
|
-
from streamlit.components.types.base_custom_component import BaseCustomComponent
|
24
|
-
from streamlit.errors import StreamlitAPIException
|
25
|
-
from streamlit.logger import get_logger
|
26
|
-
|
27
|
-
_LOGGER: Final = get_logger(__name__)
|
28
|
-
|
29
|
-
|
30
|
-
class LocalComponentRegistry(BaseComponentRegistry):
|
31
|
-
def __init__(self) -> None:
|
32
|
-
self._components: dict[str, BaseCustomComponent] = {}
|
33
|
-
self._lock = threading.Lock()
|
34
|
-
|
35
|
-
def __repr__(self) -> str:
|
36
|
-
return util.repr_(self)
|
37
|
-
|
38
|
-
def register_component(self, component: BaseCustomComponent) -> None:
|
39
|
-
"""Register a CustomComponent.
|
40
|
-
|
41
|
-
Parameters
|
42
|
-
----------
|
43
|
-
component : BaseCustomComponent
|
44
|
-
The component to register.
|
45
|
-
"""
|
46
|
-
|
47
|
-
# Validate the component's path
|
48
|
-
abspath = component.abspath
|
49
|
-
if abspath is not None and not os.path.isdir(abspath):
|
50
|
-
raise StreamlitAPIException(f"No such component directory: '{abspath}'")
|
51
|
-
|
52
|
-
with self._lock:
|
53
|
-
existing = self._components.get(component.name)
|
54
|
-
self._components[component.name] = component
|
55
|
-
|
56
|
-
if existing is not None and component != existing:
|
57
|
-
_LOGGER.warning(
|
58
|
-
"%s overriding previously-registered %s",
|
59
|
-
component,
|
60
|
-
existing,
|
61
|
-
)
|
62
|
-
|
63
|
-
_LOGGER.debug("Registered component %s", component)
|
64
|
-
|
65
|
-
def get_component_path(self, name: str) -> str | None:
|
66
|
-
"""Return the filesystem path for the component with the given name.
|
67
|
-
|
68
|
-
If no such component is registered, or if the component exists but is
|
69
|
-
being served from a URL, return None instead.
|
70
|
-
"""
|
71
|
-
component = self._components.get(name, None)
|
72
|
-
return component.abspath if component is not None else None
|
73
|
-
|
74
|
-
def get_module_name(self, name: str) -> str | None:
|
75
|
-
component = self._components.get(name, None)
|
76
|
-
return component.module_name if component is not None else None
|
77
|
-
|
78
|
-
def get_component(self, name: str) -> BaseCustomComponent | None:
|
79
|
-
return self._components.get(name, None)
|
80
|
-
|
81
|
-
def get_components(self) -> list[BaseCustomComponent]:
|
82
|
-
return list(self._components.values())
|
@@ -1,13 +0,0 @@
|
|
1
|
-
# Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2024)
|
2
|
-
#
|
3
|
-
# Licensed under the Apache License, Version 2.0 (the "License");
|
4
|
-
# you may not use this file except in compliance with the License.
|
5
|
-
# You may obtain a copy of the License at
|
6
|
-
#
|
7
|
-
# http://www.apache.org/licenses/LICENSE-2.0
|
8
|
-
#
|
9
|
-
# Unless required by applicable law or agreed to in writing, software
|
10
|
-
# distributed under the License is distributed on an "AS IS" BASIS,
|
11
|
-
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
12
|
-
# See the License for the specific language governing permissions and
|
13
|
-
# limitations under the License.
|