@@ -36,7 +36,6 @@ If changes to `.streamlit/config.toml` are made _while_ the app is running, the
3636 streamlit run your_script.py --server.port 80
3737 ```
3838
39-
4039## Telemetry
4140
4241As mentioned during the installation process, Streamlit collects usage statistics. You can find out
@@ -441,350 +440,3 @@ showPyplotGlobalUse = true
441440# "serif", or "monospace".
442441# font =
443442```
444-
445- <Collapse title =" View entire file " expanded ={false} >
446-
447- This is the entire ` config.toml ` file with all the options for version 1.25.0:
448-
449- ``` toml
450- [global ]
451-
452- # By default, Streamlit checks if the Python watchdog module is available
453- # and, if not, prints a warning asking for you to install it. The watchdog
454- # module is not required, but highly recommended. It improves Streamlit's
455- # ability to detect changes to files in your filesystem.
456-
457- # If you'd like to turn off this warning, set this to True.
458-
459- # Default: false
460- disableWatchdogWarning = false
461-
462- # By default, Streamlit displays a warning when a user sets both a widget
463- # default value in the function defining the widget and a widget value via
464- # the widget's key in `st.session_state`.
465-
466- # If you'd like to turn off this warning, set this to True.
467-
468- # Default: false
469- disableWidgetStateDuplicationWarning = false
470-
471- # If True, will show a warning when you run a Streamlit-enabled script
472- # via "python my_script.py".
473-
474- # Default: true
475- showWarningOnDirectExecution = true
476-
477- # DataFrame serialization.
478-
479- # Acceptable values:
480- # - 'legacy' : Serialize DataFrames using Streamlit's custom format. Slow
481- # but battle-tested.
482- # - 'arrow' : Serialize DataFrames using Apache Arrow. Much faster and
483- # versatile.
484-
485- # Default: "arrow"
486- dataFrameSerialization = " arrow"
487-
488- [logger ]
489-
490- # Level of logging: 'error', 'warning', 'info', or 'debug'.
491-
492- # Default: 'info'
493- level = " info"
494-
495- # String format for logging messages. If logger.datetimeFormat is set,
496- # logger messages will default to `%(asctime)s.%(msecs)03d %(message)s`. See
497- # Python's documentation for available attributes:
498- # https://docs.python.org/2.6/library/logging.html#formatter-objects
499-
500- # Default: "%(asctime)s %(message)s"
501- messageFormat = " %(asctime)s %(message)s"
502-
503- [client ]
504-
505- # Whether to enable st.cache. This does not affect st.cache_data or
506- # st.cache_resource.
507-
508- # Default: true
509- caching = true
510-
511- # If false, makes your Streamlit script not draw to a
512- # Streamlit app.
513-
514- # Default: true
515- displayEnabled = true
516-
517- # Controls whether uncaught app exceptions and deprecation warnings
518- # are displayed in the browser. By default, this is set to True and
519- # Streamlit displays app exceptions and associated tracebacks, and
520- # deprecation warnings, in the browser.
521-
522- # If set to False, deprecation warnings and full exception messages
523- # will print to the console only. Exceptions will still display in the
524- # browser with a generic error message. For now, the exception type and
525- # traceback show in the browser also, but they will be removed in the
526- # future.
527-
528- # Default: true
529- showErrorDetails = true
530-
531- # Change the visibility of items in the toolbar, options menu,
532- # and settings dialog (top right of the app).
533-
534- # Allowed values:
535- # * "auto" : Show the developer options if the app is accessed through
536- # localhost or through Streamlit Community Cloud as a developer.
537- # Hide them otherwise.
538- # * "developer" : Show the developer options.
539- # * "viewer" : Hide the developer options.
540- # * "minimal" : Show only options set externally (e.g. through
541- # Streamlit Community Cloud) or through st.set_page_config.
542- # If there are no options left, hide the menu.
543-
544- # Default: "auto"
545- toolbarMode = " auto"
546-
547- [runner ]
548-
549- # Allows you to type a variable or string by itself in a single line of
550- # Python code to write it to the app.
551-
552- # Default: true
553- magicEnabled = true
554-
555- # Install a Python tracer to allow you to stop or pause your script at
556- # any point and introspect it. As a side-effect, this slows down your
557- # script's execution.
558-
559- # Default: false
560- installTracer = false
561-
562- # Sets the MPLBACKEND environment variable to Agg inside Streamlit to
563- # prevent Python crashing.
564-
565- # Default: true
566- fixMatplotlib = true
567-
568- # Run the Python Garbage Collector after each script execution. This
569- # can help avoid excess memory use in Streamlit apps, but could
570- # introduce delay in rerunning the app script for high-memory-use
571- # applications.
572-
573- # Default: true
574- postScriptGC = true
575-
576- # Handle script rerun requests immediately, rather than waiting for script
577- # execution to reach a yield point. This makes Streamlit much more
578- # responsive to user interaction, but it can lead to race conditions in
579- # apps that mutate session_state data outside of explicit session_state
580- # assignment statements.
581-
582- # Default: true
583- fastReruns = true
584-
585- # Raise an exception after adding unserializable data to Session State.
586- # Some execution environments may require serializing all data in Session
587- # State, so it may be useful to detect incompatibility during development,
588- # or when the execution environment will stop supporting it in the future.
589-
590- # Default: false
591- enforceSerializableSessionState = false
592-
593- [server ]
594-
595- # List of folders that should not be watched for changes. This
596- # impacts both "Run on Save" and @st.cache.
597-
598- # Relative paths will be taken as relative to the current working directory.
599-
600- # Example: ['/home/user1/env', 'relative/path/to/folder']
601-
602- # Default: []
603- folderWatchBlacklist = []
604-
605- # Change the type of file watcher used by Streamlit, or turn it off
606- # completely.
607-
608- # Allowed values:
609- # * "auto" : Streamlit will attempt to use the watchdog module, and
610- # falls back to polling if watchdog is not available.
611- # * "watchdog" : Force Streamlit to use the watchdog module.
612- # * "poll" : Force Streamlit to always use polling.
613- # * "none" : Streamlit will not watch files.
614-
615- # Default: "auto"
616- fileWatcherType = " auto"
617-
618- # Symmetric key used to produce signed cookies. If deploying on multiple
619- # replicas, this should be set to the same value across all replicas to ensure
620- # they all share the same secret.
621-
622- # Default: randomly generated secret key.
623- cookieSecret = " a-random-key-appears-here"
624-
625- # If false, will attempt to open a browser window on start.
626-
627- # Default: false unless (1) we are on a Linux box where DISPLAY is unset, or
628- # (2) we are running in the Streamlit Atom plugin.
629- # headless = false
630-
631- # Automatically rerun script when the file is modified on disk.
632-
633- # Default: false
634- runOnSave = false
635-
636- # The address where the server will listen for client and browser
637- # connections. Use this if you want to bind the server to a specific address.
638- # If set, the server will only be accessible from this address, and not from
639- # any aliases (like localhost).
640-
641- # Default: (unset)
642- # address =
643-
644- # The port where the server will listen for browser connections.
645-
646- # Default: 8501
647- port = 8501
648-
649- # The base path for the URL where Streamlit should be served from.
650-
651- # Default: ""
652- baseUrlPath = " "
653-
654- # Enables support for Cross-Origin Resource Sharing (CORS) protection, for
655- # added security.
656-
657- # Due to conflicts between CORS and XSRF, if `server.enableXsrfProtection` is
658- # on and `server.enableCORS` is off at the same time, we will prioritize
659- # `server.enableXsrfProtection`.
660-
661- # Default: true
662- enableCORS = true
663-
664- # Enables support for Cross-Site Request Forgery (XSRF) protection, for added
665- # security.
666-
667- # Due to conflicts between CORS and XSRF, if `server.enableXsrfProtection` is
668- # on and `server.enableCORS` is off at the same time, we will prioritize
669- # `server.enableXsrfProtection`.
670-
671- # Default: true
672- enableXsrfProtection = true
673-
674- # Max size, in megabytes, for files uploaded with the file_uploader.
675-
676- # Default: 200
677- maxUploadSize = 200
678-
679- # Max size, in megabytes, of messages that can be sent via the WebSocket
680- # connection.
681-
682- # Default: 200
683- maxMessageSize = 200
684-
685- # Enables support for websocket compression.
686-
687- # Default: false
688- enableWebsocketCompression = false
689-
690- # Enable serving files from a `static` directory in the running app's
691- # directory.
692-
693- # Default: false
694- enableStaticServing = false
695-
696- # Server certificate file for connecting via HTTPS.
697- # Must be set at the same time as "server.sslKeyFile".
698-
699- # ['DO NOT USE THIS OPTION IN A PRODUCTION ENVIRONMENT. It has not gone through
700- # security audits or performance tests. For the production environment, we
701- # recommend performing SSL termination by the load balancer or the reverse
702- # proxy.']
703- # sslCertFile =
704-
705- # Cryptographic key file for connecting via HTTPS.
706- # Must be set at the same time as "server.sslCertFile".
707-
708- # ['DO NOT USE THIS OPTION IN A PRODUCTION ENVIRONMENT. It has not gone through
709- # security audits or performance tests. For the production environment, we
710- # recommend performing SSL termination by the load balancer or the reverse
711- # proxy.']
712- # sslKeyFile =
713-
714- [browser ]
715-
716- # Internet address where users should point their browsers in order to
717- # connect to the app. Can be IP address or DNS name and path.
718-
719- # This is used to:
720- # - Set the correct URL for CORS and XSRF protection purposes.
721- # - Show the URL on the terminal
722- # - Open the browser
723-
724- # Default: "localhost"
725- serverAddress = " localhost"
726-
727- # Whether to send usage statistics to Streamlit.
728-
729- # Default: true
730- gatherUsageStats = true
731-
732- # Port where users should point their browsers in order to connect to the
733- # app.
734-
735- # This is used to:
736- # - Set the correct URL for CORS and XSRF protection purposes.
737- # - Show the URL on the terminal
738- # - Open the browser
739-
740- # Default: whatever value is set in server.port.
741- serverPort = 8501
742-
743- [mapbox ]
744-
745- # Configure Streamlit to use a custom Mapbox
746- # token for elements like st.pydeck_chart and st.map.
747- # To get a token for yourself, create an account at
748- # https://mapbox.com. It's free (for moderate usage levels)!
749-
750- # Default: ""
751- token = " "
752-
753- [deprecation ]
754-
755- # Set to false to disable the deprecation warning for the file uploader
756- # encoding.
757-
758- # Default: true
759- showfileUploaderEncoding = true
760-
761- # Set to false to disable the deprecation warning for using the global pyplot
762- # instance.
763-
764- # Default: true
765- showPyplotGlobalUse = true
766-
767- [theme ]
768-
769- # The preset Streamlit theme that your custom theme inherits from.
770- # One of "light" or "dark".
771- # base =
772-
773- # Primary accent color for interactive elements.
774- # primaryColor =
775-
776- # Background color for the main content area.
777- # backgroundColor =
778-
779- # Background color used for the sidebar and most interactive widgets.
780- # secondaryBackgroundColor =
781-
782- # Color used for almost all text.
783- # textColor =
784-
785- # Font family for all text in the app, except code blocks. One of "sans serif",
786- # "serif", or "monospace".
787- # font =
788- ```
789-
790- </Collapse >
0 commit comments