Skip to content

Commit 9509a79

Browse files
committed
renamed reticulated apps, bump deps
1 parent 9615961 commit 9509a79

File tree

105 files changed

+586
-2095
lines changed

Some content is hidden

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

105 files changed

+586
-2095
lines changed

.github/workflows/deploy.yml

+4-5
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

README.md

+7-6
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

+1-1
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-bikeshare/README.md

+1-1
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/)

fastapi-stock/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,4 @@ rsconnect deploy fastapi . -n <SERVER-NICKNAME>
77
```
88
## Resources
99

10-
[RStudio Connect User Guide - FastAPI](https://docs.rstudio.com/connect/user/fastapi/)
10+
[Posit Connect User Guide - FastAPI](https://docs.posit.co/connect/user/fastapi/)

flask-getting-started-rsc/README.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
## Getting Started with Flask and RStudio Connect
1+
## Getting Started with Flask and Posit Connect
22

33
This application structure and set-up follows the steps outlined in the links below.
44

@@ -17,7 +17,7 @@ rsconnect deploy api . -n <SERVER-NICKNAME>
1717

1818
#### Resources
1919

20-
- [RStudio Connect User Guide - Flask](https://docs.rstudio.com/connect/user/flask/)
21-
- [Getting Started with Flask and RStudio Connect](https://support.rstudio.com/hc/en-us/articles/360044700234)
22-
- [Deploying Flask Applications to RStudio Connect with Git and rsconnect-python](https://support.rstudio.com/hc/en-us/articles/360045224233)
23-
- [Using Templates and Static Assets with Flask Applications on RStudio Connect](https://support.rstudio.com/hc/en-us/articles/360045279313)
20+
- [Posit Connect User Guide - Flask](https://docs.posit.co/connect/user/flask/)
21+
- [Getting Started with Flask and Posit Connect](https://support.rstudio.com/hc/en-us/articles/360044700234)
22+
- [Deploying Flask Applications to Posit Connect with Git and rsconnect-python](https://support.rstudio.com/hc/en-us/articles/360045224233)
23+
- [Using Templates and Static Assets with Flask Applications on Posit Connect](https://support.rstudio.com/hc/en-us/articles/360045279313)

flask-getting-started-sqlalchemy/README.md

+7-7
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,19 @@
1-
## Using Flask-SQLAlchemy with Flask Applications on RStudio Connect
1+
## Using Flask-SQLAlchemy with Flask Applications on Posit Connect
22

33
This application structure and set-up follows the steps outlined in
4-
[Using Flask-SQLAlchemy with Flask Applications on RStudio Connect](https://support.rstudio.com/hc/en-us/articles/360045926213):
4+
[Using Flask-SQLAlchemy with Flask Applications on Posit Connect](https://support.rstudio.com/hc/en-us/articles/360045926213):
55

66
- Creating a minimal application based on the Flask-SQLAlchemy quickstart guide
77
- Define the database model to use
88
- Initialize a SQLite database
99
- Commit data to the database
10-
- Deploy the application to RStudio Connect with rsconnect-python
10+
- Deploy the application to Posit Connect with rsconnect-python
1111

1212
And, optionally:
1313

1414
- Switch to a PostgreSQL database server
1515
- Add `pyscopg2` dependency to the Python environment
16-
- Add the database server connection string as an environment variable in RStudio Connect
16+
- Add the database server connection string as an environment variable in Posit Connect
1717
- Redeploy the application
1818

1919
---
@@ -33,6 +33,6 @@ rsconnect deploy api . -n <SERVER-NICKNAME>
3333

3434
### Additional Resources
3535

36-
- [Getting Started with Flask and RStudio Connect](https://support.rstudio.com/hc/en-us/articles/360044700234)
37-
- [Deploying Flask Applications to RStudio Connect with Git and rsconnect-python](https://support.rstudio.com/hc/en-us/articles/360045224233)
38-
- [Using Templates and Static Assets with Flask Applications on RStudio Connect](https://support.rstudio.com/hc/en-us/articles/360045279313)
36+
- [Getting Started with Flask and Posit Connect](https://support.rstudio.com/hc/en-us/articles/360044700234)
37+
- [Deploying Flask Applications to Posit Connect with Git and rsconnect-python](https://support.rstudio.com/hc/en-us/articles/360045224233)
38+
- [Using Templates and Static Assets with Flask Applications on Posit Connect](https://support.rstudio.com/hc/en-us/articles/360045279313)

flask-getting-started-sqlalchemy/templates/index.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<body class="pa">
1010
<div class="ba">
1111
{% for user in users %}
12-
Hello, {{ user.username }} from RStudio Connect! <br />
12+
Hello, {{ user.username }} from Posit Connect! <br />
1313
{% endfor %}
1414
</div>
1515
</body>

flask-sentiment-analysis-api/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ rsconnect deploy api . -n <SERVER-NAME>
1414

1515
## Resources
1616

17-
[RStudio Connect User Guide - Flask](https://docs.rstudio.com/connect/user/flask/)
17+
[Posit Connect User Guide - Flask](https://docs.posit.co/connect/user/flask/)

flask-sentiment-analysis-app/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,4 @@ rsconnect deploy api . -n <SERVER-NAME>
1616

1717
## Resources
1818

19-
[RStudio Connect User Guide - Flask](https://docs.rstudio.com/connect/user/flask/)
19+
[Posit Connect User Guide - Flask](https://docs.posit.co/connect/user/flask/)

flask-sentiment-analysis-app/templates/app.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta name="description" content="">
99
<meta name="author" content="">
1010

11-
<title>Sentiment Analysis with RStudio Connect</title>
11+
<title>Sentiment Analysis with Posit Connect</title>
1212

1313
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
1414

@@ -29,7 +29,7 @@
2929
<div class="row">
3030
<div class="col-xl-9 mx-auto">
3131
<h1 class="mb-5">Sentiment Analysis <br /> with spaCy and Flask</h1>
32-
<h3>Powered by RStudio Connect</h3> <br /><br />
32+
<h3>Powered by Posit Connect</h3> <br /><br />
3333
</div>
3434
<div class="col-md-10 col-lg-8 col-xl-7 mx-auto">
3535
<form action="{{ url_for('index') }}sentiment" method="POST">
@@ -59,7 +59,7 @@ <h3>Powered by RStudio Connect</h3> <br /><br />
5959
</li>
6060
<li class="list-inline-item">&sdot;</li>
6161
<li class="list-inline-item">
62-
<a href="https://docs.rstudio.com/">Documentation</a>
62+
<a href="https://docs.posit.co/">Documentation</a>
6363
</li>
6464
<li class="list-inline-item">&sdot;</li>
6565
<li class="list-inline-item">

flask-sentiment-analysis-app/templates/result.html

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
<meta name="description" content="">
99
<meta name="author" content="">
1010

11-
<title>Sentiment Analysis with RStudio Connect</title>
11+
<title>Sentiment Analysis with Posit Connect</title>
1212

1313
<link href="vendor/bootstrap/css/bootstrap.min.css" rel="stylesheet">
1414

@@ -29,7 +29,7 @@
2929
<div class="row">
3030
<div class="col-xl-9 mx-auto">
3131
<h1 class="mb-5">Sentiment Analysis <br /> with spaCy and Flask</h1>
32-
<h3>Powered by RStudio Connect</h3> <br /><br />
32+
<h3>Powered by Posit Connect</h3> <br /><br />
3333
</div>
3434
<div class="col-md-10 col-lg-8 col-xl-7 mx-auto">
3535
<form action="{{ url_for('index') }}/sentiment" method="POST">
@@ -64,7 +64,7 @@ <h3>Input text: {{ sentiment[0] }} <br /><br />
6464
</li>
6565
<li class="list-inline-item">&sdot;</li>
6666
<li class="list-inline-item">
67-
<a href="https://docs.rstudio.com/">Documentation</a>
67+
<a href="https://docs.posit.co/">Documentation</a>
6868
</li>
6969
<li class="list-inline-item">&sdot;</li>
7070
<li class="list-inline-item">

jupyter-interactive-visualization/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ rsconnect deploy notebook jupyter-interactive-notebook.ipynb -n <SERVER-NICKNAME
88

99
## Resources
1010

11-
[RStudio Connect User Guide - Jupyter](https://docs.rstudio.com/connect/user/jupyter-notebook/)
11+
[Posit Connect User Guide - Jupyter](https://docs.posit.co/connect/user/jupyter-notebook/)

jupyter-interactive-visualization/manifest.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66
"entrypoint": "jupyter-interactive-visualization.ipynb"
77
},
88
"python": {
9-
"version": "3.8.6",
9+
"version": "3.10.0",
1010
"package_manager": {
1111
"name": "pip",
12-
"version": "22.2.2",
12+
"version": "23.0.1",
1313
"package_file": "requirements.txt"
1414
}
1515
},
@@ -18,7 +18,7 @@
1818
"checksum": "20b7f819b6b3f4fff5df28e05d6dd924"
1919
},
2020
"requirements.txt": {
21-
"checksum": "09e927986f6cf3951b7fdd638177542b"
21+
"checksum": "9cf304c5a2680b5a0325e961c17db93f"
2222
}
2323
}
2424
}
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,93 @@
1-
--index-url https://packagemanager.rstudio.com/pypi/2022-09-13/simple
2-
jupyter
3-
numpy
4-
bokeh
5-
plotly
6-
pandas
1+
anyio==3.6.2
2+
appnope==0.1.3
3+
argon2-cffi==21.3.0
4+
argon2-cffi-bindings==21.2.0
5+
arrow==1.2.3
6+
asttokens==2.2.1
7+
attrs==22.2.0
8+
backcall==0.2.0
9+
beautifulsoup4==4.12.0
10+
bleach==6.0.0
11+
bokeh==3.1.0
12+
cffi==1.15.1
13+
comm==0.1.2
14+
contourpy==1.0.7
15+
debugpy==1.6.6
16+
decorator==5.1.1
17+
defusedxml==0.7.1
18+
executing==1.2.0
19+
fastjsonschema==2.16.3
20+
fqdn==1.5.1
21+
idna==3.4
22+
ipykernel==6.22.0
23+
ipython==8.11.0
24+
ipython-genutils==0.2.0
25+
ipywidgets==8.0.5
26+
isoduration==20.11.0
27+
jedi==0.18.2
28+
Jinja2==3.1.2
29+
jsonpointer==2.3
30+
jsonschema==4.17.3
31+
jupyter==1.0.0
32+
jupyter-console==6.6.3
33+
jupyter-events==0.6.3
34+
jupyter_client==8.1.0
35+
jupyter_core==5.3.0
36+
jupyter_server==2.5.0
37+
jupyter_server_terminals==0.4.4
38+
jupyterlab-pygments==0.2.2
39+
jupyterlab-widgets==3.0.6
40+
MarkupSafe==2.1.2
41+
matplotlib-inline==0.1.6
42+
mistune==2.0.5
43+
nbclassic==0.5.3
44+
nbclient==0.7.2
45+
nbconvert==7.2.10
46+
nbformat==5.8.0
47+
nest-asyncio==1.5.6
48+
notebook==6.5.3
49+
notebook_shim==0.2.2
50+
numpy==1.24.2
51+
packaging==23.0
52+
pandas==1.5.3
53+
pandocfilters==1.5.0
54+
parso==0.8.3
55+
pexpect==4.8.0
56+
pickleshare==0.7.5
57+
Pillow==9.4.0
58+
platformdirs==3.1.1
59+
plotly==5.13.1
60+
prometheus-client==0.16.0
61+
prompt-toolkit==3.0.38
62+
psutil==5.9.4
63+
ptyprocess==0.7.0
64+
pure-eval==0.2.2
65+
pycparser==2.21
66+
Pygments==2.14.0
67+
pyrsistent==0.19.3
68+
python-dateutil==2.8.2
69+
python-json-logger==2.0.7
70+
pytz==2022.7.1
71+
PyYAML==6.0
72+
pyzmq==25.0.2
73+
qtconsole==5.4.1
74+
QtPy==2.3.0
75+
rfc3339-validator==0.1.4
76+
rfc3986-validator==0.1.1
77+
Send2Trash==1.8.0
78+
six==1.16.0
79+
sniffio==1.3.0
80+
soupsieve==2.4
81+
stack-data==0.6.2
82+
tenacity==8.2.2
83+
terminado==0.17.1
84+
tinycss2==1.2.1
85+
tornado==6.2
86+
traitlets==5.9.0
87+
uri-template==1.2.0
88+
wcwidth==0.2.6
89+
webcolors==1.12
90+
webencodings==0.5.1
91+
websocket-client==1.5.1
92+
widgetsnbextension==4.0.6
93+
xyzservices==2023.2.0

jupyter-static-visualization/README.md

-11
This file was deleted.

0 commit comments

Comments
 (0)