Skip to content

Commit afc33a9

Browse files
committed
initial version
0 parents  commit afc33a9

19 files changed

+1487
-0
lines changed

.gitignore

+13
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
*.pyc
2+
/build/
3+
/dist/
4+
/.conda/
5+
/.jupyter/
6+
/.local/
7+
/node_modules/
8+
/notebooks*/
9+
/*.egg-info
10+
/*.egg
11+
/*.eggs
12+
.DS_Store
13+
.vagrant

Dockerfile

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
ARG BASE_IMAGE
2+
FROM ${BASE_IMAGE}
3+
4+
RUN python -m pip install six click nbformat

LICENSE.md

+361
Large diffs are not rendered by default.

Makefile

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
2+
all-tests: all-images test-2.7 test-3.5 test-3.6 test-3.7 test-3.8
3+
4+
all-images: image-2.7 image-3.5 image-3.6 image-3.7 image-3.8
5+
6+
image-%:
7+
docker build -t rsconnect-python:$* --build-arg BASE_IMAGE=python:$* .
8+
9+
test-%:
10+
docker run -it --rm \
11+
-v $(PWD):/rsconnect \
12+
-w /rsconnect \
13+
rsconnect-python:$* \
14+
bash -c 'python setup.py install && python -m unittest discover'

README.md

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# rsconnect-python
2+
3+
This package is a library used by the rsconnect-jupyter package to deploy Jupyter notebooks to RStudio Connect. It can also be used by other Python-based deployment tools.
4+
5+
There is also a CLI deployment tool which can be used directly to deploy notebooks.
6+
7+
```
8+
rsconnect deploy \
9+
--api-key my-api-key \
10+
--server https://my.connect.server:3939 \
11+
./my-notebook.ipynb
12+
```

rsconnect/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)