streamlit-nightly 1.46.2.dev20250702__py3-none-any.whl → 1.46.2.dev20250704__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 +1 -1
- streamlit/elements/lib/column_types.py +9 -0
- streamlit/errors.py +6 -0
- streamlit/runtime/secrets.py +7 -2
- streamlit/static/index.html +1 -1
- streamlit/static/manifest.json +214 -214
- streamlit/static/static/js/{ErrorOutline.esm.MhIoYdvl.js → ErrorOutline.esm.Dl5aYA7P.js} +1 -1
- streamlit/static/static/js/{FileDownload.esm.MFVQ8TeX.js → FileDownload.esm.b9aAtFUL.js} +1 -1
- streamlit/static/static/js/{FileHelper.4MaelLoM.js → FileHelper.CZ-fo3AT.js} +1 -1
- streamlit/static/static/js/{FormClearHelper.B0jg0hVR.js → FormClearHelper.X_JAWIDE.js} +1 -1
- streamlit/static/static/js/{Hooks.BRUa3Uwi.js → Hooks.DgDu8WWe.js} +1 -1
- streamlit/static/static/js/{InputInstructions.DIDrjUfW.js → InputInstructions.DRcWCO4-.js} +1 -1
- streamlit/static/static/js/{ProgressBar.D5j4Grse.js → ProgressBar.TfYA4ywP.js} +1 -1
- streamlit/static/static/js/{RenderInPortalIfExists.DSEpNV6C.js → RenderInPortalIfExists.DdXJh4rR.js} +1 -1
- streamlit/static/static/js/{Toolbar.CQcJmHso.js → Toolbar.Vgf9NeBF.js} +1 -1
- streamlit/static/static/js/{base-input.BnnSlzQu.js → base-input.DVejzOG3.js} +1 -1
- streamlit/static/static/js/{checkbox.C3U3kKA7.js → checkbox.CHzUs1FT.js} +1 -1
- streamlit/static/static/js/{createSuper.Cy5MeyJ7.js → createSuper.DtVUSUG3.js} +1 -1
- streamlit/static/static/js/{data-grid-overlay-editor.DfB1NFlz.js → data-grid-overlay-editor.0g3IWOH4.js} +1 -1
- streamlit/static/static/js/{downloader.DJTt16dd.js → downloader.C1bmi7_d.js} +1 -1
- streamlit/static/static/js/{es6.wyhZ4wJk.js → es6.DB9CkkEz.js} +2 -2
- streamlit/static/static/js/{iframeResizer.contentWindow.DFyVP9Ig.js → iframeResizer.contentWindow.BUdo9Eut.js} +1 -1
- streamlit/static/static/js/{index.Dr7_LGVT.js → index.B7_hmluD.js} +1 -1
- streamlit/static/static/js/{index.B-X33K52.js → index.BFvFGupf.js} +1 -1
- streamlit/static/static/js/{index.CG52VtIR.js → index.BGQkiO_L.js} +1 -1
- streamlit/static/static/js/{index.CvEUwmm2.js → index.BLe8vNj1.js} +1 -1
- streamlit/static/static/js/{index.DJzsQdj5.js → index.BPv94ryA.js} +1 -1
- streamlit/static/static/js/{index.DT8f2xQ9.js → index.BSU3uPDy.js} +1 -1
- streamlit/static/static/js/{index.C2ZYRKqZ.js → index.BYDy3exs.js} +1 -1
- streamlit/static/static/js/{index.B22EHN7-.js → index.Bxl-lvf7.js} +1 -1
- streamlit/static/static/js/{index.Cipw6ZXy.js → index.Bz1rmVZY.js} +1 -1
- streamlit/static/static/js/{index.DyTIPa0F.js → index.C6lv7LZF.js} +1 -1
- streamlit/static/static/js/{index.DynUmaAG.js → index.CL2tKcqp.js} +1 -1
- streamlit/static/static/js/{index.Cx59kXcb.js → index.CUgLUHzz.js} +1 -1
- streamlit/static/static/js/{index.BMd4yctQ.js → index.Ca71cNwT.js} +1 -1
- streamlit/static/static/js/{index.lQYpmexK.js → index.ChFrryup.js} +1 -1
- streamlit/static/static/js/{index.DLQQdwIj.js → index.CsowBPbe.js} +1 -1
- streamlit/static/static/js/{index.DsdPm0SS.js → index.D9G9SbyS.js} +1 -1
- streamlit/static/static/js/{index.DEc9e9_6.js → index.D9lVoZ0g.js} +1 -1
- streamlit/static/static/js/{index.gMS0zlRZ.js → index.D9m0XlZY.js} +1 -1
- streamlit/static/static/js/{index.DtbQuv3u.js → index.DBSP2Mzg.js} +1 -1
- streamlit/static/static/js/{index.B465_5qO.js → index.DJFU0ONs.js} +1 -1
- streamlit/static/static/js/{index.C4H2pObU.js → index.DJM4CJwf.js} +1 -1
- streamlit/static/static/js/{index.Do1oo2Dl.js → index.DQtc0wgD.js} +1 -1
- streamlit/static/static/js/{index.DzC4L_Us.js → index.DYOc3lvA.js} +1 -1
- streamlit/static/static/js/index.DkDMkGP_.js +197 -0
- streamlit/static/static/js/{index.C_ub2Pfc.js → index.DlvTB7Ab.js} +1 -1
- streamlit/static/static/js/{index.BHoorvVC.js → index.Dmsp2dPx.js} +64 -64
- streamlit/static/static/js/index.MJ13AaAl.js +1 -0
- streamlit/static/static/js/{index.z241Yt9a.js → index.Vqz4Rf-H.js} +1 -1
- streamlit/static/static/js/{index.BNiT2b3M.js → index.WCZtB2fX.js} +1 -1
- streamlit/static/static/js/{index.Dsil7y_J.js → index.ZDNW54LS.js} +1 -1
- streamlit/static/static/js/{index.D-doFAXM.js → index.bBcPxeDg.js} +1 -1
- streamlit/static/static/js/{index.CLg6_EPb.js → index.ffsleSUc.js} +1 -1
- streamlit/static/static/js/{index.UFChjuC3.js → index.fnZJbfUF.js} +1 -1
- streamlit/static/static/js/{index.CDk53kDT.js → index.lM0dtLa7.js} +1 -1
- streamlit/static/static/js/{index.CDhJdsJ-.js → index.pxx1WhzW.js} +1 -1
- streamlit/static/static/js/{index.DcEV00Pn.js → index.rSXfDs8E.js} +1 -1
- streamlit/static/static/js/{index.BSHRz8-s.js → index.zmzbyDg-.js} +1 -1
- streamlit/static/static/js/{input.C8HOZnEd.js → input.zZ5PCHhH.js} +1 -1
- streamlit/static/static/js/{memory.8fc2LDiK.js → memory.BGxwio87.js} +1 -1
- streamlit/static/static/js/{mergeWith.xmxP-tqn.js → mergeWith.CAjjDs4h.js} +1 -1
- streamlit/static/static/js/{number-overlay-editor.DtoLRumH.js → number-overlay-editor.D6O6Urda.js} +1 -1
- streamlit/static/static/js/{possibleConstructorReturn.DqUCGXEg.js → possibleConstructorReturn.Bv3kil8b.js} +1 -1
- streamlit/static/static/js/{sandbox.de7mpc93.js → sandbox.DqowwceX.js} +1 -1
- streamlit/static/static/js/{textarea.9dU6cbLz.js → textarea.mjUutfC5.js} +1 -1
- streamlit/static/static/js/{timepicker.DANyzCwb.js → timepicker.D5asOTRg.js} +1 -1
- streamlit/static/static/js/{toConsumableArray.Bja4AaDo.js → toConsumableArray.CbOloveN.js} +1 -1
- streamlit/static/static/js/{uniqueId.q5r0gCRd.js → uniqueId.DldNV5wM.js} +1 -1
- streamlit/static/static/js/{useBasicWidgetState.B0oxOutH.js → useBasicWidgetState.DILnXvLY.js} +1 -1
- streamlit/static/static/js/{useOnInputChange.XxzVJXCy.js → useOnInputChange.Bpbev6mM.js} +1 -1
- streamlit/static/static/js/withFullScreenWrapper.Dgyv-A2q.js +1 -0
- streamlit/watcher/event_based_path_watcher.py +76 -44
- streamlit/watcher/local_sources_watcher.py +22 -19
- streamlit/watcher/polling_path_watcher.py +29 -18
- streamlit/watcher/util.py +7 -8
- {streamlit_nightly-1.46.2.dev20250702.dist-info → streamlit_nightly-1.46.2.dev20250704.dist-info}/METADATA +1 -1
- {streamlit_nightly-1.46.2.dev20250702.dist-info → streamlit_nightly-1.46.2.dev20250704.dist-info}/RECORD +82 -82
- streamlit/static/static/js/index.DFtXcE7L.js +0 -197
- streamlit/static/static/js/index.DRodAgy0.js +0 -1
- streamlit/static/static/js/withFullScreenWrapper.eXXoswSf.js +0 -1
- {streamlit_nightly-1.46.2.dev20250702.data → streamlit_nightly-1.46.2.dev20250704.data}/scripts/streamlit.cmd +0 -0
- {streamlit_nightly-1.46.2.dev20250702.dist-info → streamlit_nightly-1.46.2.dev20250704.dist-info}/WHEEL +0 -0
- {streamlit_nightly-1.46.2.dev20250702.dist-info → streamlit_nightly-1.46.2.dev20250704.dist-info}/entry_points.txt +0 -0
- {streamlit_nightly-1.46.2.dev20250702.dist-info → streamlit_nightly-1.46.2.dev20250704.dist-info}/top_level.txt +0 -0
streamlit/auth_util.py
CHANGED
@@ -116,7 +116,7 @@ def decode_provider_token(provider_token: str) -> ProviderTokenPayload:
|
|
116
116
|
# the 'exp' (and it is not expired), and 'provider' field exists.
|
117
117
|
claim_options = {"exp": {"essential": True}, "provider": {"essential": True}}
|
118
118
|
try:
|
119
|
-
payload: JWTClaims = jwt.decode(
|
119
|
+
payload: JWTClaims = jwt.decode(
|
120
120
|
provider_token, get_signing_secret(), claims_options=claim_options
|
121
121
|
)
|
122
122
|
payload.validate()
|
@@ -154,6 +154,7 @@ class ProgressColumnConfig(TypedDict):
|
|
154
154
|
format: NotRequired[str | NumberFormat | None]
|
155
155
|
min_value: NotRequired[int | float | None]
|
156
156
|
max_value: NotRequired[int | float | None]
|
157
|
+
step: NotRequired[int | float | None]
|
157
158
|
|
158
159
|
|
159
160
|
class JsonColumnConfig(TypedDict):
|
@@ -1984,6 +1985,7 @@ def ProgressColumn(
|
|
1984
1985
|
format: str | NumberFormat | None = None,
|
1985
1986
|
min_value: int | float | None = None,
|
1986
1987
|
max_value: int | float | None = None,
|
1988
|
+
step: int | float | None = None,
|
1987
1989
|
) -> ColumnConfig:
|
1988
1990
|
"""Configure a progress column in ``st.dataframe`` or ``st.data_editor``.
|
1989
1991
|
|
@@ -2056,6 +2058,12 @@ def ProgressColumn(
|
|
2056
2058
|
The maximum value of the progress bar. If this is ``None`` (default),
|
2057
2059
|
the maximum will be 100 for integer values and 1.0 for float values.
|
2058
2060
|
|
2061
|
+
step: int, float, or None
|
2062
|
+
The precision of numbers. If this is ``None`` (default), integer columns
|
2063
|
+
will have a step of 1 and float columns will have a step of 0.01.
|
2064
|
+
Setting ``step`` for float columns will ensure a consistent number of
|
2065
|
+
digits after the decimal are displayed.
|
2066
|
+
|
2059
2067
|
Examples
|
2060
2068
|
--------
|
2061
2069
|
>>> import pandas as pd
|
@@ -2096,6 +2104,7 @@ def ProgressColumn(
|
|
2096
2104
|
format=format,
|
2097
2105
|
min_value=min_value,
|
2098
2106
|
max_value=max_value,
|
2107
|
+
step=step,
|
2099
2108
|
),
|
2100
2109
|
)
|
2101
2110
|
|
streamlit/errors.py
CHANGED
@@ -79,6 +79,12 @@ class MarkdownFormattedException(Error): # noqa: N818
|
|
79
79
|
pass
|
80
80
|
|
81
81
|
|
82
|
+
class StreamlitMaxRetriesError(Error):
|
83
|
+
"""An exception raised when a file or folder cannot be accessed after multiple retries."""
|
84
|
+
|
85
|
+
pass
|
86
|
+
|
87
|
+
|
82
88
|
class StreamlitAPIException(MarkdownFormattedException):
|
83
89
|
"""Base class for Streamlit API exceptions.
|
84
90
|
|
streamlit/runtime/secrets.py
CHANGED
@@ -429,9 +429,14 @@ class Secrets(Mapping[str, Any]):
|
|
429
429
|
self._on_secrets_changed,
|
430
430
|
watcher_type="poll",
|
431
431
|
)
|
432
|
-
except
|
432
|
+
except Exception: # noqa: PERF203
|
433
|
+
_LOGGER.debug(
|
434
|
+
"Failed to install file watcher for secret file path %s",
|
435
|
+
path,
|
436
|
+
exc_info=True,
|
437
|
+
)
|
433
438
|
# A user may only have one secrets.toml file defined, so we'd expect
|
434
|
-
#
|
439
|
+
# exceptions to be raised when attempting to install a
|
435
440
|
# watcher on the nonexistent ones.
|
436
441
|
pass
|
437
442
|
|
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.Dmsp2dPx.js"></script>
|
41
41
|
<link rel="stylesheet" crossorigin href="./static/css/index.CJVRHjQZ.css">
|
42
42
|
</head>
|
43
43
|
<body>
|