Skip to main content

A jupyter content manager for Girder

Project description

==============
girder_jupyter
==============
|build-status|

The Jupyter Notebook web application provides a graphical interface for creating, opening, renaming, and deleting files in a virtual filesystem. girder_jupyter is a python package that implements a `contents manager <http://jupyter-notebook.readthedocs.io/en/latest/extending/contents.html>`_
to allow Girder to become a backend for this virtual filesystem. This allows notebooks and files to be stored
in a Girder server from within Jupyter.

Getting Started
===============

Install the package in the Python environment you are running your Jupyter server in:

.. code-block:: bash

pip install girder-jupyter


Add the following options to your :code:`jupyter_notebook_config.py`

.. code-block:: python

c.NotebookApp.contents_manager_class = 'girder_jupyter.contents.girderfilemanager.GirderFileManager'
c.GirderFileManager.api_key = '<api key>'
c.GirderFileManager.api_url = '<api url>'

Where :code:`<api key>` is replaced with a `Girder API key <https://girder.readthedocs.io/en/latest/user-guide.html?highlight=API%20Key#api-keys>`_ for the Girder server and :code:`<api url>` is the URL to Girder instance you want
to use for example http://localhost:8080/api/v1.

Configuration Parameters
========================

- :code:`api_url` - An API URL for the Girder server. Defaults to 'http://localhost:8080/api/v1'
- :code:`api_key` -A `Girder API key <https://girder.readthedocs.io/en/latest/user-guide.html?highlight=API%20Key#api-keys>`_ key for the Girder server at :code:`api_url`. The key should have read and write permission scope.
- :code:`token` - A Girder token for the Girder server at :code:`api_url`. This parameter is particularly useful when running instances from JupyterHub.
- :code:`root` - The root in the Girder hierarchy to use as the content managers root. This path can
include :code:`{login}` which will be replace with the current users login. Defaults to :code:`'user/{login}'`

Note that either :code:`api_key` or :code:`token` must be provided for the contents manager to be able to
authenticate with the Girder server.

.. |build-status| image:: https://circleci.com/gh/girder/girder_jupyter.png?style=shield
:target: https://circleci.com/gh/girder/girder_jupyter
:alt: Build Status

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

girder-jupyter-0.1.0.tar.gz (13.0 kB view details)

Uploaded Source

File details

Details for the file girder-jupyter-0.1.0.tar.gz.

File metadata

File hashes

Hashes for girder-jupyter-0.1.0.tar.gz
Algorithm Hash digest
SHA256 dcd8edec307f9103489faf08e5017ecc6aa65d6ce8951aea755c820aab210737
MD5 66e67c9a583dacb4d4f8a4fc4f438cc0
BLAKE2b-256 5d4f4b23da729790f229487fbcbfb26c9d9705334dbc09f475685a9560d9f0c0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page