{ "info": { "author": "Lev Maximov", "author_email": "lev.maximov@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Software Development :: Build Tools" ], "description": "Motivation\n----------\n\nSuppose you want to import the contents of A.ipynb into B.ipynb.\n\nInstallation\n------------\n\npip install import-ipynb\n\nHow to use\n----------\n\nPlace both ipynb files in the same directory. Then, in the B.ipynb:\n\n.. code:: python\n\n import import_ipynb\n import A\n\nCongratulations! You can now run any functions defined in A.ipynb from\nB.ipynb!\n\nHow it works\n------------\n\nThe code within import\\_ipynb.py defines a \"notebook loader\" that allows\nyou to 'import' other ipynb files into your current ipynb file. This\nentails:\n\n1. load the notebook document into memory\n2. create an empty Module\n3. execute every cell in the Module namespace\n\nNote that since every cell in the A.ipynb is executed when you import\nthe the file, A.ipynb should only contain classes and function\ndefinitions (otherwise you'll end up loading all variables and data into\nmemory).\n\nCredit\n------\n\nThe code within imoprt\\_ipynb.py comes from\nhttp://jupyter-notebook.readthedocs.io/en/latest/examples/Notebook/Importing%20Notebooks.html.\n\nRiley F. Edmunds (@rileyedmunds) wrote instructions on how to use it\nand Lev Maximov (@axil) packaged it.", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/axil/import-ipynb", "keywords": "ipynb import jupyter notebook", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "import-ipynb", "package_url": "https://pypi.org/project/import-ipynb/", "platform": "", "project_url": "https://pypi.org/project/import-ipynb/", "project_urls": { "Homepage": "https://github.com/axil/import-ipynb" }, "release_url": "https://pypi.org/project/import-ipynb/0.1.3/", "requires_dist": null, "requires_python": "", "summary": "Imports A.ipynb into B.ipynb", "version": "0.1.3" }, "last_serial": 3274750, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "0ddb79f49953b46779e65558ca63c9dc", "sha256": "0de7fef151dfca23aa1e5ef1c5044d1bd157857d776eb580645936b239b9c212" }, "downloads": -1, "filename": "import-ipynb-0.1.tar.gz", "has_sig": false, "md5_digest": "0ddb79f49953b46779e65558ca63c9dc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3998, "upload_time": "2017-10-24T10:40:32", "url": "https://files.pythonhosted.org/packages/79/c9/9a8b87dfdc30d2155518c4b290f0e8cd03cb03cfbe593a03af19f2352803/import-ipynb-0.1.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "e2489c37b649f860f879196685687b7e", "sha256": "69999d134bc1de70e5bdd426fcfc325c8edc79f4c9695c5f6aa7f64f229ad7bb" }, "downloads": -1, "filename": "import-ipynb-0.1.1.tar.gz", "has_sig": false, "md5_digest": "e2489c37b649f860f879196685687b7e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3993, "upload_time": "2017-10-24T10:56:08", "url": "https://files.pythonhosted.org/packages/61/31/ac4a668ab5cb06452f71f5caa923444021ecbc7d90139e0d56acf0efb5b8/import-ipynb-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "45a9e8fcc66e62339e335326f3894fdb", "sha256": "a9bfd8323dd30a88b1797cb4a9befaf2149cf58a1e6467986862f26e26820a8e" }, "downloads": -1, "filename": "import-ipynb-0.1.2.tar.gz", "has_sig": false, "md5_digest": "45a9e8fcc66e62339e335326f3894fdb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4001, "upload_time": "2017-10-24T11:01:00", "url": "https://files.pythonhosted.org/packages/64/6f/8ad43960c3ff6d3f44415bfa6dd43237307971d94e99d8c5b7f8f793a2ba/import-ipynb-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "25e89ef05b0595f350e71fae4f3d846f", "sha256": "055d7390c26234c6fbbed9a5488840ff06313a084fd3bd83230046d11a670791" }, "downloads": -1, "filename": "import-ipynb-0.1.3.tar.gz", "has_sig": false, "md5_digest": "25e89ef05b0595f350e71fae4f3d846f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4000, "upload_time": "2017-10-24T11:02:36", "url": "https://files.pythonhosted.org/packages/63/35/495e0021bfdcc924c7cdec4e9fbb87c88dd03b9b9b22419444dc370c8a45/import-ipynb-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "25e89ef05b0595f350e71fae4f3d846f", "sha256": "055d7390c26234c6fbbed9a5488840ff06313a084fd3bd83230046d11a670791" }, "downloads": -1, "filename": "import-ipynb-0.1.3.tar.gz", "has_sig": false, "md5_digest": "25e89ef05b0595f350e71fae4f3d846f", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4000, "upload_time": "2017-10-24T11:02:36", "url": "https://files.pythonhosted.org/packages/63/35/495e0021bfdcc924c7cdec4e9fbb87c88dd03b9b9b22419444dc370c8a45/import-ipynb-0.1.3.tar.gz" } ] }