Skip to main content

Upload notebooks to Private cloud

Project description

nbss-upload

Upload notebooks (Jupyter, Rmd, etc) to a PB Private bucket instance.

Installation

pb-nbss-upload is available on PyPI, and can be installed with pip.

pip install pb-nbss-upload

Usage

Simply call it with the path to the notebook you want to upload.

$ pb-nbss-upload test.ipynb
https://127.0.0.1:8000/view/04ab7ab45c2f08628eba9cb8fe5fb9a63f5961d5dfce622b9e26974ddc138916

This will upload the notebook and return the URL you can use to share it with others.

By default, only users who you share the URL with can access the notebook - it will not be visible to search engines. Annotations will also be turned off by default to help fight abuse.

You can enable annotations via hypothes.is by passing --enable-annotations or -a. The notebook can be made discoverable to search engines by passing --enable-discovery or -d.

All notebook formats supported by notebooksharing.space - .ipynb, .rmd, .html are supported.

Uploading from inside a Jupyter Notebook

You can add a cell to your Jupyter Notebook that calls nbss-upload, and each time you execute the cell (after saving your notebook), it will be uploaded and the URL printed.

!pb-nbss-upload <name-of-notebook>

Project details


Release history Release notifications | RSS feed

This version

0.1

Download files

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

Source Distribution

pb-nbss-upload-0.1.tar.gz (3.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pb_nbss_upload-0.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

Details for the file pb-nbss-upload-0.1.tar.gz.

File metadata

  • Download URL: pb-nbss-upload-0.1.tar.gz
  • Upload date:
  • Size: 3.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for pb-nbss-upload-0.1.tar.gz
Algorithm Hash digest
SHA256 a1ee571bbb3614c894a4f93bf8b53ebbfe6252c02c9afffad138f2e9a817c39d
MD5 7ba57ba7ef49b74bbb1daa048c29a6de
BLAKE2b-256 fb8995426201faa0318e8e6ceb9d5b5ba8fdeee0364167026ccb1f1b9d293565

See more details on using hashes here.

File details

Details for the file pb_nbss_upload-0.1-py3-none-any.whl.

File metadata

  • Download URL: pb_nbss_upload-0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.0 CPython/3.9.12

File hashes

Hashes for pb_nbss_upload-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f6b0c92128b0431d6d40275de72569d1e0421bf35a545941719c389afb5e8fec
MD5 a77080daa5b190597edb7419b089a557
BLAKE2b-256 47904b55624c50415aa493e3cec87eeabbebbd625bce36181616cfbfdc74d7e4

See more details on using hashes here.

Supported by

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