Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
openbis
openbis-public
jupyter
jupyter-openbis-gui-server
Commits
3269b8d3
Commit
3269b8d3
authored
Jul 09, 2020
by
vermeul
Browse files
Merge branch 'release/0.2.1'
parents
94d93466
0399aba1
Changes
5
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.md
View file @
3269b8d3
## jupyter-openbis-server 0.2.1
-
added description how to drop an existing openBIS connection
## jupyter-openbis-server 0.2.0
-
added full API description
...
...
README.md
View file @
3269b8d3
...
...
@@ -259,12 +259,18 @@ Body:
}
```
### Unregister/delete a new openBIS connection
For the lifetime (runtime) of the Jupyter server, this will drop an existing openBIS connection:
**DELETE `/openbis/conn/<connection name>`**
### Upload a dataSet
**POST `/openbis/dataset/<connection_name>/<permId>/<downloadPath>`**
### Download a dataSet
**GET `/openbis/dataset/<connection_name>/<permId>/<downloadPath>`**
...
...
jupyter-openbis-server/__init__.py
View file @
3269b8d3
name
=
'jupyter-openbis-server.server'
__author__
=
'Swen Vermeul'
__email__
=
'swen@ethz.ch'
__version__
=
'0.2.
0
'
__version__
=
'0.2.
1
'
def
_jupyter_server_extension_paths
():
return
[{
...
...
jupyter-openbis-server/dataset.py
View file @
3269b8d3
...
...
@@ -275,9 +275,9 @@ class DataSetUploadHandler(IPythonHandler):
# ...or return a success message
self
.
write
({
'status'
:
200
,
'statusText'
:
'
Jupyter Notebook was
successfully
uploaded to
: {} with permId: {}'
.
format
(
conn
.
name
,
dataset
.
permId
)
'statusText'
:
'
DataSet
successfully
registered
: {} with permId: {}'
.
format
(
conn
.
name
,
dataset
.
permId
)
})
print
(
'
Jupyter Notebook was
successfully
uploaded to
: {} with permId: {}'
.
format
(
conn
.
name
,
dataset
.
permId
))
print
(
'
DataSet
successfully
registered
: {} with permId: {}'
.
format
(
conn
.
name
,
dataset
.
permId
))
def
post
(
self
,
**
params
):
"""Handle a request to /openbis/dataset/connection_name/permId
...
...
setup.py
View file @
3269b8d3
...
...
@@ -11,7 +11,7 @@ with open("README.md", "r", encoding="utf-8") as fh:
setup
(
name
=
'jupyter-openbis-server'
,
version
=
'0.2.
0
'
,
version
=
'0.2.
1
'
,
author
=
'Swen Vermeul | ID SIS | ETH Zürich'
,
author_email
=
'swen@ethz.ch'
,
description
=
'Server Extension for Jupyter notebooks to connect to openBIS and download/upload datasets, inluding the notebook itself'
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment