Skip to main content

A package to exteact the requirements from a Jupyter notebook in a smart way.

Project description

Jupyter rquirements extractor

A simple library with a command to extract the requirements from a Jupyter or Colab notebook and extract their versions from your local environment. This can also be used in Google Colab's notebooks in orther to extract that information from their environment.

Installation

pip install jureqex

Usage

jureqex --path /path/to/notebook_folder --name notebook_name.ipynb --save /path/to/requirements.txt

Install from GitHub and use it in Colab

First you need to download the Coalb notebook and update it in Colab's workspace.

!git clone https://github.com/IvanHCenalmor/JupyterReqExtractor.git
!python -m pip install -e ./JupyterReqExtractor
!jureqex --path /content --name XXX.ipynb --save /content/requirements.txt

Project details


Download files

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

Source Distribution

jureqex-0.1.1.tar.gz (8.4 kB view hashes)

Uploaded Source

Built Distribution

jureqex-0.1.1-py3-none-any.whl (8.7 kB view hashes)

Uploaded Python 3

Supported by

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