|
5 | 5 | [](https://www.npmjs.com/package/@hadim/jupyter-archive)
|
6 | 6 | [](https://pypi.org/project/jupyter-archive/)
|
7 | 7 |
|
8 |
| -Make, download and extract archive files. |
| 8 | +A Jupyter/Jupyterlab extension to make, download and extract archive files. |
9 | 9 |
|
10 |
| -The extension is composed of two extensions: |
| 10 | +Features: |
11 | 11 |
|
12 |
| -- A Jupyterlab extension (frontend). |
13 |
| -- A Jupyter server extension (backend). |
| 12 | +- Download selected or current folder as an archive. |
| 13 | +- Supported formats: 'zip', 'tar.gz', 'tar.bz2' and 'tar.xz'. |
| 14 | +- Archiving and downloading are non-blocking for Jupyter. UI can still be used. |
| 15 | +- Archive format can be set in the JLab settings. |
| 16 | +- Alternatively, you can choose the format in the file browser menu (the format setting needs to be set to `null`). |
| 17 | +- Decompress an archive directly in file browser. |
| 18 | +- Notebok client extension not available. [Contributions are welcome](https://github.com/hadim/jupyter-archive/issues/21). |
14 | 19 |
|
15 | 20 | 
|
16 | 21 |
|
17 |
| -Note that the extension is inspired from [nbzip](https://github.com/data-8/nbzip). |
18 |
| - |
19 | 22 | ## Prerequisites
|
20 | 23 |
|
21 | 24 | - JupyterLab
|
22 | 25 |
|
23 | 26 | ## Installation
|
24 | 27 |
|
25 |
| -This extension is meant to be integrated into Jupyter. In the meantime you can install it with: |
| 28 | +Using `pip`: |
26 | 29 |
|
27 | 30 | ```bash
|
28 | 31 | pip install jupyter-archive
|
29 | 32 | jupyter lab build
|
30 | 33 | ```
|
31 | 34 |
|
32 |
| -This will install both the server extension and the labextension needed by this plugin. |
| 35 | +Using `conda`: |
| 36 | + |
| 37 | +```bash |
| 38 | +conda install jupyter-archive |
| 39 | +``` |
33 | 40 |
|
34 |
| -You can also install the labextension via Jupyterlab's extension manager GUI. Keep in mind that if you use the GUI, you'll still need to install the `jupyterlab-archive` server extension via `pip`. |
| 41 | +This will install both the server extension and the Jupyterlab extension needed by the plugin. |
| 42 | + |
| 43 | +You can also install the labextension via Jupyterlab's extension manager GUI. Keep in mind that if you use the GUI, you'll still need to install the `jupyterlab-archive` server extension via `pip` or `conda`. |
35 | 44 |
|
36 | 45 | ## Development
|
37 | 46 |
|
@@ -73,6 +82,11 @@ pytest jupyter_archive/tests/
|
73 | 82 |
|
74 | 83 | Under BSD license. See [LICENSE](LICENSE).
|
75 | 84 |
|
| 85 | +## Authors |
| 86 | + |
| 87 | +- Hadrien Mary: [@hadim](https://github.com/hadim) |
| 88 | +- Frédéric Collonval: [@fcollonval](https://github.com/fcollonval) |
| 89 | + |
76 | 90 | ## Release a new version
|
77 | 91 |
|
78 | 92 | - Install [rever](https://regro.github.io/rever-docs/index.html): `conda install rever`
|
|
0 commit comments