{ "info": { "author": "Samuel Rizzo", "author_email": "rizzolabs@gmail.com", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Intended Audience :: Science/Research", "Intended Audience :: System Administrators", "Programming Language :: Python", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3.7" ], "description": "# Jupyter Source Magic\n\nA Jupyter Notebook %%magic to quickly edit and run source code.\n\n- Both saves and evaluates source code when cell is run\n- Accepts and evaluates other cell magic annotations, without saving them\n- Deals with existing files and monitors external changes\n\nDisclaimer\n----------\n\nThis is an experimental project. Use at your own risk.\n\nUsage\n------\n\nLoad extension inside a Jupyter notebook:\n\n```\n%load_ext jupytersourcemagic\n```\n\nAdd code with Cell magic:\n\n```\n%%source path/to/source.py\n# code to run\n```\n\nRun to save and evaluate.\n\nExamples\n--------\n\nSave and run a script:\n\n```\n%%source path/to/source.py\nprint('hello')\n```\n\nLoad an existing source to edit.\n\n```\n%loadsource path/to/source.py\n## when run, cell contents will be replaced with path/to/source.py\n```\n\nHandle other cell magic annotations:\n\n```\n%%source path/to/source.sh\n%%bash\necho 'hello'\n```\n\nHelp\n-----\n\nDisplay usage and configuration options:\n\n```\n%%source?\n```\n\nInstallation\n------------\n\nInstall and activate dependencies:\n\n- [ipywidgets](https://github.com/jupyter-widgets/ipywidgets)\n- [jupyter-interval-widget](https://github.com/srizzo/jupyter-interval-widget)\n\nThen:\n\n $ pip install jupyter-source-magic\n", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/srizzo/jupyter-source-magic", "keywords": "ipython", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "jupyter-source-magic", "package_url": "https://pypi.org/project/jupyter-source-magic/", "platform": "", "project_url": "https://pypi.org/project/jupyter-source-magic/", "project_urls": { "Homepage": "https://github.com/srizzo/jupyter-source-magic" }, "release_url": "https://pypi.org/project/jupyter-source-magic/0.1.2/", "requires_dist": null, "requires_python": "", "summary": "A Jupyter Notebook %%magic to quickly edit and run source code", "version": "0.1.2" }, "last_serial": 5513987, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "dbb11834fcc5c57d70cad8950946d8c0", "sha256": "a886f82064610aa3dac5ff45cf8729d7c2b12d9f99064a30038bc33299b0e25f" }, "downloads": -1, "filename": "jupyter_source_magic-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "dbb11834fcc5c57d70cad8950946d8c0", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 6664, "upload_time": "2019-07-09T22:08:19", "url": "https://files.pythonhosted.org/packages/9c/0a/493ea8e7c36c009edc3a2f911d2f227da0e3cf0690d47ce9592b63fca497/jupyter_source_magic-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "997c6fb43491210a892b46bbc6f361c7", "sha256": "e28a1423b6a1573003aee7b2fe2a2b13fbd518c1569b9a670acd7b6a9dbfe4f8" }, "downloads": -1, "filename": "jupyter-source-magic-0.1.0.tar.gz", "has_sig": false, "md5_digest": "997c6fb43491210a892b46bbc6f361c7", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5275, "upload_time": "2019-07-09T22:06:52", "url": "https://files.pythonhosted.org/packages/02/ab/7a5f754550f6e72c769c6a6fddd6a41936864c7321ae4c39946385a3ed39/jupyter-source-magic-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "6b9a75936fa8d180a201411764271b2e", "sha256": "99b4f0e247815943008f6930efd951ad1d8df59f4372340e62892ccfecaf76f3" }, "downloads": -1, "filename": "jupyter_source_magic-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "6b9a75936fa8d180a201411764271b2e", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 6665, "upload_time": "2019-07-09T22:20:30", "url": "https://files.pythonhosted.org/packages/42/17/f24119eb3db7a2e7336cd8785adad69b02275b836ba11a849cf1f0506bea/jupyter_source_magic-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fc243f7e04840af707d0d1438db68671", "sha256": "36a80ac54a047424ed407522d087372b6c4af2100733e9fb85e6ed2c0a9ceaf0" }, "downloads": -1, "filename": "jupyter-source-magic-0.1.1.tar.gz", "has_sig": false, "md5_digest": "fc243f7e04840af707d0d1438db68671", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5277, "upload_time": "2019-07-09T22:20:13", "url": "https://files.pythonhosted.org/packages/e4/6c/2d9edfc9c67dd442ce1e82087dd64a25b019f400a642cb03b5e42cd2c69b/jupyter-source-magic-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "de0e87abd834f025b2ab7663fc7eed31", "sha256": "44716a82a42933da5b457fd2c02dea6479b6e6540c85fc6ae5dcb351bbeaaf2b" }, "downloads": -1, "filename": "jupyter_source_magic-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "de0e87abd834f025b2ab7663fc7eed31", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 6666, "upload_time": "2019-07-10T20:57:04", "url": "https://files.pythonhosted.org/packages/3a/bb/c68922b4d596e1cb4732baa417d0a22571f33c45627dca7316f52c1bf714/jupyter_source_magic-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "314f10d7b9c0a5aebcd7bbd2f8662946", "sha256": "0a773e28b5a9ac45beaf3dd275a6ea806265f74a218a3a1ffc2447da996eae13" }, "downloads": -1, "filename": "jupyter-source-magic-0.1.2.tar.gz", "has_sig": false, "md5_digest": "314f10d7b9c0a5aebcd7bbd2f8662946", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5274, "upload_time": "2019-07-10T20:56:53", "url": "https://files.pythonhosted.org/packages/d4/8b/341fba3bceb30f858e1d3546e56f08baad96e2429c739605f166b9ea0b42/jupyter-source-magic-0.1.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "de0e87abd834f025b2ab7663fc7eed31", "sha256": "44716a82a42933da5b457fd2c02dea6479b6e6540c85fc6ae5dcb351bbeaaf2b" }, "downloads": -1, "filename": "jupyter_source_magic-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "de0e87abd834f025b2ab7663fc7eed31", "packagetype": "bdist_wheel", "python_version": "3.6", "requires_python": null, "size": 6666, "upload_time": "2019-07-10T20:57:04", "url": "https://files.pythonhosted.org/packages/3a/bb/c68922b4d596e1cb4732baa417d0a22571f33c45627dca7316f52c1bf714/jupyter_source_magic-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "314f10d7b9c0a5aebcd7bbd2f8662946", "sha256": "0a773e28b5a9ac45beaf3dd275a6ea806265f74a218a3a1ffc2447da996eae13" }, "downloads": -1, "filename": "jupyter-source-magic-0.1.2.tar.gz", "has_sig": false, "md5_digest": "314f10d7b9c0a5aebcd7bbd2f8662946", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5274, "upload_time": "2019-07-10T20:56:53", "url": "https://files.pythonhosted.org/packages/d4/8b/341fba3bceb30f858e1d3546e56f08baad96e2429c739605f166b9ea0b42/jupyter-source-magic-0.1.2.tar.gz" } ] }