{ "info": { "author": "University of Chicago", "author_email": "dev@chameleoncloud.org", "bugtrack_url": null, "classifiers": [ "Intended Audience :: Developers", "Intended Audience :: Science/Research", "Intended Audience :: System Administrators", "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 3" ], "description": "# Jupyterlab-Zenodo\nA Zenodo extension for JupyterHub\n\n## Installation\n\nThis is part of a two-part extension: the lab extension (UI) and the server extension (which interfaces with Zenodo). In order to use this extension, both parts must be enabled. The following instructions should be run in your terminal.\n\nTo install the server extension:\n```bash\npip install jupyterlab_zenodo\n```\n\nTo enable the server extension:\n```bash\njupyter serverextension enable --py jupyterlab_zenodo\n```\n\nTo install the lab extension:\n```bash\njupyter labextension install @chameleoncloud/jupyterlab_zenodo\n```\n\n## Customization\nYou can add a series of (optional) custom features by adding lines to your `jupyter_notebook_config.py` file.\n\n1. [Create a default Zenodo access token](https://zenodo.org/account/settings/applications/tokens/new/) so that users don't need their own:\n\n```python\nc.ZenodoConfig.access_token = ''\n```\n\n2. Set up a post-upload redirect. By setting `` below, users will be redirected to that site with an added 'doi' query parameter when they successfully create a new Zenodo upload.\n\n```python\nc.ZenodoConfig.upload_redirect_url = ''\n```\n\n3. Set a default Zenodo community. The below will identify all depositions published with this extension with ``.\n\n```python\nc.ZenodoConfig.community = ''\n```\n\n4. Customize the internal storage database. Information about previous uploads to Zenodo on a user's server will be stored in `` in a sqlite database called ``. These default to `/work/.zenodo/` and `zenodo.db`, respectively.\n\n```python\nc.ZenodoConfig.database_location = ''\n```\n```python\nc.ZenodoConfig.database_name = ''\n```\n\n## Development\nTo work with the extension without publishing directly to Zenodo, use Zenodo sandbox.\nIndicate that you're in a development environment and provide a default sandbox token in `jupyter_notebook_config.py`:\n\n```python\nc.ZenodoConfig.dev = True\nc.ZenodoConfig.access_token = ''\n```\n\n## Testing\nThe server side of this extension comes with a set of integration tests. They can be used as follows:\n1. [Create a Zenodo sandbox access token](https://sandbox.zenodo.org/account/settings/applications/tokens/new/)\n2. Assign the value TEST_API_TOKEN in `jupyterlab_zenodo/test_init.py` to your access token (as a string)\n3. Run `make tests` from the root in your terminal", "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/chameleoncloud/jupyterlab-zenodo", "keywords": "jupyter,jupyterlab,openstack,zenodo", "license": "BSD", "maintainer": "", "maintainer_email": "", "name": "jupyterlab-zenodo", "package_url": "https://pypi.org/project/jupyterlab-zenodo/", "platform": "Linux", "project_url": "https://pypi.org/project/jupyterlab-zenodo/", "project_urls": { "Homepage": "https://github.com/chameleoncloud/jupyterlab-zenodo" }, "release_url": "https://pypi.org/project/jupyterlab-zenodo/0.1.3/", "requires_dist": null, "requires_python": "", "summary": "A Jupyter Notebook extension which enables uploading to Zenodo from JupyterLab", "version": "0.1.3" }, "last_serial": 5827810, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "3f1615fd035f42dc5aba2ce2e347dcd5", "sha256": "5673b74a2bdb371535cfdf6365dd4a46f8c5ece19cb380c4a70f1233bb368cf7" }, "downloads": -1, "filename": "jupyterlab_zenodo-0.0.1-py3.7.egg", "has_sig": false, "md5_digest": "3f1615fd035f42dc5aba2ce2e347dcd5", "packagetype": "bdist_egg", "python_version": "3.7", "requires_python": null, "size": 52334, "upload_time": "2019-08-19T15:34:27", "url": "https://files.pythonhosted.org/packages/24/85/345338921a48a85c3d2bf6ccb0e3d71882245842caee6e0122e7c566f36a/jupyterlab_zenodo-0.0.1-py3.7.egg" }, { "comment_text": "", "digests": { "md5": "587724365dff177015f86f99178b993b", "sha256": "3594735190a9945bd83d42cafa7b2ddc4175aa53140296d83f9194238a8a5838" }, "downloads": -1, "filename": "jupyterlab_zenodo-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "587724365dff177015f86f99178b993b", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 22475, "upload_time": "2019-08-19T15:34:25", "url": "https://files.pythonhosted.org/packages/20/78/c53e38ed9a8e8978242b7b9a81b8b6307a96c93d34b1ac470822f1148f5f/jupyterlab_zenodo-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "b7392f9bbe0103056f728352ac4ec9e2", "sha256": "0d79a6aabd99967c004d6021edcd0bc60dbd850165c997af2dd359def2072c5b" }, "downloads": -1, "filename": "jupyterlab_zenodo-0.0.1.tar.gz", "has_sig": false, "md5_digest": "b7392f9bbe0103056f728352ac4ec9e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15162, "upload_time": "2019-08-19T15:34:29", "url": "https://files.pythonhosted.org/packages/e1/96/c9060fe320520305a369e5224e94c3ee055757c9bea3a18a938f97660e94/jupyterlab_zenodo-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "1256d5534d9cb506b27ab88301481cc5", "sha256": "062acf7954f30525dd3b04ffee85e345f42228b0d7a7200beebd367a37ed267b" }, "downloads": -1, "filename": "jupyterlab_zenodo-0.0.2-py3.6.egg", "has_sig": false, "md5_digest": "1256d5534d9cb506b27ab88301481cc5", "packagetype": "bdist_egg", "python_version": "3.6", "requires_python": null, "size": 47515, "upload_time": "2019-08-19T20:30:48", "url": "https://files.pythonhosted.org/packages/a0/3a/6d07e8b5803cc9e1aedab65c82f287a2a455632125f86e90a0059f7eb9ba/jupyterlab_zenodo-0.0.2-py3.6.egg" }, { "comment_text": "", "digests": { "md5": "ecbc7cb7d3c21ee55dd043c80f2eca18", "sha256": "25c6696821e37d2a2c29fb11fb2830f3749b5dbe7ede0c0f72f9292163bef923" }, "downloads": -1, "filename": "jupyterlab_zenodo-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "ecbc7cb7d3c21ee55dd043c80f2eca18", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 20500, "upload_time": "2019-08-19T20:30:47", "url": "https://files.pythonhosted.org/packages/0a/1a/fb13cfda3fcedd502dd3592142a04ddacaf29bf92fe0719b24f3ca198d4d/jupyterlab_zenodo-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "3ea9a54bc672f550afc04dd902019b1a", "sha256": "5012145022375c7ff15ef95ae31c7384bcebec9e2df140aadbcab447314df6cb" }, "downloads": -1, "filename": "jupyterlab_zenodo-0.0.2.tar.gz", "has_sig": false, "md5_digest": "3ea9a54bc672f550afc04dd902019b1a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 14312, "upload_time": "2019-08-19T20:30:49", "url": "https://files.pythonhosted.org/packages/89/a5/56bbc1f4d16f32e6be715380d27e7845421234d74ded4a903f4c5c527861/jupyterlab_zenodo-0.0.2.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "561df3bb4b2bd8fe25a2ffe61a9f4eff", "sha256": "c616bfe24346d2cf082834ed4e9b84547dcec124335b953c3c5ee3b2179f5838" }, "downloads": -1, "filename": "jupyterlab_zenodo-0.1.2.tar.gz", "has_sig": false, "md5_digest": "561df3bb4b2bd8fe25a2ffe61a9f4eff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15420, "upload_time": "2019-09-13T21:02:11", "url": "https://files.pythonhosted.org/packages/cc/70/eb06cd3ae0299f453c930c0d7c67bd6b46358486355825e7436aa9cd9838/jupyterlab_zenodo-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "6445b26b9645d296df79a324863880cd", "sha256": "dbac24ab68f9b2da987a07df6cb9e76c1d945019665927d26c940068a5666054" }, "downloads": -1, "filename": "jupyterlab_zenodo-0.1.3.tar.gz", "has_sig": false, "md5_digest": "6445b26b9645d296df79a324863880cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15415, "upload_time": "2019-09-13T21:13:10", "url": "https://files.pythonhosted.org/packages/4b/3a/8dc0bdfc77b352dc3e96474ebd56f2b423fc661265f6fe90d319608eea93/jupyterlab_zenodo-0.1.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "6445b26b9645d296df79a324863880cd", "sha256": "dbac24ab68f9b2da987a07df6cb9e76c1d945019665927d26c940068a5666054" }, "downloads": -1, "filename": "jupyterlab_zenodo-0.1.3.tar.gz", "has_sig": false, "md5_digest": "6445b26b9645d296df79a324863880cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 15415, "upload_time": "2019-09-13T21:13:10", "url": "https://files.pythonhosted.org/packages/4b/3a/8dc0bdfc77b352dc3e96474ebd56f2b423fc661265f6fe90d319608eea93/jupyterlab_zenodo-0.1.3.tar.gz" } ] }