Skip to main content

HydroShare on Jupyter

HydroShare on Jupyter brings HydroShare resource management to JupyterLab's development environment. Download, edit, upload, and synchronize your HydroShare resources without leaving Jupyter! Collaborate, iterate, and stay up to date with HydroShare on Jupyter.

Installation

In accordance with the python community, we support and advise the usage of virtual environments in any workflow using python. In the following installation guide, we use python's built-in venv module to create a virtual environment in which the tools will be installed. Note this is just personal preference, any python virtual environment manager should work just fine (conda, pipenv, etc. ).

# Create and activate python environment, requires python >= 3.7
python3 -m venv venv
source venv/bin/activate
python3 -m pip install --upgrade pip

# Install
python3 -m pip install hydroshare_on_jupyter

# Link extension to JupyterLab
python3 -m hydroshare_on_jupyter configure

# Launch JupyterLab and start collaborating!
python3 -m jupyter lab

Configuration

HydroShare on Jupyter looks for configuration information in environment variables first, then at the following path locations:

  1. ~/.config/hydroshare_on_jupyter/config
  2. ~/.hydroshare_on_jupyter_config

The first configuration file found is used if it exists. However, environment variables take precedence, meaning they override configuration file values if they are set.

HydroShare on Jupyter configuration files use KEY=VALUE semantics (example below). Only one configuration variable should be specified per line. Line comments can be created by starting a line with #.

Configuration Variables

  • DATA : directory where HydroShare resources are saved, default ~/hydroshare.
  • OAUTH : canonical HydroShare OAuth2 pickle file, default None. Allows bypassing login by using OAuth2 via HydroShare.

Example configuration file

# file: ~/.config/hydroshare_on_jupyter/config
DATA=~/Downloads

Note

By default, HydroShare on Jupyter saves HydroShare resources to ~/hydroshare. This means, if JupyterLab is started from a directory where ~/hydroshare is not a descendent (e.g. ~/Downloads), you will not be able to open the HydroShare resource files you download using HydroShare on Jupyter. To resolve this, either open JupyterLab from ~ or change the directory HydroShare on Jupyter saves resources to using the data DATA configuration variable.

Metadata

Release files for hydroshare-on-jupyter 0.1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for hydroshare-on-jupyter 0.1.5
File Size Uploaded Provenance Actions
hydroshare_on_jupyter-0.1.5.tar.gz 387.5 kB Without provenance Details for hydroshare_on_jupyter-0.1.5.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for hydroshare-on-jupyter 0.1.5
File Interpreter ABI Platform Actions
hydroshare_on_jupyter-0.1.5-py3-none-any.whl Python 3 none any Details for hydroshare_on_jupyter-0.1.5-py3-none-any.whl

Total release size: 801.0 kB

Release files / hydroshare_on_jupyter-0.1.5.tar.gz

Download URL hydroshare_on_jupyter-0.1.5.tar.gz
Size 387.5 kB
Tags Source
SHA-256 checksum
How to use checksums
a0cdcf75691061d8e76a8fbbed877be945b23dd6612713bfdbdc1fff4761614e
BLAKE2b-256 checksum
How to use checksums
66e64fd55f3f8cb340b2a502a3d78aeed68b96ba32fa4eb4787318ef0f4ffb94
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Release files / hydroshare_on_jupyter-0.1.5-py3-none-any.whl

Download URL hydroshare_on_jupyter-0.1.5-py3-none-any.whl
Size 413.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5f01f5f7a0442a0e75d588af54feef09a7074486b358b879593262b089afef48
BLAKE2b-256 checksum
How to use checksums
1052a0f698db1deaf1e93ee920a4c20a397bc73f4bb7c35344ef111d5ec14378
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.27.1 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.8.10

Security for hydroshare-on-jupyter 0.1.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page