{ "info": { "author": "Jeremy Tuloup", "author_email": "", "bugtrack_url": null, "classifiers": [], "description": "# jupyterlab-heroku\n\n[![npm](https://img.shields.io/npm/v/jupyterlab-heroku.svg?style=flat-square)](https://www.npmjs.com/package/jupyterlab-heroku)\n[![pypi](https://img.shields.io/pypi/v/jupyterlab-heroku.svg?style=flat-square)](https://pypi.python.org/pypi/jupyterlab-heroku)\n\nJupyterLab extension to manage and deploy applications to Heroku.\n\nThe extension enables 1-click deployments of [voila](https://github.com/QuantStack/voila) dashboards.\n\n![screencast](https://user-images.githubusercontent.com/591645/61288265-0d00d680-a7c7-11e9-84ff-bb3a1ef2bfc5.gif)\n\n## Requirements\n\n### Create an Heroku account\n\n_If you already have an Heroku account, you can skip to the next section_.\n\nYou can create a new Heroku account by following these instructions:\nhttps://signup.heroku.com/\n\n### Install the heroku client\n\nYou need the `heroku` client installed on your machine to be able to deploy applications. To set it up:\nhttps://devcenter.heroku.com/articles/getting-started-with-python#set-up\n\nOnce the setup is complete, test the installation with:\n\n```\n$ heroku --version\nheroku/7.26.2 linux-x64 node-v11.14.0\n```\n\n### Login to Heroku\n\nThere are different ways to login to Heroku:\n\n1. `heroku login` will open a new browser tab to log in with the email and password\n2. create a `~/.netrc` file with the api token (see [the documentation](https://devcenter.heroku.com/articles/authentication#usage-examples) for more details)\n3. set the `HEROKU_API_KEY` environment variable\n\nTo test the authentication: `heroku apps`\n\n### Other Dependencies\n\nThis extension also requires:\n\n- JupyterLab 1.0\n- `git`\n\n## Install\n\n```bash\npip install jupyterlab-heroku\njupyter serverextension enable --sys-prefix --py jupyterlab_heroku\njupyter labextension install jupyterlab-heroku\n```\n\nSince Heroku uses `git` to deploy applications, it is also recommended to install the `jupyterlab-git` extension for JupyterLab:\n\n```bash\npip install jupyterlab-git\njupyter serverextension enable --sys-prefix --py jupyterlab_git\njupyter labextension install @jupyterlab/git\n```\n\n## Contributing\n\n### Install\n\n```bash\n# Clone the repo to your local environment\n# Move to jupyterlab-heroku directory\n\n# Create a new conda environment\nconda create -n jupyterlab-heroku -c conda-forge jupyterlab nodejs\n\n# Install the server extension\npython -m pip install -e .\njupyter serverextension enable --sys-prefix --py jupyterlab_heroku\n\n# Install dependencies\njlpm\n\n# Build Typescript source\njlpm build\n\n# Link your development version of the extension with JupyterLab\njupyter labextension link .\n\n# Rebuild Typescript source after making changes\njlpm build\n\n# Rebuild JupyterLab after making any changes\njupyter lab build\n```\n\nYou can watch the source directory and run JupyterLab in watch mode to watch for changes in the extension's source and automatically rebuild the extension and application.\n\n```bash\n# Watch the source directory in another terminal tab\njlpm watch\n\n# Run jupyterlab in watch mode in one terminal tab\njupyter lab --watch\n```\n\n### Uninstall\n\n```bash\njupyter labextension uninstall jupyterlab-heroku\n```\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": "", "keywords": "", "license": "", "maintainer": "", "maintainer_email": "", "name": "jupyterlab-heroku", "package_url": "https://pypi.org/project/jupyterlab-heroku/", "platform": "", "project_url": "https://pypi.org/project/jupyterlab-heroku/", "project_urls": null, "release_url": "https://pypi.org/project/jupyterlab-heroku/0.2.0/", "requires_dist": [ "jupyterlab" ], "requires_python": "", "summary": "A server extension for the JupyterLab Heroku extension", "version": "0.2.0" }, "last_serial": 5716664, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "a5b391fba9e5267c8e2bd4f9a6b85deb", "sha256": "a1d4974316c02a7669ea536a9fefaf77960f588a561d32149cfd9e80bc72069f" }, "downloads": -1, "filename": "jupyterlab_heroku-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "a5b391fba9e5267c8e2bd4f9a6b85deb", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 4322, "upload_time": "2019-07-16T11:14:18", "url": "https://files.pythonhosted.org/packages/53/57/9d75dfddb4cdc4e1b0bb7c5e7387f78383e39bb7ac17e0d24729fd7f7946/jupyterlab_heroku-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "70c492de3e7e4571efeda4cd8efb4bf0", "sha256": "2eedd9cc1531722027d28a4a122da8b6388d4545d0aa987efcebbadfd98a1d6d" }, "downloads": -1, "filename": "jupyterlab_heroku-0.1.0.tar.gz", "has_sig": false, "md5_digest": "70c492de3e7e4571efeda4cd8efb4bf0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3612, "upload_time": "2019-07-16T11:14:21", "url": "https://files.pythonhosted.org/packages/95/c7/6e5c0a46f54f3eb23a62ff6e13f0fab584462cc3188e382252b9fee46646/jupyterlab_heroku-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "2c56396a9c05fa6678134afc3486fb82", "sha256": "40f0ee8153bb7effced97f799a1484a7e91011883282944f65f30058dc83391a" }, "downloads": -1, "filename": "jupyterlab_heroku-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "2c56396a9c05fa6678134afc3486fb82", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5092, "upload_time": "2019-08-22T18:34:59", "url": "https://files.pythonhosted.org/packages/de/2d/98cfef039434a808b96ac9d4dc763134e715824b0411dd2eeb189f90fa0e/jupyterlab_heroku-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b9005f80bdf258bd8a3e4e83963d8e8a", "sha256": "829b1ca9fa999a9605c78d8f3c76a5fcbf3ed2fecca966290f57fbdcfffc26dc" }, "downloads": -1, "filename": "jupyterlab_heroku-0.2.0.tar.gz", "has_sig": false, "md5_digest": "b9005f80bdf258bd8a3e4e83963d8e8a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4401, "upload_time": "2019-08-22T18:35:01", "url": "https://files.pythonhosted.org/packages/d1/01/d0901178f759276786573fcca86bebb705bb20c91c91f68dc948658f6d7f/jupyterlab_heroku-0.2.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "2c56396a9c05fa6678134afc3486fb82", "sha256": "40f0ee8153bb7effced97f799a1484a7e91011883282944f65f30058dc83391a" }, "downloads": -1, "filename": "jupyterlab_heroku-0.2.0-py3-none-any.whl", "has_sig": false, "md5_digest": "2c56396a9c05fa6678134afc3486fb82", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5092, "upload_time": "2019-08-22T18:34:59", "url": "https://files.pythonhosted.org/packages/de/2d/98cfef039434a808b96ac9d4dc763134e715824b0411dd2eeb189f90fa0e/jupyterlab_heroku-0.2.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b9005f80bdf258bd8a3e4e83963d8e8a", "sha256": "829b1ca9fa999a9605c78d8f3c76a5fcbf3ed2fecca966290f57fbdcfffc26dc" }, "downloads": -1, "filename": "jupyterlab_heroku-0.2.0.tar.gz", "has_sig": false, "md5_digest": "b9005f80bdf258bd8a3e4e83963d8e8a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4401, "upload_time": "2019-08-22T18:35:01", "url": "https://files.pythonhosted.org/packages/d1/01/d0901178f759276786573fcca86bebb705bb20c91c91f68dc948658f6d7f/jupyterlab_heroku-0.2.0.tar.gz" } ] }