streamlit init

Initializes this directory with a sample set of files for creating a Streamlit project.

Syntax

snow streamlit init
  <project_name>
  --format <format>
  --verbose
  --debug
  --silent
Copy

Arguments

project_name [PROJECT_NAME]

Name of the Streamlit project you want to create.

Options

--format [TABLE|JSON]

Specifies the output format.

--verbose, -v

Displays log entries for log levels info and higher.

--debug

Displays log entries for log levels debug and higher; debug logs contains additional information.

--silent

Turns off intermediate output to console.

--help

Displays the help text for this command.

Usage notes

The streamlit init command initializes a directory with a sample set of files for creating a Streamlit app project. The command overwrites any existing files.

Examples

snow streamlit init
Copy
Initialized the new project in example_streamlit/