A jupyter content manager for Girder
Project description
==============
girder_jupyter
==============
|build-status| |pypi-version| |pypi-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
.. |pypi-version| image:: https://img.shields.io/pypi/v/girder-jupyter.svg
:target: https://pypi-hypernode.com/pypi/girder-jupyter/
:alt: PyPI version
.. |pypi-status| image:: https://img.shields.io/pypi/status/girder-jupyter.svg
:target: https://pypi-hypernode.com/pypi/girder-jupyter/
:alt: PyPI status
girder_jupyter
==============
|build-status| |pypi-version| |pypi-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
.. |pypi-version| image:: https://img.shields.io/pypi/v/girder-jupyter.svg
:target: https://pypi-hypernode.com/pypi/girder-jupyter/
:alt: PyPI version
.. |pypi-status| image:: https://img.shields.io/pypi/status/girder-jupyter.svg
:target: https://pypi-hypernode.com/pypi/girder-jupyter/
:alt: PyPI status
Project details
Release history Release notifications | RSS feed
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.1.dev2.tar.gz
(14.9 kB
view details)
File details
Details for the file girder-jupyter-0.1.1.dev2.tar.gz
.
File metadata
- Download URL: girder-jupyter-0.1.1.dev2.tar.gz
- Upload date:
- Size: 14.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8a6aa8ae4b3a8ef7a91e2b832dfc883d9e9b347a756b75742f5d3b6b56cd9f28 |
|
MD5 | 634b05ac2d60b58c8db046a59ad41e67 |
|
BLAKE2b-256 | 22378c828734aa5357dc41ce53d012a476e06bc5835b849e6cbb99a8e52e3715 |