{ "info": { "author": "Scott Sievert, Nicolas M. Thi\u00e9ry", "author_email": "nthiery@users.sf.net", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 3" ], "description": "rst2ipynb\n=========\n\nThis project provides a way to convert standalone\n`reStructuredText `_ files\nto `Jupyter notebook `_ files.\n\nThis is currently achieved by converting to markdown using\n`pandoc `_ and then to a Jupyter notebook using\n`notedown `_, plus some\nconfiguration and tweaks.\n\nRequirements\n------------\n\nPython 3 (for proper UTF-8 support in notedown), pandoc, notedown\n\nInstallation\n------------\n\nInstall `pandoc `_ and then this module as usual::\n\n git clone https://github.com/nthiery/rst-to-ipynb.git\n cd rst-to-ipynb\n pip3 install .\n\npip3 will install the other dependencies as needed.\n\nCaveat: the notedown package on pipy (1.5.0, 2015-10-07) is somewhat\noutdated; for better conversion, it is recommended to install the\nlatest version from the github repo.\n\nUsage\n-----\n\nTo convert a reST file ``xxx.rst`` to a Jupyter notebook ``xxx.ipynb``, run::\n\n rst2ipynb xxx.rst -o xxx.ipynb\n\nExample\n-------\n\n- reST document: `all.rst `_\n- Produced Jupyter notebook: `all.ipynb `_\n\nTODO\n----\n\n- [X] Handle Sage's doctests\n- [X] Fenced code blocks: fix incompatibility between pandoc output and notedown input.\n Fixed in notedown; see: https://github.com/aaren/notedown/issues/29.\n- [ ] Configurability of the default ReST role, in particular to handle maths in Sage's ReST dialect.\n Current status: hardcoded for Sage.\n- [ ] Configurability of custom ReST roles, in particular to handle Sage's custom roles\n- [ ] Proper argument parsing; escape characters, spaces, ... are not\n yet supported\n- [ ] Handle input/output blocks within itemize and other indented constructions\n See https://github.com/aaren/notedown/issues/33\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/nthiery/rst-to-ipynb", "keywords": "", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "rst2ipynb", "package_url": "https://pypi.org/project/rst2ipynb/", "platform": "", "project_url": "https://pypi.org/project/rst2ipynb/", "project_urls": { "Homepage": "https://github.com/nthiery/rst-to-ipynb" }, "release_url": "https://pypi.org/project/rst2ipynb/0.2.3/", "requires_dist": [ "notedown", "pandocfilters" ], "requires_python": "", "summary": "A reST to Jupyter notebook converter", "version": "0.2.3" }, "last_serial": 3260274, "releases": { "0.2.0": [ { "comment_text": "", "digests": { "md5": "146ca333c2a20e53425df1da3758811e", "sha256": "a54a6fe14a601f78bdb733f3a6e993b88d32631fa08c4bd83716e789e4d9b5e6" }, "downloads": -1, "filename": "rst2ipynb-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "146ca333c2a20e53425df1da3758811e", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6623, "upload_time": "2016-11-23T07:26:30", "url": "https://files.pythonhosted.org/packages/c4/88/39d7becf5dc811ccba0b9464c1d864b3fd5e09b6db7c86ad85ea3c853170/rst2ipynb-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6b789120735011b45c0b5e2ef3187b4c", "sha256": "89084b376a63eaebcbf8d181c876e145778a6103cb53406d7422757d7e88c49e" }, "downloads": -1, "filename": "rst2ipynb-0.2.0.tar.gz", "has_sig": false, "md5_digest": "6b789120735011b45c0b5e2ef3187b4c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5247, "upload_time": "2016-11-23T07:26:33", "url": "https://files.pythonhosted.org/packages/a4/f6/5f094624046a36512b0e6ae94beedc3e6d1d70a82da08052b304bbc1cd2d/rst2ipynb-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "b12902e3b9ed99ffe1a826a565334222", "sha256": "059aa6b7a3d4590bbee42a9510b30919ec7881b8f583e8a7b2b74194e9cefdd4" }, "downloads": -1, "filename": "rst2ipynb-0.2.1-py3-none-any.whl", "has_sig": false, "md5_digest": "b12902e3b9ed99ffe1a826a565334222", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6695, "upload_time": "2016-11-23T07:50:27", "url": "https://files.pythonhosted.org/packages/bc/03/74619f612e471f2482d381c569ad54efb0b8d1ff67fefbe9ccfeedfd7cb9/rst2ipynb-0.2.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8d85aa294c25ccaf3bb080bc6eb50e59", "sha256": "47b393140378b89e3ce0fe21f73d8c8eafaba9910ddbc7b3146132f8cf07b27a" }, "downloads": -1, "filename": "rst2ipynb-0.2.1.tar.gz", "has_sig": false, "md5_digest": "8d85aa294c25ccaf3bb080bc6eb50e59", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5444, "upload_time": "2016-11-23T07:50:29", "url": "https://files.pythonhosted.org/packages/59/74/ed45a207317c8dbfe987db83841ba4d262cfe9fc561fe3180185f82f1e95/rst2ipynb-0.2.1.tar.gz" } ], "0.2.2": [ { "comment_text": "", "digests": { "md5": "390978f6383cb0fde67bd438256260d7", "sha256": "493bb763bf0ebb79b9cc50b3ae0b40bd1e1e2e99e54f658b77458785f6cdacec" }, "downloads": -1, "filename": "rst2ipynb-0.2.2-py2-none-any.whl", "has_sig": true, "md5_digest": "390978f6383cb0fde67bd438256260d7", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 6896, "upload_time": "2017-06-11T02:07:03", "url": "https://files.pythonhosted.org/packages/d8/67/d08eceb9bac2b8c4bd28782f53b720f5e191533377f088f7f2750ce371e4/rst2ipynb-0.2.2-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "100596c9eed3e22483e86061a88722db", "sha256": "3f79e8b3d8635bd1fac347065b355db240929a059ec758e595a483e3001c7c3a" }, "downloads": -1, "filename": "rst2ipynb-0.2.2.tar.gz", "has_sig": true, "md5_digest": "100596c9eed3e22483e86061a88722db", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5621, "upload_time": "2017-06-11T02:07:12", "url": "https://files.pythonhosted.org/packages/59/21/e8bc2432fb6b901d40728a8520401b04f3a8601c8f203790eea65b999793/rst2ipynb-0.2.2.tar.gz" } ], "0.2.3": [ { "comment_text": "", "digests": { "md5": "3574911240fad2f9b02aa162c672c9c6", "sha256": "444f431a33076cfa8f88975c11f34b5b70329856b09811ae5361372ce210b432" }, "downloads": -1, "filename": "rst2ipynb-0.2.3-py3-none-any.whl", "has_sig": true, "md5_digest": "3574911240fad2f9b02aa162c672c9c6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7059, "upload_time": "2017-10-18T15:42:04", "url": "https://files.pythonhosted.org/packages/ac/45/8b2e692eda075aeb116e440afd4f0d5b3d0ea90d295cc27bb96cba9901b2/rst2ipynb-0.2.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "eedfb3d5b8634e36b680ad86771cec38", "sha256": "30d70b0e96f1c37baad9c8dbe904fc2567354eec02c52b94e7c7287b6268eaa3" }, "downloads": -1, "filename": "rst2ipynb-0.2.3.tar.gz", "has_sig": true, "md5_digest": "eedfb3d5b8634e36b680ad86771cec38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6094, "upload_time": "2017-10-18T15:42:06", "url": "https://files.pythonhosted.org/packages/57/73/279784ff0ff3d6fc087bd28d9eb4740d4a8afc95760b72e35fd2edf8eddc/rst2ipynb-0.2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "3574911240fad2f9b02aa162c672c9c6", "sha256": "444f431a33076cfa8f88975c11f34b5b70329856b09811ae5361372ce210b432" }, "downloads": -1, "filename": "rst2ipynb-0.2.3-py3-none-any.whl", "has_sig": true, "md5_digest": "3574911240fad2f9b02aa162c672c9c6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7059, "upload_time": "2017-10-18T15:42:04", "url": "https://files.pythonhosted.org/packages/ac/45/8b2e692eda075aeb116e440afd4f0d5b3d0ea90d295cc27bb96cba9901b2/rst2ipynb-0.2.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "eedfb3d5b8634e36b680ad86771cec38", "sha256": "30d70b0e96f1c37baad9c8dbe904fc2567354eec02c52b94e7c7287b6268eaa3" }, "downloads": -1, "filename": "rst2ipynb-0.2.3.tar.gz", "has_sig": true, "md5_digest": "eedfb3d5b8634e36b680ad86771cec38", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6094, "upload_time": "2017-10-18T15:42:06", "url": "https://files.pythonhosted.org/packages/57/73/279784ff0ff3d6fc087bd28d9eb4740d4a8afc95760b72e35fd2edf8eddc/rst2ipynb-0.2.3.tar.gz" } ] }