Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Streamlit, Flask screenshots #144

Merged
merged 5 commits into from
Mar 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions examples/flask/login/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

Sample Flask application that allows creating accounts, signing in, and making requests via an API key.

![](screenshot.webp)

This application requires a `FLASK_SECRET_KEY` variable, generate one with:

```sh
Expand Down
16 changes: 16 additions & 0 deletions examples/flask/login/requirements.lock.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
bcrypt==4.1.2
blinker==1.7.0
click==8.1.7
Flask==3.0.2
Flask-Login==0.6.3
Flask-SQLAlchemy==3.1.1
gunicorn==21.2.0
humanize==4.9.0
itsdangerous==2.1.2
Jinja2==3.1.3
MarkupSafe==2.1.5
packaging==23.2
SQLAlchemy==2.0.28
typing_extensions==4.10.0
Werkzeug==3.0.1
WTForms==3.1.2
Binary file added examples/flask/login/screenshot.webp
Binary file not shown.
2 changes: 2 additions & 0 deletions examples/flask/machine-learning/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@

A Flask app that makes predictions using an ML model.

![](screenshot.webp)

This Flask app serves a machine learning model trained on the `Walmart Recruiting - Store Sales Forecasting` dataset for predicting store sales.

## Getting Started
Expand Down
26 changes: 26 additions & 0 deletions examples/flask/machine-learning/requirements.lock.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
blinker==1.7.0
click==8.1.7
contourpy==1.2.0
cycler==0.12.1
Flask==3.0.2
fonttools==4.49.0
itsdangerous==2.1.2
Jinja2==3.1.3
joblib==1.3.2
kiwisolver==1.4.5
MarkupSafe==2.1.5
matplotlib==3.8.3
numpy==1.26.4
packaging==23.2
pandas==2.2.1
pillow==10.2.0
pyparsing==3.1.2
python-dateutil==2.9.0.post0
pytz==2024.1
scikit-learn==1.4.1.post1
scipy==1.12.0
seaborn==0.13.2
six==1.16.0
threadpoolctl==3.3.0
tzdata==2024.1
Werkzeug==3.0.1
1 change: 1 addition & 0 deletions examples/flask/machine-learning/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
flask
seaborn
joblib
numpy
Expand Down
Binary file added examples/flask/machine-learning/screenshot.webp
Binary file not shown.
455 changes: 425 additions & 30 deletions examples/flask/machine-learning/walmart_sales.ipynb

Large diffs are not rendered by default.

4 changes: 3 additions & 1 deletion examples/streamlit/data-viz/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# Data visualisation

An interactive app that explores a public Uber dataset for pickups and drop-offs in New York City.
An interactive app that explores a public Uber dataset for pickups and drop-offs in New York City.

![](screenshot.webp)
40 changes: 40 additions & 0 deletions examples/streamlit/data-viz/requirements.lock.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
altair==5.2.0
attrs==23.2.0
blinker==1.7.0
cachetools==5.3.3
certifi==2024.2.2
charset-normalizer==3.3.2
click==8.1.7
gitdb==4.0.11
GitPython==3.1.42
idna==3.6
Jinja2==3.1.3
jsonschema==4.21.1
jsonschema-specifications==2023.12.1
markdown-it-py==3.0.0
MarkupSafe==2.1.5
mdurl==0.1.2
numpy==1.26.4
packaging==23.2
pandas==2.2.1
pillow==10.2.0
protobuf==4.25.3
pyarrow==15.0.1
pydeck==0.8.1b0
Pygments==2.17.2
python-dateutil==2.9.0.post0
pytz==2024.1
referencing==0.33.0
requests==2.31.0
rich==13.7.1
rpds-py==0.18.0
six==1.16.0
smmap==5.0.1
streamlit==1.32.0
tenacity==8.2.3
toml==0.10.2
toolz==0.12.1
tornado==6.4
typing_extensions==4.10.0
tzdata==2024.1
urllib3==2.2.1
Binary file added examples/streamlit/data-viz/screenshot.webp
Binary file not shown.