{ "info": { "author": "Shivam Kotwalia", "author_email": "shivamkotwalia@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 1 - Planning", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6" ], "description": "# jup2py - Make jupyter notebook production ready\nSimplest way to convert jupyter notebook to production ready .py file\n\n## Introduction\n\nAs a data scientist or some one who loves quick proto-typing, you might be using Jupyter notebook or Ipython console to\nbuild your data pipelines or modelling iteration. Finally when it's time for deployment, the hard time starts,\nconverting jupyter notebook to simple py file.\n\nYou have conventional ways to download it as a .py file from console with or by downloading as .py file from Jupyter \nNotebooks. But they never make it production ready .py file, somethings they mess with magic words or plots.\n\n## Installation\n\nTo install Jup2Py from PyPI:\n\n```\n$ pip install jup2py\n```\n* Jup2Py supports Python 3.6 and above\n* Only requirement as of now is `nbconvert`\n\nJup2Py is still considered in \"alpha\" stage, and the released version may change\noften; therefore, the best way to keep up-to-date with the latest development\nis to clone this repository.\n\n## Usage\nJup2Py is made to remove complexity and make it super easy.\n\nOptions:\n````\nJup2Py :- Simple way to convert your Jupyter Notebook to .py\nPlease make sure that you have saved the Notebook before running Jup2Py\nusage: jup2py [-h] [-v] [-i INPUT] [-o OUTPUT]\n\nJup2Py :- Simple way to convert your Jupyter Notebook to .py\n\noptional arguments:\n -h, --help show this help message and exit\n -v, --version Jup2Py Version\n -i INPUT, --input INPUT\n Input Jupyter Notebook to be converted to .py file\n -o OUTPUT, --output OUTPUT\n [Optional]: Output python file name and location\n````\n\n## Example \n\n* **NOTE** - Jup2Py requires you to save the Jupyter Notebook before using jup2py\n\n* Command Line\n````\njup2py -i <> -o <>\n````\n\n-o/ --output is totally optional, if you don't supply it will save the .py in the same directory save the .ipynb file\n````\njup2py -i tests\\jup2py_sample.ipynb\n````\n\n* Python Code\n````\nimport jup2py\njup2py.jup2py(\"tests/jup2py_test.ipynb\", \"tests/test.py\")\n````\n\nSecond argument is totally optional, if you don't supply it will save the .py in the same directory save the .ipynb file\n\nNOTE: - The output file is non-interactive in nature and will override if any previous same name file is found at that location.\n\n## Conversion\n\nSample Jupyter Notebook -\n\n![Sample Jupyter Notebook](https://raw.githubusercontent.com/shivam-kotwalia/jup2py/master/docs/static/images/Jupyter_sample.png)\n\nJup2Py converted to production ready .py file in no time -\n\n![Production ready python code](https://raw.githubusercontent.com/shivam-kotwalia/jup2py/master/docs/static/images/Py_sample.png)\n\n\n## Contact Us\n\nJup2Py is a very small initiative I took, there are lot of things we can improve on this and make this more stronger.\n\nPlease don't hesitate to report a bug through issues.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/shivam-kotwalia/jup2py", "keywords": "Convert jupyter notebook to .py", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "jup2py", "package_url": "https://pypi.org/project/jup2py/", "platform": "", "project_url": "https://pypi.org/project/jup2py/", "project_urls": { "Homepage": "https://github.com/shivam-kotwalia/jup2py" }, "release_url": "https://pypi.org/project/jup2py/0.1.dev1/", "requires_dist": [ "nbconvert (==5.5.0)" ], "requires_python": ">3.6,!=3.3.*", "summary": "Convert jupyter notebook to .py file", "version": "0.1.dev1" }, "last_serial": 5806795, "releases": { "0.1.dev0": [ { "comment_text": "", "digests": { "md5": "64c58800e8445bc21d5a49fdee86dd17", "sha256": "959862e6dd7250fd9c7b0dbbadf63b137333878367c0e8e2b1cdd05cebf9626d" }, "downloads": -1, "filename": "jup2py-0.1.dev0-py3-none-any.whl", "has_sig": false, "md5_digest": "64c58800e8445bc21d5a49fdee86dd17", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">3.6,!=3.3.*", "size": 5118, "upload_time": "2019-09-10T04:06:41", "url": "https://files.pythonhosted.org/packages/34/52/2a4144ffb6012ac84d82c89a4b57ffa9fcdd86fb4428b40bc7eb06ac0c9f/jup2py-0.1.dev0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "26205fa54e8cb336ea2b6186f46c4487", "sha256": "6e4e34ee745e53b39dd473842d48bab9a3adad4c4ee82e25f7930ffe4f2037b7" }, "downloads": -1, "filename": "jup2py-0.1.dev0.tar.gz", "has_sig": false, "md5_digest": "26205fa54e8cb336ea2b6186f46c4487", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6,!=3.3.*", "size": 3924, "upload_time": "2019-09-10T04:06:45", "url": "https://files.pythonhosted.org/packages/0b/62/3171b5e96ad3a44fc7dc820e1dff14ccd620a35f7b583d71e2144cb2c5a1/jup2py-0.1.dev0.tar.gz" } ], "0.1.dev1": [ { "comment_text": "", "digests": { "md5": "1a1dc84bfbd3a7d3c3e18fa2e8f13a1e", "sha256": "0ddb2681e8b4b53b3059bdc7d20c52767267452be8dea711bb25d6fc17759b17" }, "downloads": -1, "filename": "jup2py-0.1.dev1-py3-none-any.whl", "has_sig": false, "md5_digest": "1a1dc84bfbd3a7d3c3e18fa2e8f13a1e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">3.6,!=3.3.*", "size": 5121, "upload_time": "2019-09-10T04:06:44", "url": "https://files.pythonhosted.org/packages/6f/be/7ccaf08918f6dd86222183915acddc88fdad109383e1b5e12ef95ec31c3c/jup2py-0.1.dev1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "62aa06ea11daa2c38ce0a3d1330b0c32", "sha256": "4823f5baafb2f8ef77879bd46847c1565afab34660f2251c1ccc76050d98c5e3" }, "downloads": -1, "filename": "jup2py-0.1.dev1.tar.gz", "has_sig": false, "md5_digest": "62aa06ea11daa2c38ce0a3d1330b0c32", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6,!=3.3.*", "size": 3920, "upload_time": "2019-09-10T04:06:47", "url": "https://files.pythonhosted.org/packages/c8/dc/3b59bfb71f58884c0131ccc214baeacf102218987879b1584a4f360ade44/jup2py-0.1.dev1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "1a1dc84bfbd3a7d3c3e18fa2e8f13a1e", "sha256": "0ddb2681e8b4b53b3059bdc7d20c52767267452be8dea711bb25d6fc17759b17" }, "downloads": -1, "filename": "jup2py-0.1.dev1-py3-none-any.whl", "has_sig": false, "md5_digest": "1a1dc84bfbd3a7d3c3e18fa2e8f13a1e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">3.6,!=3.3.*", "size": 5121, "upload_time": "2019-09-10T04:06:44", "url": "https://files.pythonhosted.org/packages/6f/be/7ccaf08918f6dd86222183915acddc88fdad109383e1b5e12ef95ec31c3c/jup2py-0.1.dev1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "62aa06ea11daa2c38ce0a3d1330b0c32", "sha256": "4823f5baafb2f8ef77879bd46847c1565afab34660f2251c1ccc76050d98c5e3" }, "downloads": -1, "filename": "jup2py-0.1.dev1.tar.gz", "has_sig": false, "md5_digest": "62aa06ea11daa2c38ce0a3d1330b0c32", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.6,!=3.3.*", "size": 3920, "upload_time": "2019-09-10T04:06:47", "url": "https://files.pythonhosted.org/packages/c8/dc/3b59bfb71f58884c0131ccc214baeacf102218987879b1584a4f360ade44/jup2py-0.1.dev1.tar.gz" } ] }