{ "info": { "author": "Eric Mende", "author_email": "em@bc-potsdam.de", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python :: 3", "Topic :: Utilities" ], "description": "# jupyter-singleton\n\n\n## Introduction\n\njupyter-singleton is a wrapper for the jupyter notebook that allows using output cells from outside of the `jupyter notebook` environment. Thus it enables you to use `ipywidgets` and *Grammar of Graphics* packages whilst programming in your favorite IDE.\n\n\n## Usage\n\n### Example 1\n\nYou can use the jupyter-singleton `display` function similar to the IPython `display` function. However, here the result will be shown in a new browser window.\n\n```\nfrom ipywidgets import Label\nfrom jupyter_singleton.direct import display\n\ndisplay(Label('I will be displayed in a browser window'))\ndisplay(Label('I will be displayed in another browser window'))\n```\n\n### Example 2\n\nYou can also use jupyter-singletons `open_singleton` function to activate a jupyter output-cell in a new browser window. Than you can use the traditional IPython `display` function to show your widgets, as well as ipywidgets `interact` function.\n\n```\nfrom IPython.display import display\nfrom ipywidgets import interact, Label\nfrom jupyter_singleton.direct import open_singleton\n\n\ndef f(x):\n return x\n\n\nopen_singleton()\ninteract(f, x=10)\ndisplay(Label('I will be displayed in the same browser window as the interact-slider'))\n\n```\n\n\n## Dependencies\n\n- `ipykernel` (version >= 5.1.1)\n- `IPython` (version >= 7.5.0)\n- `jinja2` (version >= 2.10.1)\n- `jupyter_client` (version >= 5.2.4)\n- `jupyter_nbextensions_configurator` (version >= 0.4.1)\n- `notebook` (version >= 5.7.8)\n- `tornado` (version >= 6.0.2)\n\n\n## Installation\n\n```\n$ pip install jupyter-singleton\n```\n\n\n## License\n\nThis software is licensed under the MIT license. See the [LICENSE](LICENSE) file\nfor details.\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/EricMende/jupyter_singleton", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "jupyter-singleton", "package_url": "https://pypi.org/project/jupyter-singleton/", "platform": "", "project_url": "https://pypi.org/project/jupyter-singleton/", "project_urls": { "Homepage": "https://github.com/EricMende/jupyter_singleton" }, "release_url": "https://pypi.org/project/jupyter-singleton/0.1.0/", "requires_dist": [ "ipykernel (>=5.1.1)", "IPython (>=7.5.0)", "jinja2 (>=2.10.1)", "jupyter-client (>=5.2.4)", "jupyter-nbextensions-configurator (>=0.4.1)", "notebook (>=5.7.8)", "tornado (>=6.0.2)" ], "requires_python": ">=3.6", "summary": "jupyter notebook wrapper for making output cells available outside of notebook", "version": "0.1.0" }, "last_serial": 5488889, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "394f0d13e6457cb401170077d2a9ad74", "sha256": "43c789e0ee9e8c4fc7d7ea46741249406b7faece02027b1b825fdbeb95cf5d41" }, "downloads": -1, "filename": "jupyter_singleton-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "394f0d13e6457cb401170077d2a9ad74", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 9035, "upload_time": "2019-05-16T15:29:30", "url": "https://files.pythonhosted.org/packages/1d/a7/a3313e8f59a55d2a0ba79e93661b3a39f624bd5f6b646f1d12a656468734/jupyter_singleton-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "20a79b4058902d29a9d2d62beeca1c89", "sha256": "2364db7fbe5ec0bba4383d92c05fa126ebcc1858ac2a7ab87c0ebbbcdff89dbe" }, "downloads": -1, "filename": "jupyter_singleton-0.0.1.tar.gz", "has_sig": false, "md5_digest": "20a79b4058902d29a9d2d62beeca1c89", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 6949, "upload_time": "2019-05-16T15:29:32", "url": "https://files.pythonhosted.org/packages/1f/04/f600cd7ea932620ea821fb4cc3cd5256797b4d864c2f5e4762f8bdb44376/jupyter_singleton-0.0.1.tar.gz" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "6792a5a49505d7be4f9387fe376f37fe", "sha256": "f01f3beb2b7d99fb8258b13ff673624f96149448a54743f0a9fda24728080ee0" }, "downloads": -1, "filename": "jupyter_singleton-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "6792a5a49505d7be4f9387fe376f37fe", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 14134, "upload_time": "2019-07-04T22:13:21", "url": "https://files.pythonhosted.org/packages/b9/79/b9e1628d2c92805739f929afc2ae6d619f7a7d44589b12856d3b879604e6/jupyter_singleton-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "595de261cafb67b61ec4d9087e65aaed", "sha256": "f9589030b1da9fcabcbe8db190f49fb7f44084db31df35ae7902923e4a5892ef" }, "downloads": -1, "filename": "jupyter_singleton-0.1.0.tar.gz", "has_sig": false, "md5_digest": "595de261cafb67b61ec4d9087e65aaed", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 11405, "upload_time": "2019-07-04T22:13:23", "url": "https://files.pythonhosted.org/packages/a1/75/520bbead8eab47fad36064fc7d324c714d0ef07d5edaed6c8917881ccd28/jupyter_singleton-0.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6792a5a49505d7be4f9387fe376f37fe", "sha256": "f01f3beb2b7d99fb8258b13ff673624f96149448a54743f0a9fda24728080ee0" }, "downloads": -1, "filename": "jupyter_singleton-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "6792a5a49505d7be4f9387fe376f37fe", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 14134, "upload_time": "2019-07-04T22:13:21", "url": "https://files.pythonhosted.org/packages/b9/79/b9e1628d2c92805739f929afc2ae6d619f7a7d44589b12856d3b879604e6/jupyter_singleton-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "595de261cafb67b61ec4d9087e65aaed", "sha256": "f9589030b1da9fcabcbe8db190f49fb7f44084db31df35ae7902923e4a5892ef" }, "downloads": -1, "filename": "jupyter_singleton-0.1.0.tar.gz", "has_sig": false, "md5_digest": "595de261cafb67b61ec4d9087e65aaed", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 11405, "upload_time": "2019-07-04T22:13:23", "url": "https://files.pythonhosted.org/packages/a1/75/520bbead8eab47fad36064fc7d324c714d0ef07d5edaed6c8917881ccd28/jupyter_singleton-0.1.0.tar.gz" } ] }