Streamlit-base: a template repository

Link: https://github.com/Goldmaa/streamlit-base

Streamlit Base

Intended Use

Gist

This is a template repository, so its intended use is to create other repositories which build off of this web app template.

Use cases

Set up by default with an authentication system - this is suited for general websites, but of course also works for data display apps.

Dependencies

Pip Packages

All pip requirements are listed in requirements.txt

Authentication

Authentication Widgets

Uses streamlit-authenticator library for authentication widgets

Credentials

Credentials are stored in config.yaml

Config && Secrets

Config

Configuration for Streamlit is stored in /.streamlit/config.toml

Secrets

Secrets for Streamlit environment are stored in /.streamlit/secrets.toml

Github Actions

Pylint

Default Pylint Github Action is set up in /.github/workflows/pylint.yml

Licensing

None (ish).

Unlicensed using https://unlicense.org/ - see UNLICENSE file

1 Like

Nice work :slightly_smiling_face:

Perhaps you don’t need to add the secrets.toml. Could be dangerous to beginners. They are usually not using it. In the community cloud, there is a system to handle the secrets.

On the requirements.txt perhaps it is better to pin the version (streamlit==1.32.2 and others) to get consistent behavior.

1 Like

Check it out!