{ "info": { "author": "Colin Carroll", "author_email": "colcarroll@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6" ], "description": "|Build Status| |Coverage Status|\n\n========\nCallisto\n========\n\n\n*The fourth Galilean moon of Jupyter.*\n\nA command line utility to create kernels in Jupyter from virtual environments.\n\nInstallation\n============\nCallisto may be installed `from pypi `_:\n::\n\n pip install callisto\n\nTested against python 2.7, 3.4, 3.5, 3.6.\n\n\nBasic Usage.\n============\nTypical use is to just activate it inside a virtual environment:\n::\n\n $ virtualenv venv\n ...\n $ source venv/bin/activate\n (venv) $ callisto\n Successfully installed a new jupyter kernel \"venv\":\n {\n \"env\": {},\n \"language\": \"python\",\n \"display_name\": \"venv\",\n \"argv\": [\n \"/Users/colin/venv/bin/python\",\n \"-m\",\n \"ipykernel\",\n \"-f\",\n \"{connection_file}\"\n ]\n }\n See /Users/colin/Library/Jupyter/kernels/venv/kernel.json to edit.\n\nJupyter servers will now have an option for a kernel called `venv`.\n\n.. image:: https://colindcarroll.com/img/venv.png\n\nNaming the kernel.\n==================\nYou may also give kernels a more descriptive name:\n::\n\n (venv) $ callisto -n pete\n Successfully installed a new jupyter kernel \"pete\":\n {\n \"env\": {},\n \"display_name\": \"pete\",\n \"argv\": [\n \"/Users/colin/venv/bin/python\",\n \"-m\",\n \"ipykernel\",\n \"-f\",\n \"{connection_file}\"\n ],\n \"language\": \"python\"\n }\n See /Users/colin/Library/Jupyter/kernels/pete/kernel.json to edit.\n\nJupyter servers will now have an option for a kernel called `venv`, and `pete`.\n\n.. image:: https://colindcarroll.com/img/venv_and_pete.png\n\nDeleting kernels.\n=================\nSometimes you may want to tidy kernels up a bit.\n::\n\n (venv) $ callisto -d\n Deleted jupyter kernel \"venv\" from /Users/colin/Library/Jupyter/kernels/venv/kernel.json:\n {\n \"argv\": [\n \"/Users/colin/venv/bin/python\",\n \"-m\",\n \"ipykernel\",\n \"-f\",\n \"{connection_file}\"\n ],\n \"env\": {},\n \"language\": \"python\",\n \"display_name\": \"venv\"\n }\n\nJupyter servers will no longer have a kernel named `venv`.\n\n\n\nLacking courage.\n================\nCallisto doesn't try to be too clever.\n::\n\n (venv) $ deactivate\n\n $ callisto\n Usage: callisto [OPTIONS]\n\n Error: The environment variable VIRTUAL_ENV is not set (usually this is set\n automatically activating a virtualenv). Please make sure you are in a\n virtual environment!\n\nViewing existing kernels.\n=========================\nIf you forgot the informative message about the kernel information, you can see it later.\n::\n\n $ source venv/bin/activate\n\n (venv) $ callisto --list\n No kernel found at /Users/colin/Library/Jupyter/kernels/venv/kernel.json\n\n (venv) $ callisto -l --name pete\n Found kernel \"pete\" at /Users/colin/Library/Jupyter/kernels/pete/kernel.json:\n {\n \"display_name\": \"pete\",\n \"language\": \"python\",\n \"argv\": [\n \"/Users/colin/venv/bin/python\",\n \"-m\",\n \"ipykernel\",\n \"-f\",\n \"{connection_file}\"\n ],\n \"env\": {}\n }\n\n\n\nAdjusting the `PYTHONPATH`.\n===========================\nWith isolated kernels, you may wish to run all your notebooks from a single directory,\nbut using code from the project directories.\n::\n\n (venv) $ callisto -n pete --path=$(pwd)\n Successfully installed a new jupyter kernel \"pete\":\n\n {\n \"argv\": [\n \"/Users/colin/venv/bin/python\",\n \"-m\",\n \"ipykernel\",\n \"-f\",\n \"{connection_file}\"\n ],\n \"language\": \"python\",\n \"env\": {\n \"PYTHONPATH\": \"/Users/colin/projects/pete:PYTHONPATH\"\n },\n \"display_name\": \"pete\"\n }\n See /Users/colin/Library/Jupyter/kernels/pete/kernel.json to edit.\n\nNow the `pete` kernel will be able to import from the folder `/Users/colin/projects/pete`.\n\n.. |Build Status| image:: https://travis-ci.org/ColCarroll/callisto.svg?branch=master\n :target: https://travis-ci.org/ColCarroll/callisto\n.. |Coverage Status| image:: https://coveralls.io/repos/github/ColCarroll/callisto/badge.svg?branch=master\n :target: https://coveralls.io/github/ColCarroll/callisto?branch=master\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/ColCarroll/callisto", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "callisto", "package_url": "https://pypi.org/project/callisto/", "platform": "", "project_url": "https://pypi.org/project/callisto/", "project_urls": { "Homepage": "https://github.com/ColCarroll/callisto" }, "release_url": "https://pypi.org/project/callisto/0.7/", "requires_dist": [ "Click", "ipykernel" ], "requires_python": "", "summary": "Create jupyter kernels from virtual environments", "version": "0.7" }, "last_serial": 3313889, "releases": { "0.4": [ { "comment_text": "", "digests": { "md5": "ebc218d368158d1de4c72bef07a22c84", "sha256": "e7963f2ac828f8f1ed024db33fb6f39d8b416b4a607e5d9a5711306bd43434df" }, "downloads": -1, "filename": "callisto-0.4-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ebc218d368158d1de4c72bef07a22c84", "packagetype": "bdist_wheel", "python_version": "any", "requires_python": null, "size": 6601, "upload_time": "2017-04-02T19:21:52", "url": "https://files.pythonhosted.org/packages/6d/62/ef0bbbef7a44c11162c26115dcdb1b6391b0217c6f0f3a7fad055fc3c0be/callisto-0.4-py2.py3-none-any.whl" } ], "0.5": [ { "comment_text": "", "digests": { "md5": "9e820894a5469cfc934b048be7ab72e3", "sha256": "41157fbe831ef9fbfef32eac3a500d16633d0a6615913f9c02660952a9daddbb" }, "downloads": -1, "filename": "callisto-0.5-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "9e820894a5469cfc934b048be7ab72e3", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7132, "upload_time": "2017-11-07T20:15:15", "url": "https://files.pythonhosted.org/packages/cc/70/01774fd4217aeb0f22244223ec159d526d08024904e8b383602003d5bbc3/callisto-0.5-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0545184a0a52fb3798166ad84943f3ae", "sha256": "e1217337276f02e4fa6f09a209bf94c80f32439b39717ad12fcfc9f682f5930c" }, "downloads": -1, "filename": "callisto-0.5.tar.gz", "has_sig": false, "md5_digest": "0545184a0a52fb3798166ad84943f3ae", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5805, "upload_time": "2017-11-07T20:15:16", "url": "https://files.pythonhosted.org/packages/97/9a/3939ef80d481d7ad4ac443f3fa368dbbe92938cc6a1e2cd0c770db8394ca/callisto-0.5.tar.gz" } ], "0.6": [ { "comment_text": "", "digests": { "md5": "02e1160771c5f7134ffb7c119ee1d2f0", "sha256": "b95c30d0d11c60ef57452c664362b1dd026ee0daa26b18b1869bc8ac4db31481" }, "downloads": -1, "filename": "callisto-0.6-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "02e1160771c5f7134ffb7c119ee1d2f0", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7131, "upload_time": "2017-11-07T20:18:06", "url": "https://files.pythonhosted.org/packages/15/63/44f572eb53f6a71ef66e152029762fdb42c8e2216cda47efeebbc839b401/callisto-0.6-py2.py3-none-any.whl" } ], "0.7": [ { "comment_text": "", "digests": { "md5": "ab607c2fc6a697c288a71d417d5417ae", "sha256": "41ef963666741a75c44cd7dbf70a0762be496fa48b96181805cfebd7b51e71e4" }, "downloads": -1, "filename": "callisto-0.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ab607c2fc6a697c288a71d417d5417ae", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7124, "upload_time": "2017-11-07T21:03:26", "url": "https://files.pythonhosted.org/packages/de/60/05d035ae76a2036e3008f5f5f7b14015a7e08ad6b4dc1c895a5f7eda1aa3/callisto-0.7-py2.py3-none-any.whl" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "ab607c2fc6a697c288a71d417d5417ae", "sha256": "41ef963666741a75c44cd7dbf70a0762be496fa48b96181805cfebd7b51e71e4" }, "downloads": -1, "filename": "callisto-0.7-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "ab607c2fc6a697c288a71d417d5417ae", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 7124, "upload_time": "2017-11-07T21:03:26", "url": "https://files.pythonhosted.org/packages/de/60/05d035ae76a2036e3008f5f5f7b14015a7e08ad6b4dc1c895a5f7eda1aa3/callisto-0.7-py2.py3-none-any.whl" } ] }