streamlit-data-editor-plus 0.1.0__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 +292 -0
- streamlit/__main__.py +20 -0
- streamlit/auth_util.py +583 -0
- streamlit/cli_util.py +107 -0
- streamlit/column_config.py +60 -0
- streamlit/commands/__init__.py +13 -0
- streamlit/commands/echo.py +128 -0
- streamlit/commands/execution_control.py +318 -0
- streamlit/commands/logo.py +250 -0
- streamlit/commands/navigation.py +430 -0
- streamlit/commands/page_config.py +335 -0
- streamlit/components/__init__.py +13 -0
- streamlit/components/lib/__init__.py +13 -0
- streamlit/components/lib/local_component_registry.py +84 -0
- streamlit/components/types/__init__.py +13 -0
- streamlit/components/types/base_component_registry.py +99 -0
- streamlit/components/types/base_custom_component.py +158 -0
- streamlit/components/v1/__init__.py +29 -0
- streamlit/components/v1/component_arrow.py +141 -0
- streamlit/components/v1/component_registry.py +147 -0
- streamlit/components/v1/components.py +38 -0
- streamlit/components/v1/custom_component.py +239 -0
- streamlit/components/v2/__init__.py +531 -0
- streamlit/components/v2/bidi_component/__init__.py +20 -0
- streamlit/components/v2/bidi_component/constants.py +29 -0
- streamlit/components/v2/bidi_component/main.py +537 -0
- streamlit/components/v2/bidi_component/serialization.py +272 -0
- streamlit/components/v2/bidi_component/state.py +92 -0
- streamlit/components/v2/component_definition_resolver.py +143 -0
- streamlit/components/v2/component_file_watcher.py +403 -0
- streamlit/components/v2/component_manager.py +439 -0
- streamlit/components/v2/component_manifest_handler.py +122 -0
- streamlit/components/v2/component_path_utils.py +233 -0
- streamlit/components/v2/component_registry.py +426 -0
- streamlit/components/v2/get_bidi_component_manager.py +51 -0
- streamlit/components/v2/manifest_scanner.py +620 -0
- streamlit/components/v2/presentation.py +198 -0
- streamlit/components/v2/types.py +317 -0
- streamlit/config.py +2977 -0
- streamlit/config_option.py +319 -0
- streamlit/config_util.py +887 -0
- streamlit/connections/__init__.py +32 -0
- streamlit/connections/base_connection.py +215 -0
- streamlit/connections/snowflake_connection.py +765 -0
- streamlit/connections/snowpark_connection.py +213 -0
- streamlit/connections/sql_connection.py +427 -0
- streamlit/connections/util.py +97 -0
- streamlit/cursor.py +314 -0
- streamlit/dataframe_util.py +1434 -0
- streamlit/delta_generator.py +696 -0
- streamlit/delta_generator_singletons.py +243 -0
- streamlit/deprecation_util.py +253 -0
- streamlit/development.py +21 -0
- streamlit/elements/__init__.py +13 -0
- streamlit/elements/alert.py +341 -0
- streamlit/elements/arrow.py +1065 -0
- streamlit/elements/balloons.py +47 -0
- streamlit/elements/bokeh_chart.py +75 -0
- streamlit/elements/code.py +154 -0
- streamlit/elements/deck_gl_json_chart.py +627 -0
- streamlit/elements/dialog_decorator.py +320 -0
- streamlit/elements/empty.py +130 -0
- streamlit/elements/exception.py +370 -0
- streamlit/elements/form.py +481 -0
- streamlit/elements/graphviz_chart.py +226 -0
- streamlit/elements/heading.py +407 -0
- streamlit/elements/help.py +565 -0
- streamlit/elements/html.py +189 -0
- streamlit/elements/iframe.py +245 -0
- streamlit/elements/image.py +221 -0
- streamlit/elements/json.py +171 -0
- streamlit/elements/layouts.py +1534 -0
- streamlit/elements/lib/__init__.py +13 -0
- streamlit/elements/lib/built_in_chart_utils.py +1316 -0
- streamlit/elements/lib/color_util.py +272 -0
- streamlit/elements/lib/column_config_utils.py +555 -0
- streamlit/elements/lib/column_types.py +2699 -0
- streamlit/elements/lib/dialog.py +212 -0
- streamlit/elements/lib/dicttools.py +152 -0
- streamlit/elements/lib/file_uploader_utils.py +91 -0
- streamlit/elements/lib/form_utils.py +77 -0
- streamlit/elements/lib/image_utils.py +447 -0
- streamlit/elements/lib/js_number.py +105 -0
- streamlit/elements/lib/layout_utils.py +325 -0
- streamlit/elements/lib/mutable_expander_container.py +73 -0
- streamlit/elements/lib/mutable_popover_container.py +73 -0
- streamlit/elements/lib/mutable_status_container.py +194 -0
- streamlit/elements/lib/mutable_tab_container.py +73 -0
- streamlit/elements/lib/options_selector_utils.py +480 -0
- streamlit/elements/lib/pandas_styler_utils.py +302 -0
- streamlit/elements/lib/policies.py +198 -0
- streamlit/elements/lib/shortcut_utils.py +152 -0
- streamlit/elements/lib/streamlit_plotly_theme.py +206 -0
- streamlit/elements/lib/subtitle_utils.py +175 -0
- streamlit/elements/lib/utils.py +274 -0
- streamlit/elements/map.py +526 -0
- streamlit/elements/markdown.py +529 -0
- streamlit/elements/media.py +843 -0
- streamlit/elements/metric.py +529 -0
- streamlit/elements/pdf.py +190 -0
- streamlit/elements/plotly_chart.py +779 -0
- streamlit/elements/progress.py +172 -0
- streamlit/elements/pyplot.py +240 -0
- streamlit/elements/snow.py +47 -0
- streamlit/elements/space.py +121 -0
- streamlit/elements/spinner.py +152 -0
- streamlit/elements/table.py +240 -0
- streamlit/elements/text.py +113 -0
- streamlit/elements/toast.py +175 -0
- streamlit/elements/vega_charts.py +2510 -0
- streamlit/elements/widgets/__init__.py +13 -0
- streamlit/elements/widgets/audio_input.py +334 -0
- streamlit/elements/widgets/button.py +1559 -0
- streamlit/elements/widgets/button_group.py +1061 -0
- streamlit/elements/widgets/camera_input.py +281 -0
- streamlit/elements/widgets/chat.py +1028 -0
- streamlit/elements/widgets/checkbox.py +420 -0
- streamlit/elements/widgets/color_picker.py +329 -0
- streamlit/elements/widgets/data_editor.py +1168 -0
- streamlit/elements/widgets/data_editor_plus.py +902 -0
- streamlit/elements/widgets/feedback.py +322 -0
- streamlit/elements/widgets/file_uploader.py +592 -0
- streamlit/elements/widgets/multiselect.py +654 -0
- streamlit/elements/widgets/number_input.py +719 -0
- streamlit/elements/widgets/radio.py +551 -0
- streamlit/elements/widgets/select_slider.py +568 -0
- streamlit/elements/widgets/selectbox.py +680 -0
- streamlit/elements/widgets/slider.py +1093 -0
- streamlit/elements/widgets/text_widgets.py +779 -0
- streamlit/elements/widgets/time_widgets.py +1712 -0
- streamlit/elements/write.py +585 -0
- streamlit/emojis.py +34 -0
- streamlit/env_util.py +56 -0
- streamlit/error_util.py +112 -0
- streamlit/errors.py +680 -0
- streamlit/external/__init__.py +13 -0
- streamlit/external/langchain/__init__.py +23 -0
- streamlit/external/langchain/streamlit_callback_handler.py +410 -0
- streamlit/file_util.py +266 -0
- streamlit/git_util.py +200 -0
- streamlit/hello/__init__.py +13 -0
- streamlit/hello/__pycache__/__init__.cpython-312.pyc +0 -0
- streamlit/hello/__pycache__/streamlit_app.cpython-312.pyc +0 -0
- streamlit/hello/animation_demo.py +82 -0
- streamlit/hello/dataframe_demo.py +71 -0
- streamlit/hello/hello.py +46 -0
- streamlit/hello/mapping_demo.py +113 -0
- streamlit/hello/plotting_demo.py +62 -0
- streamlit/hello/streamlit_app.py +57 -0
- streamlit/hello/utils.py +30 -0
- streamlit/logger.py +129 -0
- streamlit/material_icon_names.py +25 -0
- streamlit/navigation/__init__.py +13 -0
- streamlit/navigation/page.py +365 -0
- streamlit/net_util.py +125 -0
- streamlit/path_security.py +98 -0
- streamlit/platform.py +31 -0
- streamlit/proto/Alert_pb2.py +28 -0
- streamlit/proto/Alert_pb2.pyi +100 -0
- streamlit/proto/AppPage_pb2.py +25 -0
- streamlit/proto/AppPage_pb2.pyi +75 -0
- streamlit/proto/ArrowData_pb2.py +27 -0
- streamlit/proto/ArrowData_pb2.pyi +103 -0
- streamlit/proto/ArrowNamedDataSet_pb2.py +26 -0
- streamlit/proto/ArrowNamedDataSet_pb2.pyi +65 -0
- streamlit/proto/AudioInput_pb2.py +26 -0
- streamlit/proto/AudioInput_pb2.pyi +72 -0
- streamlit/proto/Audio_pb2.py +26 -0
- streamlit/proto/Audio_pb2.pyi +75 -0
- streamlit/proto/AuthRedirect_pb2.py +25 -0
- streamlit/proto/AuthRedirect_pb2.pyi +48 -0
- streamlit/proto/AutoRerun_pb2.py +25 -0
- streamlit/proto/AutoRerun_pb2.pyi +52 -0
- streamlit/proto/BackMsg_pb2.py +29 -0
- streamlit/proto/BackMsg_pb2.pyi +132 -0
- streamlit/proto/Balloons_pb2.py +25 -0
- streamlit/proto/Balloons_pb2.pyi +48 -0
- streamlit/proto/BidiComponent_pb2.py +32 -0
- streamlit/proto/BidiComponent_pb2.pyi +176 -0
- streamlit/proto/Block_pb2.py +62 -0
- streamlit/proto/Block_pb2.pyi +518 -0
- streamlit/proto/ButtonGroup_pb2.py +32 -0
- streamlit/proto/ButtonGroup_pb2.pyi +157 -0
- streamlit/proto/ButtonLikeIconPosition_pb2.py +25 -0
- streamlit/proto/ButtonLikeIconPosition_pb2.pyi +47 -0
- streamlit/proto/Button_pb2.py +26 -0
- streamlit/proto/Button_pb2.pyi +82 -0
- streamlit/proto/CameraInput_pb2.py +26 -0
- streamlit/proto/CameraInput_pb2.pyi +66 -0
- streamlit/proto/ChatInput_pb2.py +27 -0
- streamlit/proto/ChatInput_pb2.pyi +113 -0
- streamlit/proto/Checkbox_pb2.py +28 -0
- streamlit/proto/Checkbox_pb2.pyi +99 -0
- streamlit/proto/ClientState_pb2.py +28 -0
- streamlit/proto/ClientState_pb2.pyi +137 -0
- streamlit/proto/Code_pb2.py +25 -0
- streamlit/proto/Code_pb2.pyi +59 -0
- streamlit/proto/ColorPicker_pb2.py +26 -0
- streamlit/proto/ColorPicker_pb2.pyi +82 -0
- streamlit/proto/Common_pb2.py +49 -0
- streamlit/proto/Common_pb2.pyi +325 -0
- streamlit/proto/Components_pb2.py +33 -0
- streamlit/proto/Components_pb2.pyi +196 -0
- streamlit/proto/Dataframe_pb2.py +30 -0
- streamlit/proto/Dataframe_pb2.pyi +172 -0
- streamlit/proto/DateInput_pb2.py +26 -0
- streamlit/proto/DateInput_pb2.pyi +91 -0
- streamlit/proto/DateTimeInput_pb2.py +26 -0
- streamlit/proto/DateTimeInput_pb2.pyi +94 -0
- streamlit/proto/DeckGlJsonChart_pb2.py +27 -0
- streamlit/proto/DeckGlJsonChart_pb2.pyi +91 -0
- streamlit/proto/Delta_pb2.py +29 -0
- streamlit/proto/Delta_pb2.pyi +82 -0
- streamlit/proto/DownloadButton_pb2.py +26 -0
- streamlit/proto/DownloadButton_pb2.pyi +92 -0
- streamlit/proto/Element_pb2.py +81 -0
- streamlit/proto/Element_pb2.pyi +348 -0
- streamlit/proto/Empty_pb2.py +25 -0
- streamlit/proto/Empty_pb2.pyi +42 -0
- streamlit/proto/Exception_pb2.py +26 -0
- streamlit/proto/Exception_pb2.pyi +88 -0
- streamlit/proto/Favicon_pb2.py +25 -0
- streamlit/proto/Favicon_pb2.pyi +47 -0
- streamlit/proto/Feedback_pb2.py +27 -0
- streamlit/proto/Feedback_pb2.pyi +93 -0
- streamlit/proto/FileUploader_pb2.py +26 -0
- streamlit/proto/FileUploader_pb2.pyi +90 -0
- streamlit/proto/ForwardMsg_pb2.py +48 -0
- streamlit/proto/ForwardMsg_pb2.pyi +296 -0
- streamlit/proto/GapSize_pb2.py +27 -0
- streamlit/proto/GapSize_pb2.pyi +82 -0
- streamlit/proto/GitInfo_pb2.py +27 -0
- streamlit/proto/GitInfo_pb2.pyi +84 -0
- streamlit/proto/GraphVizChart_pb2.py +25 -0
- streamlit/proto/GraphVizChart_pb2.pyi +56 -0
- streamlit/proto/Heading_pb2.py +25 -0
- streamlit/proto/Heading_pb2.pyi +63 -0
- streamlit/proto/HeightConfig_pb2.py +25 -0
- streamlit/proto/HeightConfig_pb2.pyi +61 -0
- streamlit/proto/Help_pb2.py +27 -0
- streamlit/proto/Help_pb2.pyi +104 -0
- streamlit/proto/Html_pb2.py +25 -0
- streamlit/proto/Html_pb2.pyi +52 -0
- streamlit/proto/IFrame_pb2.py +25 -0
- streamlit/proto/IFrame_pb2.pyi +68 -0
- streamlit/proto/Image_pb2.py +27 -0
- streamlit/proto/Image_pb2.pyi +73 -0
- streamlit/proto/Json_pb2.py +25 -0
- streamlit/proto/Json_pb2.pyi +63 -0
- streamlit/proto/LabelVisibility_pb2.py +27 -0
- streamlit/proto/LabelVisibility_pb2.pyi +69 -0
- streamlit/proto/LinkButton_pb2.py +26 -0
- streamlit/proto/LinkButton_pb2.pyi +76 -0
- streamlit/proto/Logo_pb2.py +27 -0
- streamlit/proto/Logo_pb2.pyi +82 -0
- streamlit/proto/Markdown_pb2.py +27 -0
- streamlit/proto/Markdown_pb2.pyi +83 -0
- streamlit/proto/Metric_pb2.py +32 -0
- streamlit/proto/Metric_pb2.pyi +145 -0
- streamlit/proto/MetricsEvent_pb2.py +28 -0
- streamlit/proto/MetricsEvent_pb2.pyi +224 -0
- streamlit/proto/MultiSelect_pb2.py +26 -0
- streamlit/proto/MultiSelect_pb2.pyi +108 -0
- streamlit/proto/Navigation_pb2.py +28 -0
- streamlit/proto/Navigation_pb2.pyi +89 -0
- streamlit/proto/NewSession_pb2.py +47 -0
- streamlit/proto/NewSession_pb2.pyi +753 -0
- streamlit/proto/NumberInput_pb2.py +28 -0
- streamlit/proto/NumberInput_pb2.pyi +138 -0
- streamlit/proto/PageConfig_pb2.py +33 -0
- streamlit/proto/PageConfig_pb2.pyi +179 -0
- streamlit/proto/PageInfo_pb2.py +25 -0
- streamlit/proto/PageInfo_pb2.pyi +50 -0
- streamlit/proto/PageLink_pb2.py +26 -0
- streamlit/proto/PageLink_pb2.pyi +80 -0
- streamlit/proto/PageNotFound_pb2.py +25 -0
- streamlit/proto/PageNotFound_pb2.pyi +49 -0
- streamlit/proto/PageProfile_pb2.py +29 -0
- streamlit/proto/PageProfile_pb2.pyi +146 -0
- streamlit/proto/ParentMessage_pb2.py +25 -0
- streamlit/proto/ParentMessage_pb2.pyi +53 -0
- streamlit/proto/PlotlyChart_pb2.py +27 -0
- streamlit/proto/PlotlyChart_pb2.pyi +96 -0
- streamlit/proto/Progress_pb2.py +25 -0
- streamlit/proto/Progress_pb2.pyi +50 -0
- streamlit/proto/Radio_pb2.py +26 -0
- streamlit/proto/Radio_pb2.pyi +104 -0
- streamlit/proto/RootContainer_pb2.py +25 -0
- streamlit/proto/RootContainer_pb2.pyi +56 -0
- streamlit/proto/Selectbox_pb2.py +26 -0
- streamlit/proto/Selectbox_pb2.pyi +107 -0
- streamlit/proto/SessionEvent_pb2.py +26 -0
- streamlit/proto/SessionEvent_pb2.pyi +72 -0
- streamlit/proto/SessionStatus_pb2.py +25 -0
- streamlit/proto/SessionStatus_pb2.pyi +64 -0
- streamlit/proto/Skeleton_pb2.py +27 -0
- streamlit/proto/Skeleton_pb2.pyi +75 -0
- streamlit/proto/Slider_pb2.py +30 -0
- streamlit/proto/Slider_pb2.pyi +161 -0
- streamlit/proto/Snow_pb2.py +25 -0
- streamlit/proto/Snow_pb2.pyi +48 -0
- streamlit/proto/Space_pb2.py +25 -0
- streamlit/proto/Space_pb2.pyi +48 -0
- streamlit/proto/Spinner_pb2.py +25 -0
- streamlit/proto/Spinner_pb2.pyi +56 -0
- streamlit/proto/Table_pb2.py +28 -0
- streamlit/proto/Table_pb2.pyi +83 -0
- streamlit/proto/TextAlignmentConfig_pb2.py +27 -0
- streamlit/proto/TextAlignmentConfig_pb2.pyi +69 -0
- streamlit/proto/TextArea_pb2.py +26 -0
- streamlit/proto/TextArea_pb2.pyi +97 -0
- streamlit/proto/TextInput_pb2.py +28 -0
- streamlit/proto/TextInput_pb2.pyi +124 -0
- streamlit/proto/Text_pb2.py +25 -0
- streamlit/proto/Text_pb2.pyi +53 -0
- streamlit/proto/TimeInput_pb2.py +26 -0
- streamlit/proto/TimeInput_pb2.pyi +86 -0
- streamlit/proto/Toast_pb2.py +25 -0
- streamlit/proto/Toast_pb2.pyi +64 -0
- streamlit/proto/Transient_pb2.py +26 -0
- streamlit/proto/Transient_pb2.pyi +53 -0
- streamlit/proto/VegaLiteChart_pb2.py +27 -0
- streamlit/proto/VegaLiteChart_pb2.pyi +92 -0
- streamlit/proto/Video_pb2.py +30 -0
- streamlit/proto/Video_pb2.pyi +129 -0
- streamlit/proto/WidgetStates_pb2.py +31 -0
- streamlit/proto/WidgetStates_pb2.pyi +157 -0
- streamlit/proto/WidthConfig_pb2.py +25 -0
- streamlit/proto/WidthConfig_pb2.pyi +61 -0
- streamlit/proto/__init__.py +15 -0
- streamlit/proto/openmetrics_data_model_pb2.py +58 -0
- streamlit/proto/openmetrics_data_model_pb2.pyi +558 -0
- streamlit/py.typed +0 -0
- streamlit/runtime/__init__.py +50 -0
- streamlit/runtime/app_session.py +1302 -0
- streamlit/runtime/caching/__init__.py +118 -0
- streamlit/runtime/caching/cache_data_api.py +775 -0
- streamlit/runtime/caching/cache_errors.py +143 -0
- streamlit/runtime/caching/cache_resource_api.py +756 -0
- streamlit/runtime/caching/cache_type.py +33 -0
- streamlit/runtime/caching/cache_utils.py +601 -0
- streamlit/runtime/caching/cached_message_replay.py +290 -0
- streamlit/runtime/caching/hashing.py +655 -0
- streamlit/runtime/caching/legacy_cache_api.py +170 -0
- streamlit/runtime/caching/storage/__init__.py +29 -0
- streamlit/runtime/caching/storage/cache_storage_protocol.py +236 -0
- streamlit/runtime/caching/storage/dummy_cache_storage.py +60 -0
- streamlit/runtime/caching/storage/in_memory_cache_storage_wrapper.py +159 -0
- streamlit/runtime/caching/storage/local_disk_cache_storage.py +223 -0
- streamlit/runtime/caching/ttl_cleanup_cache.py +85 -0
- streamlit/runtime/connection_factory.py +498 -0
- streamlit/runtime/context.py +449 -0
- streamlit/runtime/context_util.py +49 -0
- streamlit/runtime/credentials.py +355 -0
- streamlit/runtime/download_data_util.py +53 -0
- streamlit/runtime/forward_msg_cache.py +101 -0
- streamlit/runtime/forward_msg_queue.py +263 -0
- streamlit/runtime/fragment.py +441 -0
- streamlit/runtime/media_file_manager.py +409 -0
- streamlit/runtime/media_file_storage.py +143 -0
- streamlit/runtime/memory_media_file_storage.py +201 -0
- streamlit/runtime/memory_session_storage.py +77 -0
- streamlit/runtime/memory_uploaded_file_manager.py +149 -0
- streamlit/runtime/metrics_util.py +612 -0
- streamlit/runtime/pages_manager.py +160 -0
- streamlit/runtime/runtime.py +775 -0
- streamlit/runtime/runtime_util.py +108 -0
- streamlit/runtime/script_data.py +46 -0
- streamlit/runtime/scriptrunner/__init__.py +38 -0
- streamlit/runtime/scriptrunner/exec_code.py +167 -0
- streamlit/runtime/scriptrunner/magic.py +277 -0
- streamlit/runtime/scriptrunner/magic_funcs.py +32 -0
- streamlit/runtime/scriptrunner/script_cache.py +89 -0
- streamlit/runtime/scriptrunner/script_runner.py +805 -0
- streamlit/runtime/scriptrunner_utils/__init__.py +19 -0
- streamlit/runtime/scriptrunner_utils/exceptions.py +44 -0
- streamlit/runtime/scriptrunner_utils/script_requests.py +311 -0
- streamlit/runtime/scriptrunner_utils/script_run_context.py +277 -0
- streamlit/runtime/secrets.py +533 -0
- streamlit/runtime/session_manager.py +430 -0
- streamlit/runtime/state/__init__.py +47 -0
- streamlit/runtime/state/common.py +256 -0
- streamlit/runtime/state/presentation.py +85 -0
- streamlit/runtime/state/query_params.py +767 -0
- streamlit/runtime/state/query_params_proxy.py +222 -0
- streamlit/runtime/state/safe_session_state.py +146 -0
- streamlit/runtime/state/session_state.py +1299 -0
- streamlit/runtime/state/session_state_proxy.py +153 -0
- streamlit/runtime/state/widgets.py +197 -0
- streamlit/runtime/stats.py +356 -0
- streamlit/runtime/theme_util.py +148 -0
- streamlit/runtime/uploaded_file_manager.py +152 -0
- streamlit/runtime/websocket_session_manager.py +301 -0
- streamlit/source_util.py +97 -0
- streamlit/starlette.py +34 -0
- streamlit/string_util.py +264 -0
- streamlit/temporary_directory.py +67 -0
- streamlit/testing/__init__.py +13 -0
- streamlit/testing/v1/__init__.py +17 -0
- streamlit/testing/v1/app_test.py +1089 -0
- streamlit/testing/v1/element_tree.py +2272 -0
- streamlit/testing/v1/local_script_runner.py +176 -0
- streamlit/testing/v1/util.py +61 -0
- streamlit/time_util.py +73 -0
- streamlit/type_util.py +480 -0
- streamlit/url_util.py +120 -0
- streamlit/user_info.py +698 -0
- streamlit/util.py +108 -0
- streamlit/vendor/__init__.py +0 -0
- streamlit/vendor/pympler/__init__.py +0 -0
- streamlit/vendor/pympler/asizeof.py +2870 -0
- streamlit/version.py +18 -0
- streamlit/watcher/__init__.py +28 -0
- streamlit/watcher/event_based_path_watcher.py +500 -0
- streamlit/watcher/folder_black_list.py +82 -0
- streamlit/watcher/local_sources_watcher.py +297 -0
- streamlit/watcher/path_watcher.py +244 -0
- streamlit/watcher/polling_path_watcher.py +138 -0
- streamlit/watcher/util.py +223 -0
- streamlit/web/__init__.py +13 -0
- streamlit/web/bootstrap.py +463 -0
- streamlit/web/cache_storage_manager_config.py +38 -0
- streamlit/web/cli.py +465 -0
- streamlit/web/server/__init__.py +30 -0
- streamlit/web/server/app_discovery.py +422 -0
- streamlit/web/server/app_static_file_handler.py +102 -0
- streamlit/web/server/authlib_tornado_integration.py +125 -0
- streamlit/web/server/bidi_component_request_handler.py +193 -0
- streamlit/web/server/browser_websocket_handler.py +341 -0
- streamlit/web/server/component_file_utils.py +105 -0
- streamlit/web/server/component_request_handler.py +107 -0
- streamlit/web/server/media_file_handler.py +148 -0
- streamlit/web/server/oauth_authlib_routes.py +314 -0
- streamlit/web/server/oidc_mixin.py +138 -0
- streamlit/web/server/routes.py +257 -0
- streamlit/web/server/server.py +555 -0
- streamlit/web/server/server_util.py +235 -0
- streamlit/web/server/starlette/__init__.py +23 -0
- streamlit/web/server/starlette/starlette_app.py +541 -0
- streamlit/web/server/starlette/starlette_app_utils.py +306 -0
- streamlit/web/server/starlette/starlette_auth_routes.py +584 -0
- streamlit/web/server/starlette/starlette_gzip_middleware.py +121 -0
- streamlit/web/server/starlette/starlette_path_security_middleware.py +97 -0
- streamlit/web/server/starlette/starlette_routes.py +884 -0
- streamlit/web/server/starlette/starlette_server.py +496 -0
- streamlit/web/server/starlette/starlette_server_config.py +55 -0
- streamlit/web/server/starlette/starlette_static_routes.py +181 -0
- streamlit/web/server/starlette/starlette_websocket.py +560 -0
- streamlit/web/server/stats_request_handler.py +116 -0
- streamlit/web/server/upload_file_request_handler.py +158 -0
- streamlit/web/server/websocket_headers.py +56 -0
- streamlit_data_editor_plus-0.1.0.dist-info/METADATA +76 -0
- streamlit_data_editor_plus-0.1.0.dist-info/RECORD +456 -0
- streamlit_data_editor_plus-0.1.0.dist-info/WHEEL +5 -0
- streamlit_data_editor_plus-0.1.0.dist-info/entry_points.txt +2 -0
- streamlit_data_editor_plus-0.1.0.dist-info/top_level.txt +1 -0
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
*!
|
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)
|
|
6
|
+
|
|
7
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
you may not use this file except in compliance with the License.
|
|
9
|
+
You may obtain a copy of the License at
|
|
10
|
+
|
|
11
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
|
|
13
|
+
Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
See the License for the specific language governing permissions and
|
|
17
|
+
limitations under the License.
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
from google.protobuf import descriptor as _descriptor
|
|
21
|
+
from google.protobuf import message as _message
|
|
22
|
+
import builtins as _builtins
|
|
23
|
+
import sys
|
|
24
|
+
import typing as _typing
|
|
25
|
+
|
|
26
|
+
if sys.version_info >= (3, 10):
|
|
27
|
+
from typing import TypeAlias as _TypeAlias
|
|
28
|
+
else:
|
|
29
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
30
|
+
|
|
31
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
32
|
+
|
|
33
|
+
@_typing.final
|
|
34
|
+
class AuthRedirect(_message.Message):
|
|
35
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
36
|
+
|
|
37
|
+
URL_FIELD_NUMBER: _builtins.int
|
|
38
|
+
url: _builtins.str
|
|
39
|
+
"""URL TO REDIRECT TO"""
|
|
40
|
+
def __init__(
|
|
41
|
+
self,
|
|
42
|
+
*,
|
|
43
|
+
url: _builtins.str = ...,
|
|
44
|
+
) -> None: ...
|
|
45
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["url", b"url"] # noqa: Y015
|
|
46
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
47
|
+
|
|
48
|
+
Global___AuthRedirect: _TypeAlias = AuthRedirect # noqa: Y015
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: streamlit/proto/AutoRerun.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fstreamlit/proto/AutoRerun.proto\"2\n\tAutoRerun\x12\x10\n\x08interval\x18\x01 \x01(\x02\x12\x13\n\x0b\x66ragment_id\x18\x02 \x01(\tb\x06proto3')
|
|
17
|
+
|
|
18
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
19
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.AutoRerun_pb2', globals())
|
|
20
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
21
|
+
|
|
22
|
+
DESCRIPTOR._options = None
|
|
23
|
+
_AUTORERUN._serialized_start=35
|
|
24
|
+
_AUTORERUN._serialized_end=85
|
|
25
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
*!
|
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)
|
|
6
|
+
|
|
7
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
you may not use this file except in compliance with the License.
|
|
9
|
+
You may obtain a copy of the License at
|
|
10
|
+
|
|
11
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
|
|
13
|
+
Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
See the License for the specific language governing permissions and
|
|
17
|
+
limitations under the License.
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
from google.protobuf import descriptor as _descriptor
|
|
21
|
+
from google.protobuf import message as _message
|
|
22
|
+
import builtins as _builtins
|
|
23
|
+
import sys
|
|
24
|
+
import typing as _typing
|
|
25
|
+
|
|
26
|
+
if sys.version_info >= (3, 10):
|
|
27
|
+
from typing import TypeAlias as _TypeAlias
|
|
28
|
+
else:
|
|
29
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
30
|
+
|
|
31
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
32
|
+
|
|
33
|
+
@_typing.final
|
|
34
|
+
class AutoRerun(_message.Message):
|
|
35
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
36
|
+
|
|
37
|
+
INTERVAL_FIELD_NUMBER: _builtins.int
|
|
38
|
+
FRAGMENT_ID_FIELD_NUMBER: _builtins.int
|
|
39
|
+
interval: _builtins.float
|
|
40
|
+
"""The interval of reruns in seconds"""
|
|
41
|
+
fragment_id: _builtins.str
|
|
42
|
+
"""The fragment ID to rerun"""
|
|
43
|
+
def __init__(
|
|
44
|
+
self,
|
|
45
|
+
*,
|
|
46
|
+
interval: _builtins.float = ...,
|
|
47
|
+
fragment_id: _builtins.str = ...,
|
|
48
|
+
) -> None: ...
|
|
49
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["fragment_id", b"fragment_id", "interval", b"interval"] # noqa: Y015
|
|
50
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
51
|
+
|
|
52
|
+
Global___AutoRerun: _TypeAlias = AutoRerun # noqa: Y015
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: streamlit/proto/BackMsg.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from streamlit.proto import ClientState_pb2 as streamlit_dot_proto_dot_ClientState__pb2
|
|
15
|
+
from streamlit.proto import Common_pb2 as streamlit_dot_proto_dot_Common__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1dstreamlit/proto/BackMsg.proto\x1a!streamlit/proto/ClientState.proto\x1a\x1cstreamlit/proto/Common.proto\"\xa9\x03\n\x07\x42\x61\x63kMsg\x12\x15\n\x0b\x63lear_cache\x18\x05 \x01(\x08H\x00\x12\x19\n\x0fset_run_on_save\x18\x06 \x01(\x08H\x00\x12\x15\n\x0bstop_script\x18\x07 \x01(\x08H\x00\x12$\n\x0crerun_script\x18\x0b \x01(\x0b\x32\x0c.ClientStateH\x00\x12\x17\n\rload_git_info\x18\x0c \x01(\x08H\x00\x12$\n\x1a\x64\x65\x62ug_disconnect_websocket\x18\x0e \x01(\x08H\x00\x12 \n\x16\x64\x65\x62ug_shutdown_runtime\x18\x0f \x01(\x08H\x00\x12-\n\x11\x66ile_urls_request\x18\x10 \x01(\x0b\x32\x10.FileURLsRequestH\x00\x12\x17\n\rapp_heartbeat\x18\x11 \x01(\x08H\x00\x12\x35\n\x15\x64\x65\x66\x65rred_file_request\x18\x12 \x01(\x0b\x32\x14.DeferredFileRequestH\x00\x12\x1d\n\x15\x64\x65\x62ug_last_backmsg_id\x18\r \x01(\tB\x06\n\x04typeJ\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\x08\x10\tJ\x04\x08\t\x10\nJ\x04\x08\n\x10\x0b\":\n\x13\x44\x65\x66\x65rredFileRequest\x12\x0f\n\x07\x66ile_id\x18\x01 \x01(\t\x12\x12\n\nsession_id\x18\x02 \x01(\tb\x06proto3')
|
|
19
|
+
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.BackMsg_pb2', globals())
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
|
|
24
|
+
DESCRIPTOR._options = None
|
|
25
|
+
_BACKMSG._serialized_start=99
|
|
26
|
+
_BACKMSG._serialized_end=524
|
|
27
|
+
_DEFERREDFILEREQUEST._serialized_start=526
|
|
28
|
+
_DEFERREDFILEREQUEST._serialized_end=584
|
|
29
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,132 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
*!
|
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)
|
|
6
|
+
|
|
7
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
you may not use this file except in compliance with the License.
|
|
9
|
+
You may obtain a copy of the License at
|
|
10
|
+
|
|
11
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
|
|
13
|
+
Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
See the License for the specific language governing permissions and
|
|
17
|
+
limitations under the License.
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
from google.protobuf import descriptor as _descriptor
|
|
21
|
+
from google.protobuf import message as _message
|
|
22
|
+
from streamlit.proto import ClientState_pb2 as _ClientState_pb2
|
|
23
|
+
from streamlit.proto import Common_pb2 as _Common_pb2
|
|
24
|
+
import builtins as _builtins
|
|
25
|
+
import sys
|
|
26
|
+
import typing as _typing
|
|
27
|
+
|
|
28
|
+
if sys.version_info >= (3, 10):
|
|
29
|
+
from typing import TypeAlias as _TypeAlias
|
|
30
|
+
else:
|
|
31
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
32
|
+
|
|
33
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
34
|
+
|
|
35
|
+
@_typing.final
|
|
36
|
+
class BackMsg(_message.Message):
|
|
37
|
+
"""A message from the browser to the server."""
|
|
38
|
+
|
|
39
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
40
|
+
|
|
41
|
+
CLEAR_CACHE_FIELD_NUMBER: _builtins.int
|
|
42
|
+
SET_RUN_ON_SAVE_FIELD_NUMBER: _builtins.int
|
|
43
|
+
STOP_SCRIPT_FIELD_NUMBER: _builtins.int
|
|
44
|
+
RERUN_SCRIPT_FIELD_NUMBER: _builtins.int
|
|
45
|
+
LOAD_GIT_INFO_FIELD_NUMBER: _builtins.int
|
|
46
|
+
DEBUG_DISCONNECT_WEBSOCKET_FIELD_NUMBER: _builtins.int
|
|
47
|
+
DEBUG_SHUTDOWN_RUNTIME_FIELD_NUMBER: _builtins.int
|
|
48
|
+
FILE_URLS_REQUEST_FIELD_NUMBER: _builtins.int
|
|
49
|
+
APP_HEARTBEAT_FIELD_NUMBER: _builtins.int
|
|
50
|
+
DEFERRED_FILE_REQUEST_FIELD_NUMBER: _builtins.int
|
|
51
|
+
DEBUG_LAST_BACKMSG_ID_FIELD_NUMBER: _builtins.int
|
|
52
|
+
clear_cache: _builtins.bool
|
|
53
|
+
"""Requests that the app's @st_cache be cleared"""
|
|
54
|
+
set_run_on_save: _builtins.bool
|
|
55
|
+
"""Requests that the runOnSave behavior for this app be set
|
|
56
|
+
to the given value
|
|
57
|
+
"""
|
|
58
|
+
stop_script: _builtins.bool
|
|
59
|
+
"""Requests that the script's execution be stopped"""
|
|
60
|
+
load_git_info: _builtins.bool
|
|
61
|
+
debug_disconnect_websocket: _builtins.bool
|
|
62
|
+
"""Test and dev-mode only field used to ask the server to disconnect the
|
|
63
|
+
client's websocket connection. This message is IGNORED unless the
|
|
64
|
+
runtime is configured with global.developmentMode = True.
|
|
65
|
+
"""
|
|
66
|
+
debug_shutdown_runtime: _builtins.bool
|
|
67
|
+
"""Test and dev-mode only field used to ask the server to shut down the
|
|
68
|
+
runtime. This message is IGNORED unless the runtime is configured with
|
|
69
|
+
global.developmentMode = True.
|
|
70
|
+
"""
|
|
71
|
+
app_heartbeat: _builtins.bool
|
|
72
|
+
"""Sends an app heartbeat message through the websocket"""
|
|
73
|
+
debug_last_backmsg_id: _builtins.str
|
|
74
|
+
"""An ID used to associate this BackMsg with the corresponding ForwardMsgs
|
|
75
|
+
that are sent to the client due to it. As its name suggests, this field
|
|
76
|
+
should only be used for testing.
|
|
77
|
+
"""
|
|
78
|
+
@_builtins.property
|
|
79
|
+
def rerun_script(self) -> _ClientState_pb2.ClientState: ...
|
|
80
|
+
@_builtins.property
|
|
81
|
+
def file_urls_request(self) -> _Common_pb2.FileURLsRequest:
|
|
82
|
+
"""Requests that the server generate URLs for getting/uploading/deleting
|
|
83
|
+
files for the `st.file_uploader` widget
|
|
84
|
+
"""
|
|
85
|
+
|
|
86
|
+
@_builtins.property
|
|
87
|
+
def deferred_file_request(self) -> Global___DeferredFileRequest:
|
|
88
|
+
"""Requests that the server execute a deferred callable and return the URL"""
|
|
89
|
+
|
|
90
|
+
def __init__(
|
|
91
|
+
self,
|
|
92
|
+
*,
|
|
93
|
+
clear_cache: _builtins.bool = ...,
|
|
94
|
+
set_run_on_save: _builtins.bool = ...,
|
|
95
|
+
stop_script: _builtins.bool = ...,
|
|
96
|
+
rerun_script: _ClientState_pb2.ClientState | None = ...,
|
|
97
|
+
load_git_info: _builtins.bool = ...,
|
|
98
|
+
debug_disconnect_websocket: _builtins.bool = ...,
|
|
99
|
+
debug_shutdown_runtime: _builtins.bool = ...,
|
|
100
|
+
file_urls_request: _Common_pb2.FileURLsRequest | None = ...,
|
|
101
|
+
app_heartbeat: _builtins.bool = ...,
|
|
102
|
+
deferred_file_request: Global___DeferredFileRequest | None = ...,
|
|
103
|
+
debug_last_backmsg_id: _builtins.str = ...,
|
|
104
|
+
) -> None: ...
|
|
105
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["app_heartbeat", b"app_heartbeat", "clear_cache", b"clear_cache", "debug_disconnect_websocket", b"debug_disconnect_websocket", "debug_shutdown_runtime", b"debug_shutdown_runtime", "deferred_file_request", b"deferred_file_request", "file_urls_request", b"file_urls_request", "load_git_info", b"load_git_info", "rerun_script", b"rerun_script", "set_run_on_save", b"set_run_on_save", "stop_script", b"stop_script", "type", b"type"] # noqa: Y015
|
|
106
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
107
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["app_heartbeat", b"app_heartbeat", "clear_cache", b"clear_cache", "debug_disconnect_websocket", b"debug_disconnect_websocket", "debug_last_backmsg_id", b"debug_last_backmsg_id", "debug_shutdown_runtime", b"debug_shutdown_runtime", "deferred_file_request", b"deferred_file_request", "file_urls_request", b"file_urls_request", "load_git_info", b"load_git_info", "rerun_script", b"rerun_script", "set_run_on_save", b"set_run_on_save", "stop_script", b"stop_script", "type", b"type"] # noqa: Y015
|
|
108
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
109
|
+
_WhichOneofReturnType_type: _TypeAlias = _typing.Literal["clear_cache", "set_run_on_save", "stop_script", "rerun_script", "load_git_info", "debug_disconnect_websocket", "debug_shutdown_runtime", "file_urls_request", "app_heartbeat", "deferred_file_request"] # noqa: Y015
|
|
110
|
+
_WhichOneofArgType_type: _TypeAlias = _typing.Literal["type", b"type"] # noqa: Y015
|
|
111
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType_type) -> _WhichOneofReturnType_type | None: ...
|
|
112
|
+
|
|
113
|
+
Global___BackMsg: _TypeAlias = BackMsg # noqa: Y015
|
|
114
|
+
|
|
115
|
+
@_typing.final
|
|
116
|
+
class DeferredFileRequest(_message.Message):
|
|
117
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
118
|
+
|
|
119
|
+
FILE_ID_FIELD_NUMBER: _builtins.int
|
|
120
|
+
SESSION_ID_FIELD_NUMBER: _builtins.int
|
|
121
|
+
file_id: _builtins.str
|
|
122
|
+
session_id: _builtins.str
|
|
123
|
+
def __init__(
|
|
124
|
+
self,
|
|
125
|
+
*,
|
|
126
|
+
file_id: _builtins.str = ...,
|
|
127
|
+
session_id: _builtins.str = ...,
|
|
128
|
+
) -> None: ...
|
|
129
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["file_id", b"file_id", "session_id", b"session_id"] # noqa: Y015
|
|
130
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
131
|
+
|
|
132
|
+
Global___DeferredFileRequest: _TypeAlias = DeferredFileRequest # noqa: Y015
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: streamlit/proto/Balloons.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1estreamlit/proto/Balloons.proto\"$\n\x08\x42\x61lloons\x12\x0c\n\x04show\x18\x03 \x01(\x08J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03\x62\x06proto3')
|
|
17
|
+
|
|
18
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
19
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Balloons_pb2', globals())
|
|
20
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
21
|
+
|
|
22
|
+
DESCRIPTOR._options = None
|
|
23
|
+
_BALLOONS._serialized_start=34
|
|
24
|
+
_BALLOONS._serialized_end=70
|
|
25
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
*!
|
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)
|
|
6
|
+
|
|
7
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
you may not use this file except in compliance with the License.
|
|
9
|
+
You may obtain a copy of the License at
|
|
10
|
+
|
|
11
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
|
|
13
|
+
Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
See the License for the specific language governing permissions and
|
|
17
|
+
limitations under the License.
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
from google.protobuf import descriptor as _descriptor
|
|
21
|
+
from google.protobuf import message as _message
|
|
22
|
+
import builtins as _builtins
|
|
23
|
+
import sys
|
|
24
|
+
import typing as _typing
|
|
25
|
+
|
|
26
|
+
if sys.version_info >= (3, 10):
|
|
27
|
+
from typing import TypeAlias as _TypeAlias
|
|
28
|
+
else:
|
|
29
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
30
|
+
|
|
31
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
32
|
+
|
|
33
|
+
@_typing.final
|
|
34
|
+
class Balloons(_message.Message):
|
|
35
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
36
|
+
|
|
37
|
+
SHOW_FIELD_NUMBER: _builtins.int
|
|
38
|
+
show: _builtins.bool
|
|
39
|
+
"""Dummy boolean because protos need to have something."""
|
|
40
|
+
def __init__(
|
|
41
|
+
self,
|
|
42
|
+
*,
|
|
43
|
+
show: _builtins.bool = ...,
|
|
44
|
+
) -> None: ...
|
|
45
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["show", b"show"] # noqa: Y015
|
|
46
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
47
|
+
|
|
48
|
+
Global___Balloons: _TypeAlias = Balloons # noqa: Y015
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: streamlit/proto/BidiComponent.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from streamlit.proto import ArrowData_pb2 as streamlit_dot_proto_dot_ArrowData__pb2
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#streamlit/proto/BidiComponent.proto\x1a\x1fstreamlit/proto/ArrowData.proto\"\x89\x01\n\tMixedData\x12\x0c\n\x04json\x18\x01 \x01(\t\x12/\n\x0b\x61rrow_blobs\x18\x02 \x03(\x0b\x32\x1a.MixedData.ArrowBlobsEntry\x1a=\n\x0f\x41rrowBlobsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x19\n\x05value\x18\x02 \x01(\x0b\x32\n.ArrowData:\x02\x38\x01\"\xa4\x03\n\rBidiComponent\x12\n\n\x02id\x18\x01 \x01(\t\x12\x16\n\x0e\x63omponent_name\x18\x02 \x01(\t\x12\x17\n\njs_content\x18\x03 \x01(\tH\x01\x88\x01\x01\x12\x1b\n\x0ejs_source_path\x18\x04 \x01(\tH\x02\x88\x01\x01\x12\x0f\n\x07\x66orm_id\x18\x05 \x01(\t\x12\x19\n\x0chtml_content\x18\x06 \x01(\tH\x03\x88\x01\x01\x12\x18\n\x0b\x63ss_content\x18\x07 \x01(\tH\x04\x88\x01\x01\x12\x1c\n\x0f\x63ss_source_path\x18\x08 \x01(\tH\x05\x88\x01\x01\x12\x16\n\x0eisolate_styles\x18\t \x01(\x08\x12\x0e\n\x04json\x18\n \x01(\tH\x00\x12 \n\narrow_data\x18\x0b \x01(\x0b\x32\n.ArrowDataH\x00\x12\x0f\n\x05\x62ytes\x18\x0c \x01(\x0cH\x00\x12\x1b\n\x05mixed\x18\r \x01(\x0b\x32\n.MixedDataH\x00\x42\x06\n\x04\x64\x61taB\r\n\x0b_js_contentB\x11\n\x0f_js_source_pathB\x0f\n\r_html_contentB\x0e\n\x0c_css_contentB\x12\n\x10_css_source_pathb\x06proto3')
|
|
18
|
+
|
|
19
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
20
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.BidiComponent_pb2', globals())
|
|
21
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
22
|
+
|
|
23
|
+
DESCRIPTOR._options = None
|
|
24
|
+
_MIXEDDATA_ARROWBLOBSENTRY._options = None
|
|
25
|
+
_MIXEDDATA_ARROWBLOBSENTRY._serialized_options = b'8\001'
|
|
26
|
+
_MIXEDDATA._serialized_start=73
|
|
27
|
+
_MIXEDDATA._serialized_end=210
|
|
28
|
+
_MIXEDDATA_ARROWBLOBSENTRY._serialized_start=149
|
|
29
|
+
_MIXEDDATA_ARROWBLOBSENTRY._serialized_end=210
|
|
30
|
+
_BIDICOMPONENT._serialized_start=213
|
|
31
|
+
_BIDICOMPONENT._serialized_end=633
|
|
32
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
*!
|
|
5
|
+
Copyright (c) Streamlit Inc. (2018-2022) Snowflake Inc. (2022-2026)
|
|
6
|
+
|
|
7
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
8
|
+
you may not use this file except in compliance with the License.
|
|
9
|
+
You may obtain a copy of the License at
|
|
10
|
+
|
|
11
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
12
|
+
|
|
13
|
+
Unless required by applicable law or agreed to in writing, software
|
|
14
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
15
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
16
|
+
See the License for the specific language governing permissions and
|
|
17
|
+
limitations under the License.
|
|
18
|
+
"""
|
|
19
|
+
|
|
20
|
+
from collections import abc as _abc
|
|
21
|
+
from google.protobuf import descriptor as _descriptor
|
|
22
|
+
from google.protobuf import message as _message
|
|
23
|
+
from google.protobuf.internal import containers as _containers
|
|
24
|
+
from streamlit.proto import ArrowData_pb2 as _ArrowData_pb2
|
|
25
|
+
import builtins as _builtins
|
|
26
|
+
import sys
|
|
27
|
+
import typing as _typing
|
|
28
|
+
|
|
29
|
+
if sys.version_info >= (3, 10):
|
|
30
|
+
from typing import TypeAlias as _TypeAlias
|
|
31
|
+
else:
|
|
32
|
+
from typing_extensions import TypeAlias as _TypeAlias
|
|
33
|
+
|
|
34
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
35
|
+
|
|
36
|
+
@_typing.final
|
|
37
|
+
class MixedData(_message.Message):
|
|
38
|
+
"""Mixed data structure that allows JSON with embedded Arrow references"""
|
|
39
|
+
|
|
40
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
41
|
+
|
|
42
|
+
@_typing.final
|
|
43
|
+
class ArrowBlobsEntry(_message.Message):
|
|
44
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
45
|
+
|
|
46
|
+
KEY_FIELD_NUMBER: _builtins.int
|
|
47
|
+
VALUE_FIELD_NUMBER: _builtins.int
|
|
48
|
+
key: _builtins.str
|
|
49
|
+
@_builtins.property
|
|
50
|
+
def value(self) -> _ArrowData_pb2.ArrowData: ...
|
|
51
|
+
def __init__(
|
|
52
|
+
self,
|
|
53
|
+
*,
|
|
54
|
+
key: _builtins.str = ...,
|
|
55
|
+
value: _ArrowData_pb2.ArrowData | None = ...,
|
|
56
|
+
) -> None: ...
|
|
57
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["value", b"value"] # noqa: Y015
|
|
58
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
59
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["key", b"key", "value", b"value"] # noqa: Y015
|
|
60
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
61
|
+
|
|
62
|
+
JSON_FIELD_NUMBER: _builtins.int
|
|
63
|
+
ARROW_BLOBS_FIELD_NUMBER: _builtins.int
|
|
64
|
+
json: _builtins.str
|
|
65
|
+
"""The main JSON structure with arrow references replaced by placeholders"""
|
|
66
|
+
@_builtins.property
|
|
67
|
+
def arrow_blobs(self) -> _containers.MessageMap[_builtins.str, _ArrowData_pb2.ArrowData]:
|
|
68
|
+
"""Map of arrow data blobs keyed by reference ID"""
|
|
69
|
+
|
|
70
|
+
def __init__(
|
|
71
|
+
self,
|
|
72
|
+
*,
|
|
73
|
+
json: _builtins.str = ...,
|
|
74
|
+
arrow_blobs: _abc.Mapping[_builtins.str, _ArrowData_pb2.ArrowData] | None = ...,
|
|
75
|
+
) -> None: ...
|
|
76
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["arrow_blobs", b"arrow_blobs", "json", b"json"] # noqa: Y015
|
|
77
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
78
|
+
|
|
79
|
+
Global___MixedData: _TypeAlias = MixedData # noqa: Y015
|
|
80
|
+
|
|
81
|
+
@_typing.final
|
|
82
|
+
class BidiComponent(_message.Message):
|
|
83
|
+
"""Represents an instance of a bidirectional component."""
|
|
84
|
+
|
|
85
|
+
DESCRIPTOR: _descriptor.Descriptor
|
|
86
|
+
|
|
87
|
+
ID_FIELD_NUMBER: _builtins.int
|
|
88
|
+
COMPONENT_NAME_FIELD_NUMBER: _builtins.int
|
|
89
|
+
JS_CONTENT_FIELD_NUMBER: _builtins.int
|
|
90
|
+
JS_SOURCE_PATH_FIELD_NUMBER: _builtins.int
|
|
91
|
+
FORM_ID_FIELD_NUMBER: _builtins.int
|
|
92
|
+
HTML_CONTENT_FIELD_NUMBER: _builtins.int
|
|
93
|
+
CSS_CONTENT_FIELD_NUMBER: _builtins.int
|
|
94
|
+
CSS_SOURCE_PATH_FIELD_NUMBER: _builtins.int
|
|
95
|
+
ISOLATE_STYLES_FIELD_NUMBER: _builtins.int
|
|
96
|
+
JSON_FIELD_NUMBER: _builtins.int
|
|
97
|
+
ARROW_DATA_FIELD_NUMBER: _builtins.int
|
|
98
|
+
BYTES_FIELD_NUMBER: _builtins.int
|
|
99
|
+
MIXED_FIELD_NUMBER: _builtins.int
|
|
100
|
+
id: _builtins.str
|
|
101
|
+
"""The ID of the widget instance."""
|
|
102
|
+
component_name: _builtins.str
|
|
103
|
+
"""The registered name of the component."""
|
|
104
|
+
js_content: _builtins.str
|
|
105
|
+
"""The JavaScript content provided by the developer."""
|
|
106
|
+
js_source_path: _builtins.str
|
|
107
|
+
"""The source path for the JavaScript content."""
|
|
108
|
+
form_id: _builtins.str
|
|
109
|
+
"""The ID of the form this component belongs to, if any."""
|
|
110
|
+
html_content: _builtins.str
|
|
111
|
+
"""The HTML content provided by the developer."""
|
|
112
|
+
css_content: _builtins.str
|
|
113
|
+
"""The CSS content provided by the developer."""
|
|
114
|
+
css_source_path: _builtins.str
|
|
115
|
+
"""The source path for the CSS content."""
|
|
116
|
+
isolate_styles: _builtins.bool
|
|
117
|
+
"""Whether to isolate styles from the parent."""
|
|
118
|
+
json: _builtins.str
|
|
119
|
+
"""JSON-serialized value for generic data payloads."""
|
|
120
|
+
bytes: _builtins.bytes
|
|
121
|
+
"""Arbitrary bytes payload."""
|
|
122
|
+
@_builtins.property
|
|
123
|
+
def arrow_data(self) -> _ArrowData_pb2.ArrowData:
|
|
124
|
+
"""Data-only Apache Arrow buffer for dataframe-like payloads."""
|
|
125
|
+
|
|
126
|
+
@_builtins.property
|
|
127
|
+
def mixed(self) -> Global___MixedData:
|
|
128
|
+
"""Mixed data with JSON structure + embedded Arrow references"""
|
|
129
|
+
|
|
130
|
+
def __init__(
|
|
131
|
+
self,
|
|
132
|
+
*,
|
|
133
|
+
id: _builtins.str = ...,
|
|
134
|
+
component_name: _builtins.str = ...,
|
|
135
|
+
js_content: _builtins.str | None = ...,
|
|
136
|
+
js_source_path: _builtins.str | None = ...,
|
|
137
|
+
form_id: _builtins.str = ...,
|
|
138
|
+
html_content: _builtins.str | None = ...,
|
|
139
|
+
css_content: _builtins.str | None = ...,
|
|
140
|
+
css_source_path: _builtins.str | None = ...,
|
|
141
|
+
isolate_styles: _builtins.bool = ...,
|
|
142
|
+
json: _builtins.str = ...,
|
|
143
|
+
arrow_data: _ArrowData_pb2.ArrowData | None = ...,
|
|
144
|
+
bytes: _builtins.bytes = ...,
|
|
145
|
+
mixed: Global___MixedData | None = ...,
|
|
146
|
+
) -> None: ...
|
|
147
|
+
_HasFieldArgType: _TypeAlias = _typing.Literal["_css_content", b"_css_content", "_css_source_path", b"_css_source_path", "_html_content", b"_html_content", "_js_content", b"_js_content", "_js_source_path", b"_js_source_path", "arrow_data", b"arrow_data", "bytes", b"bytes", "css_content", b"css_content", "css_source_path", b"css_source_path", "data", b"data", "html_content", b"html_content", "js_content", b"js_content", "js_source_path", b"js_source_path", "json", b"json", "mixed", b"mixed"] # noqa: Y015
|
|
148
|
+
def HasField(self, field_name: _HasFieldArgType) -> _builtins.bool: ...
|
|
149
|
+
_ClearFieldArgType: _TypeAlias = _typing.Literal["_css_content", b"_css_content", "_css_source_path", b"_css_source_path", "_html_content", b"_html_content", "_js_content", b"_js_content", "_js_source_path", b"_js_source_path", "arrow_data", b"arrow_data", "bytes", b"bytes", "component_name", b"component_name", "css_content", b"css_content", "css_source_path", b"css_source_path", "data", b"data", "form_id", b"form_id", "html_content", b"html_content", "id", b"id", "isolate_styles", b"isolate_styles", "js_content", b"js_content", "js_source_path", b"js_source_path", "json", b"json", "mixed", b"mixed"] # noqa: Y015
|
|
150
|
+
def ClearField(self, field_name: _ClearFieldArgType) -> None: ...
|
|
151
|
+
_WhichOneofReturnType__css_content: _TypeAlias = _typing.Literal["css_content"] # noqa: Y015
|
|
152
|
+
_WhichOneofArgType__css_content: _TypeAlias = _typing.Literal["_css_content", b"_css_content"] # noqa: Y015
|
|
153
|
+
_WhichOneofReturnType__css_source_path: _TypeAlias = _typing.Literal["css_source_path"] # noqa: Y015
|
|
154
|
+
_WhichOneofArgType__css_source_path: _TypeAlias = _typing.Literal["_css_source_path", b"_css_source_path"] # noqa: Y015
|
|
155
|
+
_WhichOneofReturnType__html_content: _TypeAlias = _typing.Literal["html_content"] # noqa: Y015
|
|
156
|
+
_WhichOneofArgType__html_content: _TypeAlias = _typing.Literal["_html_content", b"_html_content"] # noqa: Y015
|
|
157
|
+
_WhichOneofReturnType__js_content: _TypeAlias = _typing.Literal["js_content"] # noqa: Y015
|
|
158
|
+
_WhichOneofArgType__js_content: _TypeAlias = _typing.Literal["_js_content", b"_js_content"] # noqa: Y015
|
|
159
|
+
_WhichOneofReturnType__js_source_path: _TypeAlias = _typing.Literal["js_source_path"] # noqa: Y015
|
|
160
|
+
_WhichOneofArgType__js_source_path: _TypeAlias = _typing.Literal["_js_source_path", b"_js_source_path"] # noqa: Y015
|
|
161
|
+
_WhichOneofReturnType_data: _TypeAlias = _typing.Literal["json", "arrow_data", "bytes", "mixed"] # noqa: Y015
|
|
162
|
+
_WhichOneofArgType_data: _TypeAlias = _typing.Literal["data", b"data"] # noqa: Y015
|
|
163
|
+
@_typing.overload
|
|
164
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__css_content) -> _WhichOneofReturnType__css_content | None: ...
|
|
165
|
+
@_typing.overload
|
|
166
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__css_source_path) -> _WhichOneofReturnType__css_source_path | None: ...
|
|
167
|
+
@_typing.overload
|
|
168
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__html_content) -> _WhichOneofReturnType__html_content | None: ...
|
|
169
|
+
@_typing.overload
|
|
170
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__js_content) -> _WhichOneofReturnType__js_content | None: ...
|
|
171
|
+
@_typing.overload
|
|
172
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType__js_source_path) -> _WhichOneofReturnType__js_source_path | None: ...
|
|
173
|
+
@_typing.overload
|
|
174
|
+
def WhichOneof(self, oneof_group: _WhichOneofArgType_data) -> _WhichOneofReturnType_data | None: ...
|
|
175
|
+
|
|
176
|
+
Global___BidiComponent: _TypeAlias = BidiComponent # noqa: Y015
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: streamlit/proto/Block.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf.internal import builder as _builder
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from streamlit.proto import GapSize_pb2 as streamlit_dot_proto_dot_GapSize__pb2
|
|
15
|
+
from streamlit.proto import HeightConfig_pb2 as streamlit_dot_proto_dot_HeightConfig__pb2
|
|
16
|
+
from streamlit.proto import WidthConfig_pb2 as streamlit_dot_proto_dot_WidthConfig__pb2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1bstreamlit/proto/Block.proto\x1a\x1dstreamlit/proto/GapSize.proto\x1a\"streamlit/proto/HeightConfig.proto\x1a!streamlit/proto/WidthConfig.proto\"\x8f\x11\n\x05\x42lock\x12#\n\x08vertical\x18\x01 \x01(\x0b\x32\x0f.Block.VerticalH\x00\x12\'\n\nhorizontal\x18\x02 \x01(\x0b\x32\x11.Block.HorizontalH\x00\x12\x1f\n\x06\x63olumn\x18\x03 \x01(\x0b\x32\r.Block.ColumnH\x00\x12\'\n\nexpandable\x18\x04 \x01(\x0b\x32\x11.Block.ExpandableH\x00\x12\x1b\n\x04\x66orm\x18\x05 \x01(\x0b\x32\x0b.Block.FormH\x00\x12,\n\rtab_container\x18\x06 \x01(\x0b\x32\x13.Block.TabContainerH\x00\x12\x19\n\x03tab\x18\x07 \x01(\x0b\x32\n.Block.TabH\x00\x12*\n\x0c\x63hat_message\x18\t \x01(\x0b\x32\x12.Block.ChatMessageH\x00\x12!\n\x07popover\x18\n \x01(\x0b\x32\x0e.Block.PopoverH\x00\x12\x1f\n\x06\x64ialog\x18\x0b \x01(\x0b\x32\r.Block.DialogH\x00\x12.\n\x0e\x66lex_container\x18\r \x01(\x0b\x32\x14.Block.FlexContainerH\x00\x12\x13\n\x0b\x61llow_empty\x18\x08 \x01(\x08\x12\x0f\n\x02id\x18\x0c \x01(\tH\x01\x88\x01\x01\x12\x33\n\rheight_config\x18\x0e \x01(\x0b\x32\x17.streamlit.HeightConfigH\x02\x88\x01\x01\x12\x31\n\x0cwidth_config\x18\x0f \x01(\x0b\x32\x16.streamlit.WidthConfigH\x03\x88\x01\x01\x1a \n\x08Vertical\x12\x0e\n\x06\x62order\x18\x01 \x01(\x08J\x04\x08\x02\x10\x03\x1a\x19\n\nHorizontal\x12\x0b\n\x03gap\x18\x01 \x01(\t\x1a\x81\x04\n\rFlexContainer\x12\x0e\n\x06\x62order\x18\x01 \x01(\x08\x12(\n\ngap_config\x18\x02 \x01(\x0b\x32\x14.streamlit.GapConfig\x12\r\n\x05scale\x18\x03 \x01(\x02\x12\x31\n\tdirection\x18\x04 \x01(\x0e\x32\x1e.Block.FlexContainer.Direction\x12\x0c\n\x04wrap\x18\x05 \x01(\x08\x12-\n\x07justify\x18\x07 \x01(\x0e\x32\x1c.Block.FlexContainer.Justify\x12)\n\x05\x61lign\x18\x08 \x01(\x0e\x32\x1a.Block.FlexContainer.Align\"B\n\tDirection\x12\x17\n\x13\x44IRECTION_UNDEFINED\x10\x00\x12\x0c\n\x08VERTICAL\x10\x01\x12\x0e\n\nHORIZONTAL\x10\x02\"k\n\x07Justify\x12\x15\n\x11JUSTIFY_UNDEFINED\x10\x00\x12\x11\n\rJUSTIFY_START\x10\x01\x12\x0f\n\x0bJUSTIFY_END\x10\x02\x12\x12\n\x0eJUSTIFY_CENTER\x10\x03\x12\x11\n\rSPACE_BETWEEN\x10\x04\"[\n\x05\x41lign\x12\x13\n\x0f\x41LIGN_UNDEFINED\x10\x00\x12\x0f\n\x0b\x41LIGN_START\x10\x01\x12\r\n\tALIGN_END\x10\x02\x12\x10\n\x0c\x41LIGN_CENTER\x10\x03\x12\x0b\n\x07STRETCH\x10\x04\x1a\xe4\x01\n\x06\x43olumn\x12\x0e\n\x06weight\x18\x01 \x01(\x01\x12;\n\x12vertical_alignment\x18\x03 \x01(\x0e\x32\x1f.Block.Column.VerticalAlignment\x12\x13\n\x0bshow_border\x18\x04 \x01(\x08\x12-\n\ngap_config\x18\x05 \x01(\x0b\x32\x14.streamlit.GapConfigH\x00\x88\x01\x01\"4\n\x11VerticalAlignment\x12\x07\n\x03TOP\x10\x00\x12\n\n\x06\x43\x45NTER\x10\x01\x12\n\n\x06\x42OTTOM\x10\x02\x42\r\n\x0b_gap_configJ\x04\x08\x02\x10\x03\x1a\x65\n\nExpandable\x12\r\n\x05label\x18\x01 \x01(\t\x12\x15\n\x08\x65xpanded\x18\x02 \x01(\x08H\x00\x88\x01\x01\x12\x0c\n\x04icon\x18\x03 \x01(\t\x12\x0f\n\x02id\x18\x04 \x01(\tH\x01\x88\x01\x01\x42\x0b\n\t_expandedB\x05\n\x03_id\x1a\xc3\x01\n\x06\x44ialog\x12\r\n\x05title\x18\x01 \x01(\t\x12\x13\n\x0b\x64ismissible\x18\x02 \x01(\x08\x12(\n\x05width\x18\x03 \x01(\x0e\x32\x19.Block.Dialog.DialogWidth\x12\x14\n\x07is_open\x18\x04 \x01(\x08H\x00\x88\x01\x01\x12\n\n\x02id\x18\x05 \x01(\t\x12\x0c\n\x04icon\x18\x06 \x01(\t\"/\n\x0b\x44ialogWidth\x12\t\n\x05SMALL\x10\x00\x12\t\n\x05LARGE\x10\x01\x12\n\n\x06MEDIUM\x10\x02\x42\n\n\x08_is_open\x1aY\n\x04\x46orm\x12\x0f\n\x07\x66orm_id\x18\x01 \x01(\t\x12\x17\n\x0f\x63lear_on_submit\x18\x02 \x01(\x08\x12\x0e\n\x06\x62order\x18\x03 \x01(\x08\x12\x17\n\x0f\x65nter_to_submit\x18\x04 \x01(\x08\x1a\x41\n\x0cTabContainer\x12\x19\n\x11\x64\x65\x66\x61ult_tab_index\x18\x01 \x01(\x05\x12\x0f\n\x02id\x18\x02 \x01(\tH\x00\x88\x01\x01\x42\x05\n\x03_id\x1a\x14\n\x03Tab\x12\r\n\x05label\x18\x01 \x01(\t\x1a\x8e\x01\n\x07Popover\x12\r\n\x05label\x18\x01 \x01(\t\x12\x0c\n\x04help\x18\x03 \x01(\t\x12\x10\n\x08\x64isabled\x18\x04 \x01(\x08\x12\x0c\n\x04icon\x18\x05 \x01(\t\x12\x0c\n\x04type\x18\x06 \x01(\t\x12\x11\n\x04open\x18\x07 \x01(\x08H\x00\x88\x01\x01\x12\x0f\n\x02id\x18\x08 \x01(\tH\x01\x88\x01\x01\x42\x07\n\x05_openB\x05\n\x03_idJ\x04\x08\x02\x10\x03\x1a\x8d\x01\n\x0b\x43hatMessage\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x61vatar\x18\x02 \x01(\t\x12\x32\n\x0b\x61vatar_type\x18\x03 \x01(\x0e\x32\x1d.Block.ChatMessage.AvatarType\",\n\nAvatarType\x12\t\n\x05IMAGE\x10\x00\x12\t\n\x05\x45MOJI\x10\x01\x12\x08\n\x04ICON\x10\x02\x42\x06\n\x04typeB\x05\n\x03_idB\x10\n\x0e_height_configB\x0f\n\r_width_configb\x06proto3')
|
|
20
|
+
|
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, globals())
|
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'streamlit.proto.Block_pb2', globals())
|
|
23
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
24
|
+
|
|
25
|
+
DESCRIPTOR._options = None
|
|
26
|
+
_BLOCK._serialized_start=134
|
|
27
|
+
_BLOCK._serialized_end=2325
|
|
28
|
+
_BLOCK_VERTICAL._serialized_start=699
|
|
29
|
+
_BLOCK_VERTICAL._serialized_end=731
|
|
30
|
+
_BLOCK_HORIZONTAL._serialized_start=733
|
|
31
|
+
_BLOCK_HORIZONTAL._serialized_end=758
|
|
32
|
+
_BLOCK_FLEXCONTAINER._serialized_start=761
|
|
33
|
+
_BLOCK_FLEXCONTAINER._serialized_end=1274
|
|
34
|
+
_BLOCK_FLEXCONTAINER_DIRECTION._serialized_start=1006
|
|
35
|
+
_BLOCK_FLEXCONTAINER_DIRECTION._serialized_end=1072
|
|
36
|
+
_BLOCK_FLEXCONTAINER_JUSTIFY._serialized_start=1074
|
|
37
|
+
_BLOCK_FLEXCONTAINER_JUSTIFY._serialized_end=1181
|
|
38
|
+
_BLOCK_FLEXCONTAINER_ALIGN._serialized_start=1183
|
|
39
|
+
_BLOCK_FLEXCONTAINER_ALIGN._serialized_end=1274
|
|
40
|
+
_BLOCK_COLUMN._serialized_start=1277
|
|
41
|
+
_BLOCK_COLUMN._serialized_end=1505
|
|
42
|
+
_BLOCK_COLUMN_VERTICALALIGNMENT._serialized_start=1432
|
|
43
|
+
_BLOCK_COLUMN_VERTICALALIGNMENT._serialized_end=1484
|
|
44
|
+
_BLOCK_EXPANDABLE._serialized_start=1507
|
|
45
|
+
_BLOCK_EXPANDABLE._serialized_end=1608
|
|
46
|
+
_BLOCK_DIALOG._serialized_start=1611
|
|
47
|
+
_BLOCK_DIALOG._serialized_end=1806
|
|
48
|
+
_BLOCK_DIALOG_DIALOGWIDTH._serialized_start=1747
|
|
49
|
+
_BLOCK_DIALOG_DIALOGWIDTH._serialized_end=1794
|
|
50
|
+
_BLOCK_FORM._serialized_start=1808
|
|
51
|
+
_BLOCK_FORM._serialized_end=1897
|
|
52
|
+
_BLOCK_TABCONTAINER._serialized_start=1899
|
|
53
|
+
_BLOCK_TABCONTAINER._serialized_end=1964
|
|
54
|
+
_BLOCK_TAB._serialized_start=1966
|
|
55
|
+
_BLOCK_TAB._serialized_end=1986
|
|
56
|
+
_BLOCK_POPOVER._serialized_start=1989
|
|
57
|
+
_BLOCK_POPOVER._serialized_end=2131
|
|
58
|
+
_BLOCK_CHATMESSAGE._serialized_start=2134
|
|
59
|
+
_BLOCK_CHATMESSAGE._serialized_end=2275
|
|
60
|
+
_BLOCK_CHATMESSAGE_AVATARTYPE._serialized_start=2231
|
|
61
|
+
_BLOCK_CHATMESSAGE_AVATARTYPE._serialized_end=2275
|
|
62
|
+
# @@protoc_insertion_point(module_scope)
|