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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file jureqex-0.1.1.tar.gz.

File metadata

  • Download URL: jureqex-0.1.1.tar.gz
  • Upload date:
  • Size: 8.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for jureqex-0.1.1.tar.gz
Algorithm Hash digest
SHA256 5f4b52f42441909eb9f60333cabc068237639adb8b188eb13f68a849dd776b9b
MD5 cecf93a7ba35dbcf97cdd64e24b99949
BLAKE2b-256 23321bba18e8c15d1c5a6d34e422592589ee3cbe590bacfbd36a227bf7d7a415

See more details on using hashes here.

File details

Details for the file jureqex-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: jureqex-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.18

File hashes

Hashes for jureqex-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 325b4b6e581dab2178f01a1d2d5534b6450ed5bc653805879b49e2aa24739f20
MD5 22317f7371e05a335d1bcdac745b3d5e
BLAKE2b-256 78d0d9273724a2b58f3543d803e8d46aaa37ff358c8151efb8be1baa1a8f2046

See more details on using hashes here.

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