# 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
```
Raw data
{
"_id": null,
"home_page": "",
"name": "jureqex",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "",
"author": "",
"author_email": "Iv\u00e1n Hidalgo <ivanhcenalmor@gmail.com>",
"download_url": "https://files.pythonhosted.org/packages/23/32/1bba18e8c15d1c5a6d34e422592589ee3cbe590bacfbd36a227bf7d7a415/jureqex-0.1.1.tar.gz",
"platform": null,
"description": "# Jupyter rquirements extractor\n\nA 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.\n\n# Installation\n\n```\npip install jureqex\n```\n\n# Usage\n\n```\njureqex --path /path/to/notebook_folder --name notebook_name.ipynb --save /path/to/requirements.txt\n```\n\n# Install from GitHub and use it in Colab\n\nFirst you need to download the Coalb notebook and update it in Colab's workspace.\n\n```\n!git clone https://github.com/IvanHCenalmor/JupyterReqExtractor.git\n!python -m pip install -e ./JupyterReqExtractor\n!jureqex --path /content --name XXX.ipynb --save /content/requirements.txt\n```\n",
"bugtrack_url": null,
"license": "",
"summary": "A package to exteact the requirements from a Jupyter notebook in a smart way.",
"version": "0.1.1",
"project_urls": {
"Bug Tracker": "https://github.com/IvanHCenalmor/JupyterReqExtractor/issues",
"Homepage": "https://github.com/IvanHCenalmor/JupyterReqExtractor"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "78d0d9273724a2b58f3543d803e8d46aaa37ff358c8151efb8be1baa1a8f2046",
"md5": "22317f7371e05a335d1bcdac745b3d5e",
"sha256": "325b4b6e581dab2178f01a1d2d5534b6450ed5bc653805879b49e2aa24739f20"
},
"downloads": -1,
"filename": "jureqex-0.1.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "22317f7371e05a335d1bcdac745b3d5e",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 8703,
"upload_time": "2023-09-12T13:52:36",
"upload_time_iso_8601": "2023-09-12T13:52:36.418915Z",
"url": "https://files.pythonhosted.org/packages/78/d0/d9273724a2b58f3543d803e8d46aaa37ff358c8151efb8be1baa1a8f2046/jureqex-0.1.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "23321bba18e8c15d1c5a6d34e422592589ee3cbe590bacfbd36a227bf7d7a415",
"md5": "cecf93a7ba35dbcf97cdd64e24b99949",
"sha256": "5f4b52f42441909eb9f60333cabc068237639adb8b188eb13f68a849dd776b9b"
},
"downloads": -1,
"filename": "jureqex-0.1.1.tar.gz",
"has_sig": false,
"md5_digest": "cecf93a7ba35dbcf97cdd64e24b99949",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 8360,
"upload_time": "2023-09-12T13:52:37",
"upload_time_iso_8601": "2023-09-12T13:52:37.576025Z",
"url": "https://files.pythonhosted.org/packages/23/32/1bba18e8c15d1c5a6d34e422592589ee3cbe590bacfbd36a227bf7d7a415/jureqex-0.1.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-09-12 13:52:37",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "IvanHCenalmor",
"github_project": "JupyterReqExtractor",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"requirements": [
{
"name": "attrs",
"specs": [
[
"==",
"23.1.0"
]
]
},
{
"name": "certifi",
"specs": [
[
"==",
"2023.5.7"
]
]
},
{
"name": "charset-normalizer",
"specs": [
[
"==",
"3.2.0"
]
]
},
{
"name": "fastjsonschema",
"specs": [
[
"==",
"2.17.1"
]
]
},
{
"name": "idna",
"specs": [
[
"==",
"3.4"
]
]
},
{
"name": "jsonschema",
"specs": [
[
"==",
"4.18.0"
]
]
},
{
"name": "jsonschema-specifications",
"specs": [
[
"==",
"2023.6.1"
]
]
},
{
"name": "jupyter-core",
"specs": [
[
"==",
"5.3.1"
]
]
},
{
"name": "nbformat",
"specs": [
[
"==",
"5.9.1"
]
]
},
{
"name": "platformdirs",
"specs": [
[
"==",
"3.8.1"
]
]
},
{
"name": "referencing",
"specs": [
[
"==",
"0.29.1"
]
]
},
{
"name": "requests",
"specs": [
[
"==",
"2.31.0"
]
]
},
{
"name": "rpds-py",
"specs": [
[
"==",
"0.8.10"
]
]
},
{
"name": "traitlets",
"specs": [
[
"==",
"5.9.0"
]
]
},
{
"name": "urllib3",
"specs": [
[
"==",
"2.0.3"
]
]
},
{
"name": "yarg",
"specs": [
[
"==",
"0.1.9"
]
]
}
],
"lcname": "jureqex"
}