Skip to content

Viictorreiss/streamlit-authenticator-template

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Streamlit Authenticator Template

A brief description of what this project does and who it is for

Alt ​​text

Authentication

User information is stored in the config.yaml file in this repository, where the configuration leads the user to acquire a role in the system.

This role is used in the /modules/nav.py file that manages the session through the streamlit-authenticator library. It is in this same file that you will release the permissions for more roles or the pages that each user can authenticate.

By default I created two users to make it easier to understand the template, these users should not be taken to a production environment.

  user: adminuser key: abc
  user: readonly key: abc

Alt ​​text

Installation

Install streamlit libraries

  py -3 -m venv .venv
  pip install -r requirements.txt

Start the server

  streamlit run streamlit_app.py

Reference

Observations

This template is a technical guide to follow and even study (if necessary) how Python + Streamlit works.

The template is open source for everyone to enjoy and implement their idea on top of it as needed.

About

Simple model with streamlit application + streamlit authenticator

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages