Skip to content
This repository was archived by the owner on Sep 9, 2025. It is now read-only.

Commit 77d88f6

Browse files
authored
Merge pull request #104 from sol-eng/deps
2 parents cedb504 + 9509a79 commit 77d88f6

File tree

126 files changed

+740
-2265
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

126 files changed

+740
-2265
lines changed

.github/workflows/deploy.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -27,15 +27,14 @@ jobs:
2727
./flask-restx/
2828
./flask-sentiment-analysis-api/
2929
./flask-sentiment-analysis-app/
30-
./image-classifier/
31-
./jupyter-interactive-visualization/
3230
./jupyter-static-visualization/
31+
./jupyter-voila/
3332
./quarto-lightbox/
33+
./reticulated-image-classifier/
34+
./reticulated-sentiment-analysis-api/
35+
./reticulated-sentiment-analysis-app/
3436
./rmarkdown-notebook/
35-
./rmarkdown-static-visualization/
3637
./shiny-income-share/
37-
./sentiment-analysis/
38-
./sentiment-analysis-app/
3938
./streamlit-income-share/
4039
require-vanity-path: true
4140
access-type: all

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,3 +49,5 @@ rmarkdown-notebook/flights.csv
4949
venv
5050
.env
5151
.Rprofile
52+
53+
/.luarc.json

.python-version

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
3.10.0

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
1-
# RStudio Connect & Python
1+
# Posit Connect & Python
22

3-
RStudio Connect is a publishing platform for the work your team creates in R and Python.
3+
Posit Connect is a publishing platform for the work your team creates in R and Python.
44
This repository contains examples of Python content you can deploy to Connect, including:
55

66
## Interactive apps
77

88
- [Streamlit](./streamlit-income-share/README.md)
99
- [Dash](dash-app/README.md)
1010
- [Flask](flask-sentiment-analysis-app/README.md)
11+
- [Voila](./jupyter-voila/README.md)
1112

1213
### Web APIs
1314

@@ -30,16 +31,16 @@ This enables you to use models built in Python to power Shiny apps, visualize pa
3031

3132
### Interactive apps
3233

33-
- [Serving Sentiment Analysis with Plumber and spaCy](./sentiment-analysis/README.md)
34-
- [Image Classification with PyTorch and Shiny](./image-classifier/README.md)
34+
- [Serving Sentiment Analysis with Plumber and spaCy](./reticulatd-sentiment-analysis-api/README.md)
35+
- [Image Classification with PyTorch and Shiny](./reticulated-image-classifier/README.md)
3536

3637
### Documents
3738

3839
- [Visualizing pandas dataframes with ggplot2](./rmarkdown-notebook/README.md)
3940

4041
## Getting Started
4142

42-
You can deploy examples from this repo to your Connect server [via git-backed deployment](https://docs.rstudio.com/connect/user/git-backed/), or clone the repository and deploy examples from their manifests with the [`rsconnect` CLI](https://docs.rstudio.com/rsconnect-python/).
43+
You can deploy examples from this repo to your Connect server [via git-backed deployment](https://docs.posit.co/connect/user/git-backed/), or clone the repository and deploy examples from their manifests with the [`rsconnect` CLI](https://docs.posit.co/rsconnect-python/).
4344

4445
If you want to explore an example more closely before deploying it:
4546

@@ -67,7 +68,7 @@ Overview:
6768

6869
* Create and activate a virtual environment
6970
* Run the examples locally
70-
* Acquire an [API key](https://docs.rstudio.com/connect/user/api-keys/)
71+
* Acquire an [API key](https://docs.posit.co/connect/user/api-keys/)
7172
* Publish the examples with the [rsconnect cli](https://github.com/rstudio/rsconnect-python)
7273
* Save the environment and deployment details for future git-backed publishing
7374

dash-app/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,4 +12,4 @@ rsconnect deploy dash . -n <SERVER-NICKNAME>
1212

1313
## Resources
1414

15-
[RStudio Connect User Guide - Dash](https://docs.rstudio.com/connect/user/dash/)
15+
[Posit Connect User Guide - Dash](https://docs.posit.co/connect/user/dash/)

dash-app/manifest.json

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,21 @@
11
{
22
"version": 1,
3+
"locale": "en_US.UTF-8",
34
"metadata": {
45
"appmode": "python-dash",
56
"entrypoint": "app"
67
},
7-
"locale": "en_US.UTF-8",
88
"python": {
9-
"version": "3.8.6",
9+
"version": "3.10.0",
1010
"package_manager": {
1111
"name": "pip",
12-
"version": "21.2.4",
12+
"version": "23.0.1",
1313
"package_file": "requirements.txt"
1414
}
1515
},
1616
"files": {
1717
"requirements.txt": {
18-
"checksum": "d9ec95c0586e1a782076258914ec6279"
19-
},
20-
"README.md": {
21-
"checksum": "c88f6181d84998f958b10246f1970721"
18+
"checksum": "714eff35716ba552e0dde4a13cd8ceb6"
2219
},
2320
"app.png": {
2421
"checksum": "d7dc349dbfd3e2dd7be1d7f77b2f3309"
@@ -33,4 +30,4 @@
3330
"checksum": "a4e86ec9273e07fdb85cf5dd6c6fed1e"
3431
}
3532
}
36-
}
33+
}

dash-app/requirements.txt

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,17 @@
1-
Brotli==1.0.9
2-
click==8.0.1
3-
dash==2.0.0
1+
click==8.1.3
2+
dash==2.9.1
43
dash-core-components==2.0.0
54
dash-html-components==2.0.0
65
dash-table==5.0.0
7-
Flask==2.0.2
8-
Flask-Compress==1.10.1
9-
itsdangerous==2.0.1
10-
Jinja2==3.0.2
11-
MarkupSafe==2.0.1
12-
numpy==1.22.0
13-
pandas==1.5.2
14-
plotly==5.3.1
6+
Flask==2.2.3
7+
itsdangerous==2.1.2
8+
Jinja2==3.1.2
9+
MarkupSafe==2.1.2
10+
numpy==1.24.2
11+
pandas==1.5.3
12+
plotly==5.13.1
1513
python-dateutil==2.8.2
16-
python-dotenv==0.19.0
17-
pytz==2021.3
14+
pytz==2022.7.1
1815
six==1.16.0
19-
tenacity==8.0.1
16+
tenacity==8.2.2
2017
Werkzeug==2.2.3

dash-bikeshare/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,4 @@ rsconnect deploy dash . -n <SERVER-NICKNAME>
99
```
1010
## Resources
1111

12-
[RStudio Connect User Guide - Dash](https://docs.rstudio.com/connect/user/dash/)
12+
[Posit Connect User Guide - Dash](https://docs.posit.co/connect/user/dash/)

dash-bikeshare/manifest.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
{
22
"version": 1,
3+
"locale": "en_US.UTF-8",
34
"metadata": {
45
"appmode": "python-dash",
56
"entrypoint": "app"
67
},
7-
"locale": "en_US.UTF-8",
88
"python": {
9-
"version": "3.8.6",
9+
"version": "3.10.0",
1010
"package_manager": {
1111
"name": "pip",
12-
"version": "21.2.4",
12+
"version": "23.0.1",
1313
"package_file": "requirements.txt"
1414
}
1515
},
1616
"files": {
1717
"requirements.txt": {
18-
"checksum": "2a7c57f3b31ba1b8b95f4d226bdc5384"
18+
"checksum": "78b12cc7395472129cd5149d4fe9c59c"
1919
},
2020
"app.py": {
2121
"checksum": "34fd547314532279ce0eeae8ed9f32e9"
@@ -24,4 +24,4 @@
2424
"checksum": "30dc5ae0bfabcc5cf69e64a271e3c8c6"
2525
}
2626
}
27-
}
27+
}

dash-bikeshare/requirements.txt

Lines changed: 16 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,23 @@
1-
--index-url https://packagemanager.rstudio.com/pypi/latest/simple
2-
Brotli==1.0.9
31
certifi==2022.12.7
4-
charset-normalizer==2.0.6
5-
click==8.0.1
6-
dash==2.0.0
2+
charset-normalizer==3.1.0
3+
click==8.1.3
4+
dash==2.9.1
75
dash-core-components==2.0.0
86
dash-html-components==2.0.0
97
dash-table==5.0.0
10-
Flask==2.0.2
11-
Flask-Compress==1.10.1
12-
idna==3.2
13-
itsdangerous==2.0.1
14-
Jinja2==3.0.2
15-
MarkupSafe==2.0.1
16-
numpy==1.22.0
17-
pandas==1.3.3
18-
patsy==0.5.2
19-
plotly==5.3.1
20-
plotly-express==0.4.1
8+
Flask==2.2.3
9+
idna==3.4
10+
itsdangerous==2.1.2
11+
Jinja2==3.1.2
12+
MarkupSafe==2.1.2
13+
numpy==1.24.2
14+
pandas==1.5.3
15+
plotly==5.13.1
2116
python-dateutil==2.8.2
22-
python-dotenv==0.19.0
23-
pytz==2021.3
24-
requests==2.26.0
25-
scipy==1.7.1
17+
python-dotenv==1.0.0
18+
pytz==2022.7.1
19+
requests==2.28.2
2620
six==1.16.0
27-
statsmodels==0.13.0
28-
tenacity==8.0.1
29-
urllib3==1.26.7
21+
tenacity==8.2.2
22+
urllib3==1.26.15
3023
Werkzeug==2.2.3

0 commit comments

Comments
 (0)