A simple Streamlit app to test and learn Streamlit.
- Install Poetry
- Create a virtual environment using
python3 -m venv venv
- Activate the virtual environment using
source venv/bin/activate
- Install all project dependancies using
poetry install
- Run the project using
streamlit run src/app.py
This repository includes 2 sets of example data which mirrors the output of the Github Copilot RESTful API. These have been sourced from this repository. The 2 datasets are:
- copilot_usage_data.json (from this endpoint)
- copilot_seats_data.json (from this enpoint)
These endpoints are both in beta (as of 21/05/24) and may change in the future.
Streamlit supports a range of different graphing libraries. Within the project I test different ones to decide which is best for my use case.
Matplotlib is the most basic and most powerful. However, it lacks any interactivity which is offered in Plotly (which is something I find very valuable).
After Testing, I decided to go with Plotly, due to it having the right balance between interactivity and simplicity while still being powerful enough to produce a range of charts.