AlFontal / sugarboard

Home Page:https://share.streamlit.io/alfontal/sugarboard

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sugarboard

Streamlit App

Streamlit app made to display data from a personal Continuous Glucose Monitor data by using Nightscout's API.

Local Setup

Assumes working python installation and some command line knowledge (install python with conda guide).

# External users: download Files
git clone git@github.com:AlFontal/sugarboard.git

# Go to correct directory
cd sugarboard

# Run the streamlit app (will install dependencies in a virtualenvironment in the folder venv)
make run

Open your browser to http://localhost:8501/ if it doesn't open automatically.

Local Development

The Makefile and development requirements provide some handy Python tools for writing better code. See the Makefile for more detail

# Run black, isort, and flake8 on your codebase
make lint
# Run pytest with coverage report on all tests not marked with `@pytest.mark.e2e`
make test
# Run pytest on tests marked e2e (NOTE: e2e tests require `make run` to be running in a separate terminal)
make test-e2e
# Run pytest on tests marked e2e and replace visual baseline images
make test-e2e-baseline
# After running tests, display the coverage html report on localhost
make coverage

About

https://share.streamlit.io/alfontal/sugarboard

License:Apache License 2.0


Languages

Language:Python 91.2%Language:Makefile 7.9%Language:Procfile 0.9%