{ "info": { "author": "Rasmus Munk", "author_email": "rasmus.munk@nbi.ku.dk", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: MIT License", "Programming Language :: Python", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Programming Language :: Python :: 3.9" ], "description": "======================\nnotebook_parameterizer\n======================\n\n.. image:: https://travis-ci.org/rasmunk/notebook_parameterizer.svg?branch=master\n :target: https://travis-ci.org/rasmunk/notebook_parameterizer\n.. image:: https://badge.fury.io/py/notebook-parameterizer.svg\n :target: https://badge.fury.io/py/notebook-parameterizer\n\nA tool to generate parameterized Jupyter Notebooks. This tool is similar to that of Papermill, but acts as a compliment\nto parameterize a Notebook not based on a preset cell that contains the parameters, but allows for parameterization\nthroughout a Notebook without having to specify so.\n\nInstead the `notebook_parameterizer` uses a parameters YAML file to define which variables should be set to what value.\nWith these preset variables in the parameters file, the ``notebook_parameterizer`` searches every cell for variable assignments \nthat match the given key in the parameters file.\n\n-----\nUsage\n-----\n\nAn example of how to use the `notebook_parameterizer` can be seen below::\n\n $ notebook_parameterizer -h\n Usage: notebook_parameterizer [OPTIONS] NOTEBOOK_PATH PARAMETERS_PATH\n\n Options:\n -o, --output_notebook_path TEXT\n Path to the parameterized output notebook\n -e, --expand_env_values Should ENV_ prefixed parameter values be\n expanded to their matching OS environment\n variable value\n\n -h, --help Show this message and exit.\n\n\nThe NOTEBOOK_PATH is the path to the Notebook that should be parameterized.\n\nThe PARAMETERS_PATH is the path to the YAML file that contains the variables that should be parameterized.\n\nFor instance, given the following Notebook in ``example/notebooks/hello_world.ipynb``.\n\n.. image:: res/hello_world.png\n\n\nWe can paramterize the Notebook with the ``example/parameters/hello_world.yml`` parameters file::\n\n num: 1000\n div_by: 4\n\n\nThis is achived by executing the following command::\n\n $ notebook_parameterizer example/notebooks/hello_world.ipynb \\\n example/parameters/hello_world.yml \\\n -o new_hello_world.ipynb\n\n\nAfter applying the ``notebook_parameterizer``, the generated ``new_hello_world.ipynb`` Notebook has the following content.\n\n.. image:: res/parameterized_hello_world.png\n\n\n\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/rasmunk/notebook_parameterizer", "keywords": "jupyter notebook parameters", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "notebook-parameterizer", "package_url": "https://pypi.org/project/notebook-parameterizer/", "platform": "", "project_url": "https://pypi.org/project/notebook-parameterizer/", "project_urls": { "Homepage": "https://github.com/rasmunk/notebook_parameterizer", "Source Code": "https://github.com/rasmunk/notebook_parameterizer" }, "release_url": "https://pypi.org/project/notebook-parameterizer/0.0.4/", "requires_dist": [ "nbformat", "papermill", "click", "black (==20.8b1) ; extra == 'dev'", "docutils (==0.16) ; extra == 'dev'", "flake8 (==3.8.4) ; extra == 'dev'", "pytest (==6.2.2) ; extra == 'test'" ], "requires_python": "", "summary": "A tool to generate parameterized Jupyter Notebooks", "version": "0.0.4", "yanked": false, "yanked_reason": null }, "last_serial": 9305264, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "89f02e3d934fe0651991268df89ef5f3", "sha256": "3714b821242c4e564c0a89e35303a2b2b0b0264467a05bd35afb09dcd93b7e06" }, "downloads": -1, "filename": "notebook_parameterizer-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "89f02e3d934fe0651991268df89ef5f3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4452, "upload_time": "2019-10-22T08:05:08", "upload_time_iso_8601": "2019-10-22T08:05:08.037235Z", "url": "https://files.pythonhosted.org/packages/c9/5a/44ce448c94c833e24dc41e8557f1e90b571bcf152ac81e1ae441b91bd68a/notebook_parameterizer-0.0.1-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "01d9ddd41f6b94775c304a819f12f0eb", "sha256": "d145af061ddc8bcbe4c2839d0c34f2df3407c48f79e9ff5241c76f1ece051365" }, "downloads": -1, "filename": "notebook_parameterizer-0.0.1.tar.gz", "has_sig": false, "md5_digest": "01d9ddd41f6b94775c304a819f12f0eb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2642, "upload_time": "2019-10-22T08:05:10", "upload_time_iso_8601": "2019-10-22T08:05:10.741019Z", "url": "https://files.pythonhosted.org/packages/2b/4f/efaf8debad48579dba8fb4e0aa140ab5b19b60443487f1a67cc1acabb34d/notebook_parameterizer-0.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "968b84b7107f8f27bda800986af36db4", "sha256": "8adb6fc177515a7225f51d3bd336894ca53500132ebf0a7a85bf28157f38c05f" }, "downloads": -1, "filename": "notebook_parameterizer-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "968b84b7107f8f27bda800986af36db4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4539, "upload_time": "2019-10-22T08:19:00", "upload_time_iso_8601": "2019-10-22T08:19:00.824494Z", "url": "https://files.pythonhosted.org/packages/75/63/496ffd75c5931bd1560b997279f042ef45d93143d13a5008071cb1bcb8eb/notebook_parameterizer-0.0.2-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "783e9e4cf21236a758b4fe6ee1025598", "sha256": "71a8bd44730b45730c6e8f0290bae03a983a49338c5353f6195c784e3b1c7ade" }, "downloads": -1, "filename": "notebook_parameterizer-0.0.2.tar.gz", "has_sig": false, "md5_digest": "783e9e4cf21236a758b4fe6ee1025598", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2807, "upload_time": "2019-10-22T08:19:02", "upload_time_iso_8601": "2019-10-22T08:19:02.438780Z", "url": "https://files.pythonhosted.org/packages/66/58/17a01d4ce808f2ca70961472a0136aa086817f9053c539fd489bdc972af3/notebook_parameterizer-0.0.2.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "749172c090a752fafa830698f5ed42b2", "sha256": "5d5887e39a9f12d0b16b98dd1bc5d90e94dd8d3f2f469dc859d6158fcf9cfe6b" }, "downloads": -1, "filename": "notebook_parameterizer-0.0.3-py2-none-any.whl", "has_sig": false, "md5_digest": "749172c090a752fafa830698f5ed42b2", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 4538, "upload_time": "2019-11-19T08:10:38", "upload_time_iso_8601": "2019-11-19T08:10:38.804626Z", "url": "https://files.pythonhosted.org/packages/1e/c9/c8958590ee367b2f1368d9ae36c2a20c9ed395254a03b5de76545bee52d0/notebook_parameterizer-0.0.3-py2-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "cf4b881523a7eae0235fe7398476d078", "sha256": "eb571dd921c831e8629372975410d318836f2aad0f19c078627b161f2f6dd169" }, "downloads": -1, "filename": "notebook_parameterizer-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "cf4b881523a7eae0235fe7398476d078", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4539, "upload_time": "2019-11-19T08:11:32", "upload_time_iso_8601": "2019-11-19T08:11:32.531743Z", "url": "https://files.pythonhosted.org/packages/cc/3d/87cb0bd14fe4799bc50de82a1da7151946a85a8447472e057045229fb6c3/notebook_parameterizer-0.0.3-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "ff57271fc415d2df0c267464b7824b86", "sha256": "8d79bae4a96596fc821ca8bc31e61dc29266448c46fc59c33947703e55684259" }, "downloads": -1, "filename": "notebook_parameterizer-0.0.3.tar.gz", "has_sig": false, "md5_digest": "ff57271fc415d2df0c267464b7824b86", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2818, "upload_time": "2019-11-19T08:10:39", "upload_time_iso_8601": "2019-11-19T08:10:39.754996Z", "url": "https://files.pythonhosted.org/packages/fb/8a/5f03c5ef2e21235cbd09d196814ba5e465434e48544d4234f6d85b5da09a/notebook_parameterizer-0.0.3.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "dcb36bf6c2375e890ccd761cc6f36405", "sha256": "fe5a9894ae5acb610f4aa7be83229aef7853f17c4ae2dfca488c1f4ef9e5d369" }, "downloads": -1, "filename": "notebook_parameterizer-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "dcb36bf6c2375e890ccd761cc6f36405", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5334, "upload_time": "2021-02-03T10:47:59", "upload_time_iso_8601": "2021-02-03T10:47:59.542647Z", "url": "https://files.pythonhosted.org/packages/ed/e0/9ceb73aa30e01319d63af67ac9cb5ef5d032c5d5957c4f96622f2562e451/notebook_parameterizer-0.0.4-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "6bbb1dac6c4884cb6752826c230e4f2c", "sha256": "8d0cdd53466218364b48c55b6d24963dc7591d7be894deb869f62d80cf861e95" }, "downloads": -1, "filename": "notebook_parameterizer-0.0.4.tar.gz", "has_sig": false, "md5_digest": "6bbb1dac6c4884cb6752826c230e4f2c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3706, "upload_time": "2021-02-03T10:48:00", "upload_time_iso_8601": "2021-02-03T10:48:00.575163Z", "url": "https://files.pythonhosted.org/packages/3f/6f/4ec54495daecd9c3bb2b4490127ee1b489875dd6c7b62f4abbe4bf7d7e49/notebook_parameterizer-0.0.4.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dcb36bf6c2375e890ccd761cc6f36405", "sha256": "fe5a9894ae5acb610f4aa7be83229aef7853f17c4ae2dfca488c1f4ef9e5d369" }, "downloads": -1, "filename": "notebook_parameterizer-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "dcb36bf6c2375e890ccd761cc6f36405", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5334, "upload_time": "2021-02-03T10:47:59", "upload_time_iso_8601": "2021-02-03T10:47:59.542647Z", "url": "https://files.pythonhosted.org/packages/ed/e0/9ceb73aa30e01319d63af67ac9cb5ef5d032c5d5957c4f96622f2562e451/notebook_parameterizer-0.0.4-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "6bbb1dac6c4884cb6752826c230e4f2c", "sha256": "8d0cdd53466218364b48c55b6d24963dc7591d7be894deb869f62d80cf861e95" }, "downloads": -1, "filename": "notebook_parameterizer-0.0.4.tar.gz", "has_sig": false, "md5_digest": "6bbb1dac6c4884cb6752826c230e4f2c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3706, "upload_time": "2021-02-03T10:48:00", "upload_time_iso_8601": "2021-02-03T10:48:00.575163Z", "url": "https://files.pythonhosted.org/packages/3f/6f/4ec54495daecd9c3bb2b4490127ee1b489875dd6c7b62f4abbe4bf7d7e49/notebook_parameterizer-0.0.4.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }