streamlit-nightly 1.38.1.dev20240913__py2.py3-none-any.whl → 1.38.1.dev20240915__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/config.py CHANGED
@@ -277,7 +277,7 @@ _create_option(
277
277
  the widget's key in `st.session_state`.
278
278
 
279
279
  If you'd like to turn off this warning, set this to True.
280
- """,
280
+ """,
281
281
  default_val=False,
282
282
  type_=bool,
283
283
  )
@@ -288,7 +288,7 @@ _create_option(
288
288
  description="""
289
289
  If True, will show a warning when you run a Streamlit-enabled script
290
290
  via "python my_script.py".
291
- """,
291
+ """,
292
292
  default_val=True,
293
293
  type_=bool,
294
294
  )
@@ -343,8 +343,9 @@ _create_option(
343
343
 
344
344
  _create_option(
345
345
  "global.minCachedMessageSize",
346
- description="""Only cache ForwardMsgs that are greater than or equal to
347
- this minimum.""",
346
+ description="""
347
+ Only cache ForwardMsgs that are greater than or equal to this minimum.
348
+ """,
348
349
  visibility="hidden",
349
350
  default_val=10 * 1e3,
350
351
  type_=float,
@@ -352,9 +353,11 @@ _create_option(
352
353
 
353
354
  _create_option(
354
355
  "global.maxCachedMessageAge",
355
- description="""Expire cached ForwardMsgs whose age is greater than this
356
+ description="""
357
+ Expire cached ForwardMsgs whose age is greater than this
356
358
  value. A message's age is defined by how many times its script has
357
- finished running since the message has been accessed.""",
359
+ finished running since the message has been accessed.
360
+ """,
358
361
  visibility="hidden",
359
362
  default_val=2,
360
363
  type_=int,
@@ -362,9 +365,11 @@ _create_option(
362
365
 
363
366
  _create_option(
364
367
  "global.storeCachedForwardMessagesInMemory",
365
- description="""If True, store cached ForwardMsgs in backend memory.
366
- This is an internal flag to validate a potential removal of the in-memory
367
- forward message cache.""",
368
+ description="""
369
+ If True, store cached ForwardMsgs in backend memory. This is an
370
+ internal flag to validate a potential removal of the in-memory
371
+ forward message cache.
372
+ """,
368
373
  visibility="hidden",
369
374
  default_val=True,
370
375
  type_=bool,
@@ -377,9 +382,10 @@ _create_section("logger", "Settings to customize Streamlit log messages.")
377
382
 
378
383
  @_create_option("logger.level", type_=str)
379
384
  def _logger_log_level() -> str:
380
- """Level of logging: 'error', 'warning', 'info', or 'debug'.
385
+ """Level of logging for Streamlit's internal logger: "error", "warning",
386
+ "info", or "debug".
381
387
 
382
- Default: 'info'
388
+ Default: "info"
383
389
  """
384
390
  if get_option("global.developmentMode"):
385
391
  return "debug"
@@ -391,8 +397,8 @@ def _logger_log_level() -> str:
391
397
  def _logger_message_format() -> str:
392
398
  """String format for logging messages. If logger.datetimeFormat is set,
393
399
  logger messages will default to `%(asctime)s.%(msecs)03d %(message)s`. See
394
- [Python's documentation](https://docs.python.org/2.6/library/logging.html#formatter-objects)
395
- for available attributes.
400
+ Python's documentation for available attributes:
401
+ https://docs.python.org/3/library/logging.html#formatter-objects
396
402
 
397
403
  Default: "%(asctime)s %(message)s"
398
404
  """
@@ -412,7 +418,8 @@ _create_option(
412
418
  If True and if rich is installed, exception tracebacks will be logged with syntax highlighting and formatting.
413
419
  Rich tracebacks are easier to read and show more code than standard Python tracebacks.
414
420
 
415
- If set to False, the default Python traceback formatting will be used.""",
421
+ If set to False, the default Python traceback formatting will be used.
422
+ """,
416
423
  default_val=False,
417
424
  visibility="hidden",
418
425
  type_=bool,
@@ -436,7 +443,8 @@ _create_option(
436
443
  will print to the console only. Exceptions will still display in the
437
444
  browser with a generic error message. For now, the exception type and
438
445
  traceback show in the browser also, but they will be removed in the
439
- future.""",
446
+ future.
447
+ """,
440
448
  default_val=True,
441
449
  type_=bool,
442
450
  scriptable=True,
@@ -531,8 +539,9 @@ _create_option(
531
539
  "runner.enumCoercion",
532
540
  description="""
533
541
  Adjust how certain 'options' widgets like radio, selectbox, and
534
- multiselect coerce Enum members when the Enum class gets
535
- re-defined during a script re-run.
542
+ multiselect coerce Enum members when the Enum class gets re-defined
543
+ during a script re-run. For more information, check out the docs:
544
+ https://docs.streamlit.io/develop/concepts/design/custom-classes#enums
536
545
 
537
546
  Allowed values:
538
547
  * "off": Disables Enum coercion.
@@ -550,11 +559,12 @@ _create_section("server", "Settings for the Streamlit server")
550
559
 
551
560
  _create_option(
552
561
  "server.folderWatchBlacklist",
553
- description="""List of folders that should not be watched for changes.
562
+ description="""
563
+ List of folders that should not be watched for changes.
554
564
 
555
- Relative paths will be taken as relative to the current working directory.
565
+ Relative paths will be taken as relative to the current working directory.
556
566
 
557
- Example: ['/home/user1/env', 'relative/path/to/folder']
567
+ Example: ['/home/user1/env', 'relative/path/to/folder']
558
568
  """,
559
569
  default_val=[],
560
570
  )
@@ -580,8 +590,9 @@ _create_option(
580
590
  @_create_option("server.cookieSecret", type_=str, sensitive=True)
581
591
  @util.memoize
582
592
  def _server_cookie_secret() -> str:
583
- """Symmetric key used to produce signed cookies. If deploying on multiple replicas, this should
584
- be set to the same value across all replicas to ensure they all share the same secret.
593
+ """Symmetric key used to produce signed cookies. If deploying on multiple
594
+ replicas, this should be set to the same value across all replicas to ensure
595
+ they all share the same secret.
585
596
 
586
597
  Default: randomly generated secret key.
587
598
  """
@@ -610,7 +621,7 @@ _create_option(
610
621
  "server.runOnSave",
611
622
  description="""
612
623
  Automatically rerun script when the file is modified on disk.
613
- """,
624
+ """,
614
625
  default_val=False,
615
626
  type_=bool,
616
627
  )
@@ -619,7 +630,7 @@ _create_option(
619
630
  "server.allowRunOnSave",
620
631
  description="""
621
632
  Allows users to automatically rerun when app is updated.
622
- """,
633
+ """,
623
634
  visibility="hidden",
624
635
  default_val=True,
625
636
  type_=bool,
@@ -644,7 +655,7 @@ _create_option(
644
655
  The port where the server will listen for browser connections.
645
656
 
646
657
  Don't use port 3000 which is reserved for internal development.
647
- """,
658
+ """,
648
659
  default_val=8501,
649
660
  type_=int,
650
661
  )
@@ -653,12 +664,12 @@ _create_option(
653
664
  "server.scriptHealthCheckEnabled",
654
665
  visibility="hidden",
655
666
  description="""
656
- Flag for enabling the script health check endpoint. It's used for checking if
657
- a script loads successfully. On success, the endpoint will return a 200
658
- HTTP status code. On failure, the endpoint will return a 503 HTTP status code.
667
+ Flag for enabling the script health check endpoint. It's used for checking if
668
+ a script loads successfully. On success, the endpoint will return a 200
669
+ HTTP status code. On failure, the endpoint will return a 503 HTTP status code.
659
670
 
660
- Note: This is an experimental Streamlit internal API. The API is subject
661
- to change anytime so this should be used at your own risk
671
+ Note: This is an experimental Streamlit internal API. The API is subject
672
+ to change anytime so this should be used at your own risk
662
673
  """,
663
674
  default_val=False,
664
675
  type_=bool,
@@ -668,7 +679,7 @@ _create_option(
668
679
  "server.baseUrlPath",
669
680
  description="""
670
681
  The base path for the URL where Streamlit should be served from.
671
- """,
682
+ """,
672
683
  default_val="",
673
684
  type_=str,
674
685
  )
@@ -677,10 +688,12 @@ _create_option(
677
688
  _create_option(
678
689
  "server.enableCORS",
679
690
  description="""
680
- Enables support for Cross-Origin Resource Sharing (CORS) protection, for added security.
691
+ Enables support for Cross-Origin Resource Sharing (CORS) protection, for
692
+ added security.
681
693
 
682
- Due to conflicts between CORS and XSRF, if `server.enableXsrfProtection` is on and
683
- `server.enableCORS` is off at the same time, we will prioritize `server.enableXsrfProtection`.
694
+ Due to conflicts between CORS and XSRF, if `server.enableXsrfProtection` is
695
+ on and `server.enableCORS` is off at the same time, we will prioritize
696
+ `server.enableXsrfProtection`.
684
697
  """,
685
698
  default_val=True,
686
699
  type_=bool,
@@ -690,11 +703,13 @@ _create_option(
690
703
  _create_option(
691
704
  "server.enableXsrfProtection",
692
705
  description="""
693
- Enables support for Cross-Site Request Forgery (XSRF) protection, for added security.
706
+ Enables support for Cross-Site Request Forgery (XSRF) protection, for
707
+ added security.
694
708
 
695
- Due to conflicts between CORS and XSRF, if `server.enableXsrfProtection` is on and
696
- `server.enableCORS` is off at the same time, we will prioritize `server.enableXsrfProtection`.
697
- """,
709
+ Due to conflicts between CORS and XSRF, if `server.enableXsrfProtection` is
710
+ on and `server.enableCORS` is off at the same time, we will prioritize
711
+ `server.enableXsrfProtection`.
712
+ """,
698
713
  default_val=True,
699
714
  type_=bool,
700
715
  )
@@ -703,7 +718,7 @@ _create_option(
703
718
  "server.maxUploadSize",
704
719
  description="""
705
720
  Max size, in megabytes, for files uploaded with the file_uploader.
706
- """,
721
+ """,
707
722
  default_val=200, # If this default is changed, please also update the docstring for `DeltaGenerator.file_uploader`.
708
723
  type_=int,
709
724
  )
@@ -711,8 +726,9 @@ _create_option(
711
726
  _create_option(
712
727
  "server.maxMessageSize",
713
728
  description="""
714
- Max size, in megabytes, of messages that can be sent via the WebSocket connection.
715
- """,
729
+ Max size, in megabytes, of messages that can be sent via the WebSocket
730
+ connection.
731
+ """,
716
732
  default_val=200,
717
733
  type_=int,
718
734
  )
@@ -722,7 +738,7 @@ _create_option(
722
738
  description="""
723
739
  Enable automatically truncating all data structures that get serialized into Arrow (e.g. DataFrames)
724
740
  to ensure that the size is under `server.maxMessageSize`.
725
- """,
741
+ """,
726
742
  visibility="hidden",
727
743
  default_val=False,
728
744
  scriptable=True,
@@ -733,7 +749,7 @@ _create_option(
733
749
  "server.enableWebsocketCompression",
734
750
  description="""
735
751
  Enables support for websocket compression.
736
- """,
752
+ """,
737
753
  default_val=False,
738
754
  type_=bool,
739
755
  )
@@ -741,8 +757,9 @@ _create_option(
741
757
  _create_option(
742
758
  "server.enableStaticServing",
743
759
  description="""
744
- Enable serving files from a `static` directory in the running app's directory.
745
- """,
760
+ Enable serving files from a `static` directory in the running app's
761
+ directory.
762
+ """,
746
763
  default_val=False,
747
764
  type_=bool,
748
765
  )
@@ -753,7 +770,7 @@ _create_option(
753
770
  TTL in seconds for sessions whose websockets have been disconnected. The server
754
771
  may choose to clean up session state, uploaded files, etc for a given session
755
772
  with no active websocket connection at any point after this time has passed.
756
- """,
773
+ """,
757
774
  default_val=120,
758
775
  type_=int,
759
776
  )
@@ -773,7 +790,7 @@ _create_option(
773
790
  - Set the correct URL for CORS and XSRF protection purposes.
774
791
  - Show the URL on the terminal
775
792
  - Open the browser
776
- """,
793
+ """,
777
794
  default_val="localhost",
778
795
  type_=str,
779
796
  )
@@ -783,7 +800,7 @@ _create_option(
783
800
  "browser.gatherUsageStats",
784
801
  description="""
785
802
  Whether to send usage statistics to Streamlit.
786
- """,
803
+ """,
787
804
  default_val=True,
788
805
  type_=bool,
789
806
  )
@@ -845,9 +862,9 @@ _create_section("ui", "Configuration of UI elements displayed in the browser.")
845
862
  _create_option(
846
863
  "ui.hideTopBar",
847
864
  description="""
848
- Flag to hide most of the UI elements found at the top of a Streamlit app.
865
+ Flag to hide most of the UI elements found at the top of a Streamlit app.
849
866
 
850
- NOTE: This does *not* hide the main menu in the top-right of an app.
867
+ NOTE: This does *not* hide the main menu in the top-right of an app.
851
868
  """,
852
869
  default_val=False,
853
870
  type_=bool,
@@ -861,10 +878,12 @@ _create_section("mapbox", "Mapbox configuration that is being used by DeckGL.")
861
878
 
862
879
  _create_option(
863
880
  "mapbox.token",
864
- description="""Configure Streamlit to use a custom Mapbox
865
- token for elements like st.pydeck_chart and st.map.
866
- To get a token for yourself, create an account at
867
- https://mapbox.com. It's free (for moderate usage levels)!""",
881
+ description="""
882
+ Configure Streamlit to use a custom Mapbox
883
+ token for elements like st.pydeck_chart and st.map.
884
+ To get a token for yourself, create an account at
885
+ https://mapbox.com. It's free (for moderate usage levels)!
886
+ """,
868
887
  default_val="",
869
888
  sensitive=True,
870
889
  )
@@ -881,7 +900,7 @@ _create_option(
881
900
  docstrings. When this flag is set to True, Streamlit will instead display
882
901
  the root-level docstring in the app, just like any other magic string.
883
902
  This is useful for things like notebooks.
884
- """,
903
+ """,
885
904
  visibility="hidden",
886
905
  default_val=False,
887
906
  type_=bool,
@@ -893,7 +912,7 @@ _create_option(
893
912
  Make Streamlit's "magic" parser always display the last expression in the
894
913
  root file if it has no semicolon at the end. This matches the behavior of
895
914
  Jupyter notebooks, for example.
896
- """,
915
+ """,
897
916
  visibility="hidden",
898
917
  default_val=False,
899
918
  type_=bool,
@@ -906,8 +925,10 @@ _create_section("theme", "Settings to define a custom theme for your Streamlit a
906
925
 
907
926
  _create_option(
908
927
  "theme.base",
909
- description="""The preset Streamlit theme that your custom theme inherits from.
910
- One of "light" or "dark".""",
928
+ description="""
929
+ The preset Streamlit theme that your custom theme inherits from.
930
+ One of "light" or "dark".
931
+ """,
911
932
  )
912
933
 
913
934
  _create_option(
@@ -933,8 +954,8 @@ _create_option(
933
954
  _create_option(
934
955
  "theme.font",
935
956
  description="""
936
- Font family for all text in the app, except code blocks. One of "sans serif",
937
- "serif", or "monospace".
957
+ Font family for all text in the app, except code blocks. One of "sans serif",
958
+ "serif", or "monospace".
938
959
  """,
939
960
  )
940
961
 
@@ -944,7 +965,12 @@ _create_section("secrets", "Secrets configuration.")
944
965
 
945
966
  _create_option(
946
967
  "secrets.files",
947
- description="""List of locations where secrets are searched. Entries can be a path to toml file or directory path where Kubernetes style secrets will be scanned. Order is important, import is first to last, so secrets in later files will take precedence over earlier ones.""",
968
+ description="""
969
+ List of locations where secrets are searched. An entry can be a path to a
970
+ TOML file or directory path where Kubernetes style secrets are saved.
971
+ Order is important, import is first to last, so secrets in later files
972
+ will take precedence over earlier ones.
973
+ """,
948
974
  default_val=[
949
975
  # NOTE: The order here is important! Project-level secrets should overwrite global
950
976
  # secrets.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: streamlit-nightly
3
- Version: 1.38.1.dev20240913
3
+ Version: 1.38.1.dev20240915
4
4
  Summary: A faster way to build and share data apps
5
5
  Home-page: https://streamlit.io
6
6
  Author: Snowflake Inc
@@ -2,7 +2,7 @@ streamlit/__init__.py,sha256=G15ufvL0wBVC6fykpfFtv8mZqNjTS8xA03UwTyuesIA,9508
2
2
  streamlit/__main__.py,sha256=8vHowjccJfFMwrA22IEe3ynE9F670mkspbo9rYdM0ks,868
3
3
  streamlit/cli_util.py,sha256=Lz5th7VSp4KILRLEkjfOK_7AVhNnv2JROl_8UF1MDQg,3383
4
4
  streamlit/column_config.py,sha256=6RYqAsPV838B0DSb7nYPFedKfTxNCzVrc_4BmwMa_c4,1414
5
- streamlit/config.py,sha256=HUykQ37RP1SOfyu7eXKeNxAnLQIK1VhgfIQnfb7_aTk,40262
5
+ streamlit/config.py,sha256=ULdWEDSyDotBKo1byVYR1pgfGGyhxhTupQBt-yb6k6I,40546
6
6
  streamlit/config_option.py,sha256=pGzB3n-PRk-Zc1QgV4-_5PjlARQ0BDi7hx2UzeoyynE,11466
7
7
  streamlit/config_util.py,sha256=-MGb5eBrsZvNmqywmiBmo27ll1F9OmCDX4toGWglv2c,6015
8
8
  streamlit/cursor.py,sha256=SXJcot8mc1htkXx1jnIWmvYRaFPlPpTOhPoYH-LPmos,6026
@@ -538,9 +538,9 @@ streamlit/web/server/server_util.py,sha256=C3M971XFoEXTMufQLwHbZdtZOE30nWx-2WiXm
538
538
  streamlit/web/server/stats_request_handler.py,sha256=e144zIhzLTB1PN4CwTCxElCoWMuo9IsBEPex2exHCQ0,3641
539
539
  streamlit/web/server/upload_file_request_handler.py,sha256=ftyKpARrUjOpRcFETIXuoTyOG_mo-ToOw5NI0y_W4lE,5003
540
540
  streamlit/web/server/websocket_headers.py,sha256=uUxypj04ondEC4ocBiYCndX_N06Zwe1Mt690Vupe08Y,2232
541
- streamlit_nightly-1.38.1.dev20240913.data/scripts/streamlit.cmd,sha256=ZEYM3vBJSp-k7vwSJ3ba5NzEk9-qHdSeLvGYAAe1mMw,676
542
- streamlit_nightly-1.38.1.dev20240913.dist-info/METADATA,sha256=TUHDyGD5fGbgH3h-0OIX50tWPJ1u1WIYaruqdikIyo0,8512
543
- streamlit_nightly-1.38.1.dev20240913.dist-info/WHEEL,sha256=qUzzGenXXuJTzyjFah76kDVqDvnk-YDzY00svnrl84w,109
544
- streamlit_nightly-1.38.1.dev20240913.dist-info/entry_points.txt,sha256=uNJ4DwGNXEhOK0USwSNanjkYyR-Bk7eYQbJFDrWyOgY,53
545
- streamlit_nightly-1.38.1.dev20240913.dist-info/top_level.txt,sha256=V3FhKbm7G2LnR0s4SytavrjIPNIhvcsAGXfYHAwtQzw,10
546
- streamlit_nightly-1.38.1.dev20240913.dist-info/RECORD,,
541
+ streamlit_nightly-1.38.1.dev20240915.data/scripts/streamlit.cmd,sha256=ZEYM3vBJSp-k7vwSJ3ba5NzEk9-qHdSeLvGYAAe1mMw,676
542
+ streamlit_nightly-1.38.1.dev20240915.dist-info/METADATA,sha256=peyXJs1ZCkxmzAEfyfNxadbHFA59vMN2GoyWw4qDi00,8512
543
+ streamlit_nightly-1.38.1.dev20240915.dist-info/WHEEL,sha256=muXAwoPanksrVvf9Mcykr8l6Q0JyBrGUVYr50kE4bxo,109
544
+ streamlit_nightly-1.38.1.dev20240915.dist-info/entry_points.txt,sha256=uNJ4DwGNXEhOK0USwSNanjkYyR-Bk7eYQbJFDrWyOgY,53
545
+ streamlit_nightly-1.38.1.dev20240915.dist-info/top_level.txt,sha256=V3FhKbm7G2LnR0s4SytavrjIPNIhvcsAGXfYHAwtQzw,10
546
+ streamlit_nightly-1.38.1.dev20240915.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: setuptools (74.1.2)
2
+ Generator: setuptools (75.0.0)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py2-none-any
5
5
  Tag: py3-none-any