Skip to content

Commit

Permalink
initial version
Browse files Browse the repository at this point in the history
  • Loading branch information
mmarchetti committed Nov 18, 2019
0 parents commit afc33a9
Show file tree
Hide file tree
Showing 19 changed files with 1,487 additions and 0 deletions.
13 changes: 13 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
*.pyc
/build/
/dist/
/.conda/
/.jupyter/
/.local/
/node_modules/
/notebooks*/
/*.egg-info
/*.egg
/*.eggs
.DS_Store
.vagrant
4 changes: 4 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
ARG BASE_IMAGE
FROM ${BASE_IMAGE}

RUN python -m pip install six click nbformat
361 changes: 361 additions & 0 deletions LICENSE.md

Large diffs are not rendered by default.

14 changes: 14 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@

all-tests: all-images test-2.7 test-3.5 test-3.6 test-3.7 test-3.8

all-images: image-2.7 image-3.5 image-3.6 image-3.7 image-3.8

image-%:
docker build -t rsconnect-python:$* --build-arg BASE_IMAGE=python:$* .

test-%:
docker run -it --rm \
-v $(PWD):/rsconnect \
-w /rsconnect \
rsconnect-python:$* \
bash -c 'python setup.py install && python -m unittest discover'
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# rsconnect-python

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.

There is also a CLI deployment tool which can be used directly to deploy notebooks.

```
rsconnect deploy \
--api-key my-api-key \
--server https://my.connect.server:3939 \
./my-notebook.ipynb
```
Empty file added rsconnect/__init__.py
Empty file.
Loading

0 comments on commit afc33a9

Please sign in to comment.