{"id":9976,"library":"nbzip","title":"nbzip Jupyter Notebook Extension","description":"nbzip is a Jupyter Notebook extension that allows users to compress and download all files within a specified directory directly from the Jupyter interface. It provides a convenient way to archive and retrieve project files from the Jupyter server's filesystem. The current version is 0.1.0. Its release cadence is low, as it's a stable, focused utility.","status":"active","version":"0.1.0","language":"python","source_language":"en","source_url":"https://github.com/data-8/nbzip","tags":["jupyter","notebook","jupyterlab","extension","compression","archive","download","server-extension"],"install":[{"cmd":"pip install nbzip","lang":"bash","label":"Install nbzip Python package"},{"cmd":"jupyter server extension enable --py nbzip --sys-prefix","lang":"bash","label":"Enable the Jupyter server extension"}],"dependencies":[],"imports":[{"note":"Functionality is accessed via the Jupyter UI after enabling the extension and restarting Jupyter.","symbol":"No direct user-facing symbols","correct":"nbzip is primarily a Jupyter server extension and does not expose commonly imported Python symbols for end-user programmatic use."}],"quickstart":{"code":"pip install nbzip\njupyter server extension enable --py nbzip --sys-prefix\n# Restart Jupyter Notebook/Lab if it's running to apply changes.","lang":"bash","description":"This sequence installs the `nbzip` package and enables it as a Jupyter server extension. After enabling and restarting your Jupyter server, you will find a new 'Download directory (.zip)' option in the file menu of any Jupyter Notebook or JupyterLab interface when navigating directories, or an 'Archive' button in JupyterLab's file browser."},"warnings":[{"fix":"Run `jupyter server extension enable --py nbzip --sys-prefix` after `pip install nbzip` and restart your Jupyter server.","message":"nbzip is a Jupyter server extension and needs to be explicitly enabled after installation for its functionality to appear in the Jupyter UI. Installing the package alone is not sufficient.","severity":"gotcha","affected_versions":"All versions (0.1.0)"},{"fix":"Understand that the operations are server-side. Ensure necessary files are present on the server where Jupyter is running before attempting to archive them.","message":"nbzip operates on the Jupyter server's filesystem. If your Jupyter environment is remote (e.g., a cloud instance), the files compressed and downloaded will be from that remote server, not your local machine.","severity":"gotcha","affected_versions":"All versions (0.1.0)"},{"fix":"Utilize the UI options (File menu or Archive button in JupyterLab) to access nbzip's functionality, rather than attempting to `import nbzip` and call functions directly in Python code.","message":"nbzip does not provide Python symbols for direct programmatic access to its compression features within a Python script. Its primary interface is through the Jupyter Notebook or JupyterLab user interface.","severity":"gotcha","affected_versions":"All versions (0.1.0)"}],"env_vars":null,"search_vec":"'0.1.0':50 'allow':12 'archiv':35,68 'cadenc':53 'compress':15,67 'conveni':32 'current':47 'direct':24 'directori':23 'download':17,69 'extens':4,10,66,72 'file':19,39 'filesystem':45 'focus':61 'interfac':28 'jupyt':2,8,27,42,63 'jupyterlab':65 'low':55 'nbzip':1,5 'notebook':3,9,64 'project':38 'provid':30 'releas':52 'retriev':37 'server':43,71 'server-extens':70 'specifi':22 'stabl':60 'user':13 'util':62 'version':48 'way':33 'within':20","created_at":"2026-04-17T01:21:43.241450+00:00","updated_at":"2026-04-17T01:21:43.241450+00:00","problems":{"verify_error":"no import statement found"},"ecosystem":"pypi","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":"0.1.0","cli_name":"","cli_version":null,"type":"library","homepage":null,"github":"https://github.com/data-8/nbzip","docs":null,"changelog":null,"pypi":"https://pypi.org/project/nbzip/","npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["devops"],"base_url":null,"auth_type":null,"provenance":{"verified_status":"skip","verified_at":"2026-06-28","last_verified":"2026-06-28","next_check":"2026-07-05","install_tag":null}}