streamlit-nightly 1.35.1.dev20240601__py2.py3-none-any.whl → 1.35.1.dev20240604__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/commands/navigation.py +8 -5
- streamlit/elements/deck_gl_json_chart.py +1 -1
- streamlit/elements/form.py +8 -3
- streamlit/elements/layouts.py +11 -3
- streamlit/elements/lib/policies.py +28 -2
- streamlit/elements/map.py +6 -6
- streamlit/elements/plotly_chart.py +3 -0
- streamlit/elements/pyplot.py +6 -5
- streamlit/elements/vega_charts.py +26 -16
- streamlit/elements/widgets/button.py +28 -11
- streamlit/elements/widgets/camera_input.py +2 -0
- streamlit/elements/widgets/chat.py +7 -6
- streamlit/elements/widgets/checkbox.py +2 -0
- streamlit/elements/widgets/color_picker.py +2 -0
- streamlit/elements/widgets/data_editor.py +2 -2
- streamlit/elements/widgets/file_uploader.py +2 -0
- streamlit/elements/widgets/multiselect.py +2 -0
- streamlit/elements/widgets/number_input.py +2 -0
- streamlit/elements/widgets/radio.py +2 -0
- streamlit/elements/widgets/selectbox.py +2 -0
- streamlit/elements/widgets/slider.py +2 -0
- streamlit/elements/widgets/text_widgets.py +4 -0
- streamlit/elements/widgets/time_widgets.py +4 -0
- streamlit/elements/write.py +3 -0
- streamlit/hello/Hello.py +22 -28
- streamlit/hello/streamlit_app.py +37 -0
- streamlit/proto/Alert_pb2.py +12 -11
- streamlit/proto/Alert_pb2.pyi +4 -2
- streamlit/proto/AppPage_pb2.py +10 -9
- streamlit/proto/AppPage_pb2.pyi +4 -7
- streamlit/proto/ArrowNamedDataSet_pb2.py +10 -9
- streamlit/proto/ArrowNamedDataSet_pb2.pyi +6 -8
- streamlit/proto/ArrowVegaLiteChart_pb2.py +10 -9
- streamlit/proto/ArrowVegaLiteChart_pb2.pyi +16 -16
- streamlit/proto/Arrow_pb2.py +16 -15
- streamlit/proto/Arrow_pb2.pyi +14 -8
- streamlit/proto/Audio_pb2.py +10 -9
- streamlit/proto/Audio_pb2.pyi +4 -7
- streamlit/proto/AutoRerun_pb2.py +9 -8
- streamlit/proto/AutoRerun_pb2.pyi +4 -7
- streamlit/proto/BackMsg_pb2.py +10 -9
- streamlit/proto/BackMsg_pb2.pyi +18 -19
- streamlit/proto/Balloons_pb2.py +10 -9
- streamlit/proto/Balloons_pb2.pyi +4 -7
- streamlit/proto/Block_pb2.py +34 -33
- streamlit/proto/Block_pb2.pyi +31 -19
- streamlit/proto/BokehChart_pb2.py +10 -9
- streamlit/proto/BokehChart_pb2.pyi +4 -7
- streamlit/proto/Button_pb2.py +10 -9
- streamlit/proto/Button_pb2.pyi +4 -7
- streamlit/proto/CameraInput_pb2.py +10 -9
- streamlit/proto/CameraInput_pb2.pyi +5 -8
- streamlit/proto/ChatInput_pb2.py +12 -11
- streamlit/proto/ChatInput_pb2.pyi +4 -2
- streamlit/proto/Checkbox_pb2.py +12 -11
- streamlit/proto/Checkbox_pb2.pyi +6 -4
- streamlit/proto/ClientState_pb2.py +10 -9
- streamlit/proto/ClientState_pb2.pyi +7 -10
- streamlit/proto/Code_pb2.py +10 -9
- streamlit/proto/Code_pb2.pyi +4 -7
- streamlit/proto/ColorPicker_pb2.py +10 -9
- streamlit/proto/ColorPicker_pb2.pyi +5 -8
- streamlit/proto/Common_pb2.py +32 -31
- streamlit/proto/Common_pb2.pyi +32 -23
- streamlit/proto/Components_pb2.py +18 -17
- streamlit/proto/Components_pb2.pyi +25 -23
- streamlit/proto/DataFrame_pb2.py +38 -37
- streamlit/proto/DataFrame_pb2.pyi +52 -33
- streamlit/proto/DateInput_pb2.py +10 -9
- streamlit/proto/DateInput_pb2.pyi +10 -13
- streamlit/proto/DeckGlJsonChart_pb2.py +10 -9
- streamlit/proto/DeckGlJsonChart_pb2.pyi +4 -7
- streamlit/proto/Delta_pb2.py +10 -9
- streamlit/proto/Delta_pb2.pyi +10 -10
- streamlit/proto/DocString_pb2.py +12 -11
- streamlit/proto/DocString_pb2.pyi +9 -10
- streamlit/proto/DownloadButton_pb2.py +10 -9
- streamlit/proto/DownloadButton_pb2.pyi +4 -7
- streamlit/proto/Element_pb2.py +10 -9
- streamlit/proto/Element_pb2.pyi +10 -9
- streamlit/proto/Empty_pb2.py +10 -9
- streamlit/proto/Empty_pb2.pyi +3 -0
- streamlit/proto/Exception_pb2.py +10 -9
- streamlit/proto/Exception_pb2.pyi +8 -10
- streamlit/proto/Favicon_pb2.py +10 -9
- streamlit/proto/Favicon_pb2.pyi +4 -7
- streamlit/proto/FileUploader_pb2.py +10 -9
- streamlit/proto/FileUploader_pb2.pyi +9 -11
- streamlit/proto/ForwardMsg_pb2.py +16 -15
- streamlit/proto/ForwardMsg_pb2.pyi +36 -24
- streamlit/proto/GitInfo_pb2.py +12 -11
- streamlit/proto/GitInfo_pb2.pyi +5 -3
- streamlit/proto/GraphVizChart_pb2.py +10 -9
- streamlit/proto/GraphVizChart_pb2.pyi +4 -7
- streamlit/proto/Heading_pb2.py +10 -9
- streamlit/proto/Heading_pb2.pyi +4 -7
- streamlit/proto/Html_pb2.py +10 -9
- streamlit/proto/Html_pb2.pyi +4 -7
- streamlit/proto/IFrame_pb2.py +10 -9
- streamlit/proto/IFrame_pb2.pyi +6 -9
- streamlit/proto/Image_pb2.py +12 -11
- streamlit/proto/Image_pb2.pyi +8 -10
- streamlit/proto/Json_pb2.py +10 -9
- streamlit/proto/Json_pb2.pyi +4 -7
- streamlit/proto/LabelVisibilityMessage_pb2.py +12 -11
- streamlit/proto/LabelVisibilityMessage_pb2.pyi +4 -2
- streamlit/proto/LinkButton_pb2.py +10 -9
- streamlit/proto/LinkButton_pb2.pyi +4 -7
- streamlit/proto/Logo_pb2.py +10 -9
- streamlit/proto/Logo_pb2.pyi +4 -7
- streamlit/proto/Markdown_pb2.py +12 -11
- streamlit/proto/Markdown_pb2.pyi +4 -2
- streamlit/proto/Metric_pb2.py +14 -13
- streamlit/proto/Metric_pb2.pyi +6 -4
- streamlit/proto/MultiSelect_pb2.py +10 -9
- streamlit/proto/MultiSelect_pb2.pyi +11 -14
- streamlit/proto/NamedDataSet_pb2.py +10 -9
- streamlit/proto/NamedDataSet_pb2.pyi +6 -8
- streamlit/proto/Navigation_pb2.py +12 -11
- streamlit/proto/Navigation_pb2.pyi +7 -5
- streamlit/proto/NewSession_pb2.py +32 -31
- streamlit/proto/NewSession_pb2.pyi +52 -36
- streamlit/proto/NumberInput_pb2.py +12 -11
- streamlit/proto/NumberInput_pb2.pyi +8 -6
- streamlit/proto/PageConfig_pb2.py +16 -15
- streamlit/proto/PageConfig_pb2.pyi +8 -5
- streamlit/proto/PageInfo_pb2.py +10 -9
- streamlit/proto/PageInfo_pb2.pyi +4 -7
- streamlit/proto/PageLink_pb2.py +10 -9
- streamlit/proto/PageLink_pb2.pyi +6 -9
- streamlit/proto/PageNotFound_pb2.py +10 -9
- streamlit/proto/PageNotFound_pb2.pyi +4 -7
- streamlit/proto/PageProfile_pb2.py +14 -13
- streamlit/proto/PageProfile_pb2.pyi +15 -16
- streamlit/proto/PagesChanged_pb2.py +10 -9
- streamlit/proto/PagesChanged_pb2.pyi +4 -7
- streamlit/proto/ParentMessage_pb2.py +10 -9
- streamlit/proto/ParentMessage_pb2.pyi +4 -7
- streamlit/proto/PlotlyChart_pb2.py +14 -13
- streamlit/proto/PlotlyChart_pb2.pyi +13 -8
- streamlit/proto/Progress_pb2.py +10 -9
- streamlit/proto/Progress_pb2.pyi +4 -7
- streamlit/proto/Radio_pb2.py +10 -9
- streamlit/proto/Radio_pb2.pyi +8 -12
- streamlit/proto/RootContainer_pb2.py +10 -9
- streamlit/proto/RootContainer_pb2.pyi +2 -1
- streamlit/proto/Selectbox_pb2.py +10 -9
- streamlit/proto/Selectbox_pb2.pyi +9 -13
- streamlit/proto/SessionEvent_pb2.py +10 -9
- streamlit/proto/SessionEvent_pb2.pyi +7 -9
- streamlit/proto/SessionStatus_pb2.py +10 -9
- streamlit/proto/SessionStatus_pb2.pyi +4 -7
- streamlit/proto/Skeleton_pb2.py +12 -11
- streamlit/proto/Skeleton_pb2.pyi +6 -4
- streamlit/proto/Slider_pb2.py +14 -13
- streamlit/proto/Slider_pb2.pyi +12 -10
- streamlit/proto/Snow_pb2.py +10 -9
- streamlit/proto/Snow_pb2.pyi +4 -7
- streamlit/proto/Spinner_pb2.py +10 -9
- streamlit/proto/Spinner_pb2.pyi +4 -7
- streamlit/proto/TextArea_pb2.py +10 -9
- streamlit/proto/TextArea_pb2.pyi +6 -10
- streamlit/proto/TextInput_pb2.py +12 -11
- streamlit/proto/TextInput_pb2.pyi +7 -5
- streamlit/proto/Text_pb2.py +10 -9
- streamlit/proto/Text_pb2.pyi +4 -7
- streamlit/proto/TimeInput_pb2.py +10 -9
- streamlit/proto/TimeInput_pb2.pyi +7 -11
- streamlit/proto/Toast_pb2.py +10 -9
- streamlit/proto/Toast_pb2.pyi +4 -7
- streamlit/proto/VegaLiteChart_pb2.py +10 -9
- streamlit/proto/VegaLiteChart_pb2.pyi +9 -10
- streamlit/proto/Video_pb2.py +14 -13
- streamlit/proto/Video_pb2.pyi +10 -6
- streamlit/proto/WidgetStates_pb2.py +12 -11
- streamlit/proto/WidgetStates_pb2.pyi +11 -12
- streamlit/proto/openmetrics_data_model_pb2.py +42 -41
- streamlit/proto/openmetrics_data_model_pb2.pyi +64 -31
- streamlit/runtime/caching/cached_message_replay.py +14 -29
- streamlit/runtime/fragment.py +3 -0
- streamlit/runtime/scriptrunner/script_run_context.py +1 -0
- streamlit/runtime/secrets.py +14 -0
- streamlit/static/asset-manifest.json +19 -19
- streamlit/static/index.html +1 -1
- streamlit/static/static/js/{1074.73973756.chunk.js → 1074.a92bc15f.chunk.js} +1 -1
- streamlit/static/static/js/1307.36b77087.chunk.js +1 -0
- streamlit/static/static/js/1451.229b62c4.chunk.js +1 -0
- streamlit/static/static/js/2469.5a75ba8e.chunk.js +1 -0
- streamlit/static/static/js/3599.565b1eba.chunk.js +1 -0
- streamlit/static/static/js/{4477.1bd49702.chunk.js → 4477.87935ac8.chunk.js} +1 -1
- streamlit/static/static/js/4500.be0eb305.chunk.js +1 -0
- streamlit/static/static/js/4666.a9344a3a.chunk.js +1 -0
- streamlit/static/static/js/5441.87f335e6.chunk.js +1 -0
- streamlit/static/static/js/6013.f6083314.chunk.js +1 -0
- streamlit/static/static/js/{6718.802da17e.chunk.js → 6718.2e6586ef.chunk.js} +1 -1
- streamlit/static/static/js/7175.8f4014ec.chunk.js +1 -0
- streamlit/static/static/js/7602.a20a999b.chunk.js +1 -0
- streamlit/static/static/js/8148.1b2c085e.chunk.js +1 -0
- streamlit/static/static/js/8427.59805a7f.chunk.js +1 -0
- streamlit/static/static/js/{8492.0d93bd08.chunk.js → 8492.8ad745d1.chunk.js} +1 -1
- streamlit/static/static/js/8691.cb9c04cf.chunk.js +1 -0
- streamlit/static/static/js/main.ea823277.js +2 -0
- streamlit/type_util.py +7 -0
- streamlit/web/cli.py +2 -2
- streamlit/web/server/server.py +2 -2
- {streamlit_nightly-1.35.1.dev20240601.dist-info → streamlit_nightly-1.35.1.dev20240604.dist-info}/METADATA +5 -5
- {streamlit_nightly-1.35.1.dev20240601.dist-info → streamlit_nightly-1.35.1.dev20240604.dist-info}/RECORD +216 -215
- streamlit/static/static/js/1307.0f0cca93.chunk.js +0 -1
- streamlit/static/static/js/1451.3b0a3e31.chunk.js +0 -1
- streamlit/static/static/js/2469.09ea79bb.chunk.js +0 -1
- streamlit/static/static/js/4500.b6f348d1.chunk.js +0 -1
- streamlit/static/static/js/4666.c4b22a63.chunk.js +0 -1
- streamlit/static/static/js/5379.f08eddd1.chunk.js +0 -1
- streamlit/static/static/js/5441.1b94928f.chunk.js +0 -1
- streamlit/static/static/js/6013.4ba2d616.chunk.js +0 -1
- streamlit/static/static/js/7175.583ff733.chunk.js +0 -1
- streamlit/static/static/js/7602.e8abc06b.chunk.js +0 -1
- streamlit/static/static/js/8148.293984e0.chunk.js +0 -1
- streamlit/static/static/js/8427.bd0a7cf3.chunk.js +0 -1
- streamlit/static/static/js/8691.4211c305.chunk.js +0 -1
- streamlit/static/static/js/main.707da454.js +0 -2
- /streamlit/hello/{pages/0_Animation_Demo.py → Animation_Demo.py} +0 -0
- /streamlit/hello/{pages/3_DataFrame_Demo.py → Dataframe_Demo.py} +0 -0
- /streamlit/hello/{pages/2_Mapping_Demo.py → Mapping_Demo.py} +0 -0
- /streamlit/hello/{pages/1_Plotting_Demo.py → Plotting_Demo.py} +0 -0
- /streamlit/static/static/js/{main.707da454.js.LICENSE.txt → main.ea823277.js.LICENSE.txt} +0 -0
- {streamlit_nightly-1.35.1.dev20240601.data → streamlit_nightly-1.35.1.dev20240604.data}/scripts/streamlit.cmd +0 -0
- {streamlit_nightly-1.35.1.dev20240601.dist-info → streamlit_nightly-1.35.1.dev20240604.dist-info}/WHEEL +0 -0
- {streamlit_nightly-1.35.1.dev20240601.dist-info → streamlit_nightly-1.35.1.dev20240604.dist-info}/entry_points.txt +0 -0
- {streamlit_nightly-1.35.1.dev20240601.dist-info → streamlit_nightly-1.35.1.dev20240604.dist-info}/top_level.txt +0 -0
streamlit/type_util.py
CHANGED
@@ -59,6 +59,8 @@ if TYPE_CHECKING:
|
|
59
59
|
from plotly.graph_objs import Figure
|
60
60
|
from pydeck import Deck
|
61
61
|
|
62
|
+
from streamlit.runtime.secrets import Secrets
|
63
|
+
|
62
64
|
|
63
65
|
# Maximum number of rows to request from an unevaluated (out-of-core) dataframe
|
64
66
|
MAX_UNEVALUATED_DF_ROWS = 10000
|
@@ -535,6 +537,11 @@ def is_iterable(obj: object) -> TypeGuard[Iterable[Any]]:
|
|
535
537
|
return True
|
536
538
|
|
537
539
|
|
540
|
+
def is_streamlit_secrets_class(obj: object) -> TypeGuard[Secrets]:
|
541
|
+
"""True if obj is a Streamlit Secrets object."""
|
542
|
+
return is_type(obj, "streamlit.runtime.secrets.Secrets")
|
543
|
+
|
544
|
+
|
538
545
|
def is_sequence(seq: Any) -> bool:
|
539
546
|
"""True if input looks like a sequence."""
|
540
547
|
if isinstance(seq, str):
|
streamlit/web/cli.py
CHANGED
@@ -180,10 +180,10 @@ def main_docs():
|
|
180
180
|
@configurator_options
|
181
181
|
def main_hello(**kwargs):
|
182
182
|
"""Runs the Hello World script."""
|
183
|
-
from streamlit.hello import
|
183
|
+
from streamlit.hello import streamlit_app
|
184
184
|
|
185
185
|
bootstrap.load_config_options(flag_options=kwargs)
|
186
|
-
filename =
|
186
|
+
filename = streamlit_app.__file__
|
187
187
|
_main_run(filename, flag_options=kwargs)
|
188
188
|
|
189
189
|
|
streamlit/web/server/server.py
CHANGED
@@ -396,9 +396,9 @@ class Server:
|
|
396
396
|
|
397
397
|
@property
|
398
398
|
def is_running_hello(self) -> bool:
|
399
|
-
from streamlit.hello import
|
399
|
+
from streamlit.hello import streamlit_app
|
400
400
|
|
401
|
-
return self._main_script_path ==
|
401
|
+
return self._main_script_path == streamlit_app.__file__
|
402
402
|
|
403
403
|
def stop(self) -> None:
|
404
404
|
cli_util.print_to_cli(" Stopping...", fg="blue")
|
@@ -1,6 +1,6 @@
|
|
1
1
|
Metadata-Version: 2.1
|
2
2
|
Name: streamlit-nightly
|
3
|
-
Version: 1.35.1.
|
3
|
+
Version: 1.35.1.dev20240604
|
4
4
|
Summary: A faster way to build and share data apps
|
5
5
|
Home-page: https://streamlit.io
|
6
6
|
Author: Snowflake Inc
|
@@ -35,11 +35,11 @@ Requires-Dist: altair <6,>=4.0
|
|
35
35
|
Requires-Dist: blinker <2,>=1.0.0
|
36
36
|
Requires-Dist: cachetools <6,>=4.0
|
37
37
|
Requires-Dist: click <9,>=7.0
|
38
|
-
Requires-Dist: numpy <2,>=1.
|
39
|
-
Requires-Dist: packaging <25,>=
|
38
|
+
Requires-Dist: numpy <2,>=1.20
|
39
|
+
Requires-Dist: packaging <25,>=20
|
40
40
|
Requires-Dist: pandas <3,>=1.3.0
|
41
41
|
Requires-Dist: pillow <11,>=7.1.0
|
42
|
-
Requires-Dist: protobuf <
|
42
|
+
Requires-Dist: protobuf <6,>=3.20
|
43
43
|
Requires-Dist: pyarrow >=7.0
|
44
44
|
Requires-Dist: requests <3,>=2.27
|
45
45
|
Requires-Dist: rich <14,>=10.14.0
|
@@ -49,7 +49,7 @@ Requires-Dist: typing-extensions <5,>=4.3.0
|
|
49
49
|
Requires-Dist: gitpython !=3.1.19,<4,>=3.0.7
|
50
50
|
Requires-Dist: pydeck <1,>=0.8.0b4
|
51
51
|
Requires-Dist: tornado <7,>=6.0.3
|
52
|
-
Requires-Dist: watchdog
|
52
|
+
Requires-Dist: watchdog <5,>=2.1.5 ; platform_system != "Darwin"
|
53
53
|
Provides-Extra: snowflake
|
54
54
|
Requires-Dist: snowflake-snowpark-python >=0.9.0 ; (python_version < "3.12") and extra == 'snowflake'
|
55
55
|
Requires-Dist: snowflake-connector-python >=2.8.0 ; (python_version < "3.12") and extra == 'snowflake'
|