Skip to main content

jupyter-archive

Extension status Github Actions Status Binder Version PyPI Conda (channel only)

A Jupyter extension to make, download and extract archive files.

Features:

  • Download selected or current folder as an archive.
  • Supported formats: 'zip', 'tar.gz', 'tar.bz2' and 'tar.xz'.
  • Archiving and downloading are non-blocking for Jupyter. UI can still be used.
  • Archive format can be set in the JLab settings.
  • Alternatively, you can choose the format in the file browser menu (the format setting needs to be set to null).
  • Decompress an archive directly in file browser.
  • Notebok client extension not available. Contributions are welcome.

jupyter-archive in action

Configuration

The server extension has some configuration settings -- the values below are the default one:

{
  JupyterArchive: {
    stream_max_buffer_size: 104857600, // The max size of tornado IOStream buffer
    handler_max_buffer_length: 10240, // The max length of chunks in tornado RequestHandler
    archive_download_flush_delay: 100 // The delay in ms at which we send the chunk of data to the client.
  }
}

You can also set new values with the following environment variables:

  • JA_IOSTREAM_MAX_BUFFER_SIZE
  • JA_HANDLER_MAX_BUFFER_LENGTH
  • JA_ARCHIVE_DOWNLOAD_FLUSH_DELAY

Requirements

  • JupyterLab >= 3.0 or Notebook >= 7.0

For JupyterLab 2.x, have look there.

Install

To install the extension, execute:

pip install jupyter-archive

Or

conda install -c conda-forge jupyter-archive

Uninstall

To remove the extension, execute:

pip uninstall jupyter-archive

Or

conda remove jupyter-archive

Troubleshoot

If you are seeing the frontend extension, but it is not working, check that the server extension is enabled:

jupyter server extension list

If the server extension is installed and enabled, but you are not seeing the frontend extension, check the frontend extension is installed:

jupyter labextension list

Contributing

If you would like to contribute to this extension, please refer to the Contributing Guide.

License

Under BSD license. See LICENSE.

Authors

Download files

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

Source Distribution

jupyter_archive-3.5.1.tar.gz (385.1 kB view details)

Uploaded Source

Built Distribution

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

jupyter_archive-3.5.1-py3-none-any.whl (28.0 kB view details)

Uploaded Python 3

File details

Details for the file jupyter_archive-3.5.1.tar.gz.

File metadata

  • Download URL: jupyter_archive-3.5.1.tar.gz
  • Upload date:
  • Size: 385.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.12.13

File hashes

Hashes for jupyter_archive-3.5.1.tar.gz
Algorithm Hash digest
SHA256 ca6e5eefbc562fe0c7709f1da3027c66cccc0eac35b5d31efe337abc637bd859
MD5 5ecaba1b53d6bdc3e1d2122ce96add64
BLAKE2b-256 d93ddd3a42099cb08242f1278230e970820c4555a6df3b3a7aec137e66f8f513

See more details on using hashes here.

File details

Details for the file jupyter_archive-3.5.1-py3-none-any.whl.

File metadata

  • Download URL: jupyter_archive-3.5.1-py3-none-any.whl
  • Upload date:
  • Size: 28.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.12.13

File hashes

Hashes for jupyter_archive-3.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 f232dda22f322d0ac4785fb04bfdf7c914434509d045eec8836acd8b868bc23a
MD5 cc018c2ecc4d2e3445f5bdac4e82b31e
BLAKE2b-256 fc640f30f782135c8d99513d9b608a9c68f4684fd4577096e082c719516c3558

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