streamlit-nightly 1.53.1.dev20260115__py3-none-any.whl → 1.53.1.dev20260117__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/auth_util.py +90 -1
- streamlit/cli_util.py +2 -1
- streamlit/commands/echo.py +2 -2
- streamlit/commands/execution_control.py +1 -1
- streamlit/commands/navigation.py +1 -1
- streamlit/components/types/base_custom_component.py +0 -2
- streamlit/components/v1/custom_component.py +0 -2
- streamlit/components/v2/component_path_utils.py +1 -1
- streamlit/components/v2/manifest_scanner.py +8 -3
- streamlit/components/v2/presentation.py +1 -1
- streamlit/config.py +15 -13
- streamlit/config_util.py +5 -5
- streamlit/dataframe_util.py +5 -5
- streamlit/elements/arrow.py +11 -6
- streamlit/elements/deck_gl_json_chart.py +1 -1
- streamlit/elements/exception.py +4 -2
- streamlit/elements/form.py +1 -1
- streamlit/elements/layouts.py +1 -1
- streamlit/elements/lib/built_in_chart_utils.py +7 -7
- streamlit/elements/lib/column_config_utils.py +6 -6
- streamlit/elements/lib/dialog.py +1 -1
- streamlit/elements/lib/image_utils.py +4 -4
- streamlit/elements/lib/layout_utils.py +1 -1
- streamlit/elements/lib/policies.py +1 -1
- streamlit/elements/lib/utils.py +1 -1
- streamlit/elements/map.py +6 -6
- streamlit/elements/plotly_chart.py +2 -2
- streamlit/elements/toast.py +1 -1
- streamlit/elements/vega_charts.py +2 -2
- streamlit/elements/widgets/button.py +3 -3
- streamlit/elements/widgets/button_group.py +3 -3
- streamlit/elements/widgets/chat.py +1 -1
- streamlit/elements/widgets/data_editor.py +6 -6
- streamlit/elements/widgets/number_input.py +1 -1
- streamlit/elements/widgets/slider.py +5 -5
- streamlit/elements/widgets/time_widgets.py +91 -10
- streamlit/elements/write.py +1 -1
- streamlit/env_util.py +1 -1
- streamlit/errors.py +0 -14
- streamlit/runtime/app_session.py +0 -1
- streamlit/runtime/caching/cache_data_api.py +3 -3
- streamlit/runtime/caching/cache_errors.py +0 -2
- streamlit/runtime/caching/cache_resource_api.py +1 -1
- streamlit/runtime/caching/cache_utils.py +2 -2
- streamlit/runtime/caching/hashing.py +1 -3
- streamlit/runtime/caching/storage/cache_storage_protocol.py +0 -3
- streamlit/runtime/connection_factory.py +1 -1
- streamlit/runtime/runtime.py +6 -6
- streamlit/runtime/scriptrunner_utils/exceptions.py +0 -4
- streamlit/runtime/secrets.py +2 -3
- streamlit/runtime/state/session_state.py +1 -1
- streamlit/runtime/stats.py +0 -7
- streamlit/static/index.html +1 -1
- streamlit/static/manifest.json +300 -300
- streamlit/static/static/js/{ErrorOutline.esm.CiSfK8ht.js → ErrorOutline.esm.CqVEQ-uJ.js} +1 -1
- streamlit/static/static/js/{FileDownload.esm.ItNjcEfs.js → FileDownload.esm.G-HJG6nt.js} +1 -1
- streamlit/static/static/js/{FileHelper.xS7f19FE.js → FileHelper.Bd4bPp0Y.js} +1 -1
- streamlit/static/static/js/{FormClearHelper.N8_BCinn.js → FormClearHelper.B74VElyu.js} +1 -1
- streamlit/static/static/js/{InputInstructions.CrsdK7CQ.js → InputInstructions.ClBLOwfm.js} +1 -1
- streamlit/static/static/js/{Particles.BDlTHC3I.js → Particles.CyYskark.js} +1 -1
- streamlit/static/static/js/{ProgressBar.Bk2qeHfS.js → ProgressBar.vWX1Igzt.js} +1 -1
- streamlit/static/static/js/{StreamlitSyntaxHighlighter.BcuPrPcw.js → StreamlitSyntaxHighlighter.BNhyeEtl.js} +1 -1
- streamlit/static/static/js/{TableChart.esm.CP7XPz8I.js → TableChart.esm.Mk-Hvy1t.js} +1 -1
- streamlit/static/static/js/{Toolbar.DCJcLwve.js → Toolbar.NhlhlTzK.js} +1 -1
- streamlit/static/static/js/{WidgetLabelHelpIconInline.BPqxu1b-.js → WidgetLabelHelpIconInline.Ch9VDnrM.js} +1 -1
- streamlit/static/static/js/{base-input.x4muJJ13.js → base-input.DSh9H2uv.js} +1 -1
- streamlit/static/static/js/{checkbox.C5r4AIaH.js → checkbox.DCFAQrRB.js} +1 -1
- streamlit/static/static/js/{createDownloadLinkElement.C83kkEeT.js → createDownloadLinkElement.D5zpcd24.js} +1 -1
- streamlit/static/static/js/{data-grid-overlay-editor.0sOWm4IB.js → data-grid-overlay-editor.GAqbIurd.js} +1 -1
- streamlit/static/static/js/{downloader.C_6FfoEv.js → downloader.C1MBZFo2.js} +1 -1
- streamlit/static/static/js/{embed.BnJ6-SK4.js → embed.CZG6oOsc.js} +1 -1
- streamlit/static/static/js/{es6.44_BWfFd.js → es6.toHnBzIb.js} +2 -2
- streamlit/static/static/js/{formatNumber.DhHZAosz.js → formatNumber.BsU-5o3V.js} +1 -1
- streamlit/static/static/js/{iconPosition.shOoQuRR.js → iconPosition.OKOYrH6A.js} +1 -1
- streamlit/static/static/js/{iframeResizer.contentWindow.savEE5Vs.js → iframeResizer.contentWindow.D6yxU4DL.js} +1 -1
- streamlit/static/static/js/{index.SjKkVSL7.js → index.-pgbbiGJ.js} +1 -1
- streamlit/static/static/js/{index.Dblsdn8d.js → index.0iCXW13-.js} +1 -1
- streamlit/static/static/js/{index.DfHm3P22.js → index.1sBZt_1I.js} +5 -5
- streamlit/static/static/js/{index.BCaCSVj6.js → index.5CwvMIZq.js} +1 -1
- streamlit/static/static/js/{index.CySNwKoN.js → index.AkleAg_w.js} +1 -1
- streamlit/static/static/js/{index.hX8_3tMP.js → index.B8mzpc1l.js} +1 -1
- streamlit/static/static/js/{index.Ch1TdQMG.js → index.BHWCIpbw.js} +1 -1
- streamlit/static/static/js/{index.BNzuyXeN.js → index.BU8aUWlo.js} +1 -1
- streamlit/static/static/js/{index.C6uOmY9O.js → index.BVbT0yWJ.js} +1 -1
- streamlit/static/static/js/{index.CQgiNpC7.js → index.BW0F_Pbs.js} +1 -1
- streamlit/static/static/js/{index.BYY3iuVE.js → index.BXqtIpgi.js} +1 -1
- streamlit/static/static/js/{index.SVJGpnpy.js → index.Bh0_7PvD.js} +1 -1
- streamlit/static/static/js/{index.BHpLZ7X6.js → index.Bhr3IHkD.js} +1 -1
- streamlit/static/static/js/{index.B6ewTTej.js → index.BkYhb--A.js} +1 -1
- streamlit/static/static/js/{index.DIsNrJpC.js → index.Blo8DAcU.js} +1 -1
- streamlit/static/static/js/{index.DcdD0ROn.js → index.Bs4E_0D7.js} +1 -1
- streamlit/static/static/js/{index.AdijUi9Z.js → index.C6LOxzFC.js} +1 -1
- streamlit/static/static/js/{index.B8Of3XXR.js → index.CGt5hnLi.js} +1 -1
- streamlit/static/static/js/{index.jZin0w6_.js → index.CJCEiqv2.js} +1 -1
- streamlit/static/static/js/{index.B5HlOnvq.js → index.COcj-WpN.js} +1 -1
- streamlit/static/static/js/{index.BNvP8E5Q.js → index.CV4niwLB.js} +1 -1
- streamlit/static/static/js/{index.C1coXTgf.js → index.CXLtvxrQ.js} +1 -1
- streamlit/static/static/js/{index.pzQTLx9j.js → index.C_w1nWis.js} +1 -1
- streamlit/static/static/js/{index.BZXk3Qxq.js → index.Ch4X_YdF.js} +1 -1
- streamlit/static/static/js/{index.DBtWixG1.js → index.CqywI2eW.js} +1 -1
- streamlit/static/static/js/{index.D_ziFad8.js → index.D0h2EJ_T.js} +1 -1
- streamlit/static/static/js/{index.D8BQH06Z.js → index.D7Hgmilz.js} +1 -1
- streamlit/static/static/js/{index.HjydQ4bj.js → index.D94k70Hg.js} +1 -1
- streamlit/static/static/js/{index.CF88nImM.js → index.DGrQJk9x.js} +1 -1
- streamlit/static/static/js/{index.CFlGfFvq.js → index.DJ8OTQbk.js} +1 -1
- streamlit/static/static/js/{index.BqtgAGnG.js → index.DR8Ty3j4.js} +1 -1
- streamlit/static/static/js/{index.BT7o4A9V.js → index.DRGDE5oo.js} +1 -1
- streamlit/static/static/js/{index.BhQvq6YD.js → index.DbCS2N3T.js} +1 -1
- streamlit/static/static/js/{index.BZI7jTDf.js → index.DhGqPx_f.js} +1 -1
- streamlit/static/static/js/{index.BkIReLGJ.js → index.Dl2MB5Tx.js} +1 -1
- streamlit/static/static/js/{index.BwnLQnAk.js → index.Dq0ZbGYZ.js} +1 -1
- streamlit/static/static/js/{index.DvZDNiBV.js → index.DwgEkDLk.js} +1 -1
- streamlit/static/static/js/{index.CrD2lwZG.js → index.E4x2UBkh.js} +1 -1
- streamlit/static/static/js/{index.D3LEkXqN.js → index.EOvPT8N-.js} +1 -1
- streamlit/static/static/js/{index.DO3HICut.js → index.MZ7ugsN-.js} +1 -1
- streamlit/static/static/js/{index.Bl7SMZUw.js → index.P0_E3iNi.js} +1 -1
- streamlit/static/static/js/{index.s44_OVd6.js → index.SBwNLdli.js} +1 -1
- streamlit/static/static/js/{index.BE7Rhig1.js → index.XgBfXgN1.js} +1 -1
- streamlit/static/static/js/{index.Ck2mQvBi.js → index.YRiVxrFw.js} +1 -1
- streamlit/static/static/js/{index.CZJkiRFm.js → index._t3w-7R0.js} +1 -1
- streamlit/static/static/js/{index.HsxzYHNf.js → index.dGk9EWLh.js} +1 -1
- streamlit/static/static/js/{index.pQvPlPcA.js → index.ia5Ub9p7.js} +1 -1
- streamlit/static/static/js/{index.DiwhD0Ic.js → index.qjO5OK90.js} +5 -5
- streamlit/static/static/js/{input.jAD-v9D6.js → input.Bavj6HHJ.js} +1 -1
- streamlit/static/static/js/{main.Cas0fuOs.js → main.dnUTEH_j.js} +1 -1
- streamlit/static/static/js/{memory.ENruL8Qk.js → memory.Czf1Sxzc.js} +1 -1
- streamlit/static/static/js/{number-overlay-editor.DAOTdulh.js → number-overlay-editor.CRQIke3a.js} +1 -1
- streamlit/static/static/js/{pandasStylerUtils.DChYgcPq.js → pandasStylerUtils.agmr-LQ2.js} +1 -1
- streamlit/static/static/js/{sandbox.DWZYRCm0.js → sandbox.BlCiIomw.js} +1 -1
- streamlit/static/static/js/{styled-components.3lwVqgRW.js → styled-components.Bz3KSbhj.js} +1 -1
- streamlit/static/static/js/{throttle.DfOW1Cns.js → throttle.B1o314FW.js} +1 -1
- streamlit/static/static/js/{timepicker.CXHgL5f9.js → timepicker.3x4ndo9E.js} +1 -1
- streamlit/static/static/js/{toConsumableArray.DiW0GSDV.js → toConsumableArray.BeHbBK8g.js} +1 -1
- streamlit/static/static/js/uniqueId.Zn1vZBLX.js +1 -0
- streamlit/static/static/js/{useBasicWidgetState.DnPEt_f3.js → useBasicWidgetState.CFP4_PTk.js} +1 -1
- streamlit/static/static/js/{useIntlLocale.BZEGSOVD.js → useIntlLocale.BJubkaPQ.js} +1 -1
- streamlit/static/static/js/{useTextInputAutoExpand.MGVZMqyt.js → useTextInputAutoExpand.DBGwhM4R.js} +1 -1
- streamlit/static/static/js/{useUpdateUiValue.CPl6CEx3.js → useUpdateUiValue.CyufNQfR.js} +1 -1
- streamlit/static/static/js/{useWaveformController.DOpzDyZu.js → useWaveformController.Dj5h0D8Y.js} +1 -1
- streamlit/static/static/js/{withCalculatedWidth.DgKFTeif.js → withCalculatedWidth.D0IRb-7w.js} +1 -1
- streamlit/static/static/js/{withFullScreenWrapper.K1jkwhPu.js → withFullScreenWrapper.CHBnw0Co.js} +1 -1
- streamlit/string_util.py +2 -2
- streamlit/testing/v1/element_tree.py +8 -10
- streamlit/type_util.py +2 -2
- streamlit/url_util.py +2 -2
- streamlit/user_info.py +2 -2
- streamlit/util.py +1 -1
- streamlit/watcher/path_watcher.py +1 -1
- streamlit/web/cli.py +1 -4
- streamlit/web/server/app_discovery.py +2 -1
- streamlit/web/server/oauth_authlib_routes.py +14 -42
- streamlit/web/server/server.py +1 -1
- streamlit/web/server/server_util.py +1 -1
- streamlit/web/server/starlette/starlette_auth_routes.py +94 -16
- streamlit/web/server/starlette/starlette_routes.py +9 -3
- streamlit/web/server/starlette/starlette_server.py +2 -2
- {streamlit_nightly-1.53.1.dev20260115.dist-info → streamlit_nightly-1.53.1.dev20260117.dist-info}/METADATA +1 -1
- {streamlit_nightly-1.53.1.dev20260115.dist-info → streamlit_nightly-1.53.1.dev20260117.dist-info}/RECORD +162 -162
- streamlit/static/static/js/uniqueId.Dfi3SGKZ.js +0 -1
- {streamlit_nightly-1.53.1.dev20260115.data → streamlit_nightly-1.53.1.dev20260117.data}/scripts/streamlit.cmd +0 -0
- {streamlit_nightly-1.53.1.dev20260115.dist-info → streamlit_nightly-1.53.1.dev20260117.dist-info}/WHEEL +0 -0
- {streamlit_nightly-1.53.1.dev20260115.dist-info → streamlit_nightly-1.53.1.dev20260117.dist-info}/entry_points.txt +0 -0
- {streamlit_nightly-1.53.1.dev20260115.dist-info → streamlit_nightly-1.53.1.dev20260117.dist-info}/top_level.txt +0 -0
streamlit/runtime/secrets.py
CHANGED
|
@@ -230,7 +230,6 @@ class Secrets(Mapping[str, Any]):
|
|
|
230
230
|
"""Left in place for compatibility with integrations until integration
|
|
231
231
|
code can be updated.
|
|
232
232
|
"""
|
|
233
|
-
pass
|
|
234
233
|
|
|
235
234
|
def _reset(self) -> None:
|
|
236
235
|
"""Clear the secrets dictionary and remove any secrets that were
|
|
@@ -396,7 +395,7 @@ class Secrets(Mapping[str, Any]):
|
|
|
396
395
|
is a string, int, or float.
|
|
397
396
|
"""
|
|
398
397
|
value_type = type(v)
|
|
399
|
-
if value_type in
|
|
398
|
+
if value_type in {str, int, float}:
|
|
400
399
|
os.environ[k] = str(v)
|
|
401
400
|
|
|
402
401
|
@staticmethod
|
|
@@ -405,7 +404,7 @@ class Secrets(Mapping[str, Any]):
|
|
|
405
404
|
is a string, int, or float.
|
|
406
405
|
"""
|
|
407
406
|
value_type = type(v)
|
|
408
|
-
if value_type in
|
|
407
|
+
if value_type in {str, int, float} and os.environ.get(k) == v:
|
|
409
408
|
del os.environ[k]
|
|
410
409
|
|
|
411
410
|
def _maybe_install_file_watchers(self) -> None:
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
from __future__ import annotations
|
|
16
16
|
|
|
17
17
|
import json
|
|
18
|
-
import pickle
|
|
18
|
+
import pickle # noqa: S403
|
|
19
19
|
from collections.abc import Iterator, KeysView, Mapping, MutableMapping, Sequence
|
|
20
20
|
from copy import deepcopy
|
|
21
21
|
from dataclasses import dataclass, field, replace
|
streamlit/runtime/stats.py
CHANGED
|
@@ -44,30 +44,24 @@ class Stat(Protocol):
|
|
|
44
44
|
@property
|
|
45
45
|
def family_name(self) -> str:
|
|
46
46
|
"""The name of the metric family (e.g. 'cache_memory_bytes')."""
|
|
47
|
-
pass
|
|
48
47
|
|
|
49
48
|
@property
|
|
50
49
|
def type(self) -> str:
|
|
51
50
|
"""The OpenMetrics type (e.g. 'gauge', 'counter')."""
|
|
52
|
-
pass
|
|
53
51
|
|
|
54
52
|
@property
|
|
55
53
|
def unit(self) -> str:
|
|
56
54
|
"""The unit of the metric (e.g. 'bytes')."""
|
|
57
|
-
pass
|
|
58
55
|
|
|
59
56
|
@property
|
|
60
57
|
def help(self) -> str:
|
|
61
58
|
"""A description of the metric."""
|
|
62
|
-
pass
|
|
63
59
|
|
|
64
60
|
def to_metric_str(self) -> str:
|
|
65
61
|
"""Convert this stat to an OpenMetrics-formatted string."""
|
|
66
|
-
pass
|
|
67
62
|
|
|
68
63
|
def marshall_metric_proto(self, metric: MetricProto) -> None:
|
|
69
64
|
"""Fill an OpenMetrics `Metric` protobuf object."""
|
|
70
|
-
pass
|
|
71
65
|
|
|
72
66
|
|
|
73
67
|
# TODO(vdonato): Could we use GaugeStat below and get rid of this class?
|
|
@@ -274,7 +268,6 @@ class StatsProvider(Protocol):
|
|
|
274
268
|
The StatsManager uses this property to determine which providers to call
|
|
275
269
|
when specific metric families are requested.
|
|
276
270
|
"""
|
|
277
|
-
pass
|
|
278
271
|
|
|
279
272
|
def get_stats(
|
|
280
273
|
self, family_names: Sequence[str] | None = None
|
streamlit/static/index.html
CHANGED
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
<script>
|
|
38
38
|
window.prerenderReady = false
|
|
39
39
|
</script>
|
|
40
|
-
<script type="module" crossorigin src="./static/js/index.
|
|
40
|
+
<script type="module" crossorigin src="./static/js/index.qjO5OK90.js"></script>
|
|
41
41
|
<link rel="stylesheet" crossorigin href="./static/css/index.BUP6fTcR.css">
|
|
42
42
|
</head>
|
|
43
43
|
<body>
|