{ "info": { "author": "Michael Hirsch; Tom Klaver", "author_email": "scivision@users.noreply.github.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Environment :: Console", "Intended Audience :: Developers", "Operating System :: OS Independent", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: 3.8", "Topic :: Scientific/Engineering", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "[![DOI](https://zenodo.org/badge/138543765.svg)](https://zenodo.org/badge/latestdoi/138543765)\n\n[![Travis-CI Build Status](https://travis-ci.com/scivision/pyzenodo3.svg?branch=master)](https://travis-ci.com/scivision/pyzenodo3)\n[![Coverage Status](https://coveralls.io/repos/github/scivision/pyzenodo3/badge.svg?branch=master)](https://coveralls.io/github/scivision/pyzenodo3?branch=master)\n[![AppVeyor Build status](https://ci.appveyor.com/api/projects/status/dthxw7mc0sw0suee?svg=true)](https://ci.appveyor.com/project/scivision/pyzenodo3)\n[![pypi versions](https://img.shields.io/pypi/pyversions/pyzenodo3.svg)](https://pypi.python.org/pypi/pyzenodo3)\n[![PyPi Download stats](http://pepy.tech/badge/pyzenodo3)](http://pepy.tech/project/pyzenodo3)\n\n# PyZenodo\n\nPure Python wrapper for [Zenodo REST API](http://developers.zenodo.org/).\n\nAllows upload / download of data from Zenodo.\n\n\n## Install\n\n python -m pip install pyzenodo3\n\nLatest development\n\n pip install -e .\n\n## Usage\n\nHere are several examples of using Zenodo from Python 3.\nAll of them assume you have first:\n\n```python\nimport pyzenodo3\n\nzen = pyzenodo3.Zenodo()\n```\n\n### Upload file to Zenodo\n\n0. Get a Zenodo `deposit:write` [API Token](https://zenodo.org/account/settings/applications/tokens/new/).\n This token must remain private, NOT uploaded to GitHub, etc.!\n1. create a simple text file `mymeta.ini` containing title, author etc. (see the example `meta.ini` in this repo)\n2. upload file to Zenodo (myApiToken is the cut-n-pasted Zenodo API text token)\n\n ```sh\n ./upload_zenodo.py myApiToken mymeta.ini myfile.zip\n ```\n\n\n### Find Zenodo record by Github repo\n\n```python\nRec = zen.find_record__by_github_repo('scivision/lowtran')\n```\nThis Zenodo Record contains the metadata that can be further manipulated in a simple class containing the data in dictionaries, with a few future helper methods.\n\n### Find Zenodo records by Github username\n\n```python\nRecs = zen.search('scivision')\n```\nRecs is a `list` of Zenodo Records for the GitHub username queried, as in the example above.\n\n\n## Notes\n\n* We don't use `deposit:publish` API token to keep a human-in-the-loop in case of hacking of sensor nodes.", "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/scivision/pyzenodo3", "keywords": "zenodo,open data", "license": "", "maintainer": "", "maintainer_email": "", "name": "pyzenodo3", "package_url": "https://pypi.org/project/pyzenodo3/", "platform": "", "project_url": "https://pypi.org/project/pyzenodo3/", "project_urls": { "Homepage": "https://github.com/scivision/pyzenodo3" }, "release_url": "https://pypi.org/project/pyzenodo3/1.0.0/", "requires_dist": null, "requires_python": ">= 3.6", "summary": "Pure Python 3 wrapper for the Zenodo REST API", "version": "1.0.0" }, "last_serial": 5363327, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "fcfb778c095b9fdbf05892c1c95b61d1", "sha256": "09b61de5c310f285d9ee90239afd3d24a2f39f5ecf77b69b34e29b37c405755e" }, "downloads": -1, "filename": "pyzenodo3-0.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "fcfb778c095b9fdbf05892c1c95b61d1", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 7725, "upload_time": "2018-06-25T16:26:28", "url": "https://files.pythonhosted.org/packages/53/b6/900445c9fa25086c17caebc3b25d9f2914fcde3fdfc6f158b49851c106ef/pyzenodo3-0.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "13ed352325b7ee1a5eb5ac200ea8d8c6", "sha256": "5702c3fda4b4dcf24ea9f41660de2894bdab296ca5c81bafe1860e336fc0d7b2" }, "downloads": -1, "filename": "pyzenodo3-0.1.0.tar.gz", "has_sig": false, "md5_digest": "13ed352325b7ee1a5eb5ac200ea8d8c6", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 3477, "upload_time": "2018-06-25T16:26:29", "url": "https://files.pythonhosted.org/packages/9c/16/03c428ec08413b73a812f1e1b2aab47844f11a0b46582b9f3a24b3abf84d/pyzenodo3-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "5adb0b5c6d0ab482f1fed6a0ee19f0ae", "sha256": "9f62c5327c0e660b0137a8f107fda58727787ef2b84a04713f0f5d2891b9a12e" }, "downloads": -1, "filename": "pyzenodo3-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "5adb0b5c6d0ab482f1fed6a0ee19f0ae", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.6", "size": 9674, "upload_time": "2018-06-26T11:52:33", "url": "https://files.pythonhosted.org/packages/c0/a3/c440a7e25dbcee26a34344f17d4b52432eda0b8e0d0f7060abfe0953a57d/pyzenodo3-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "d694715a8fd06887ec1162087ff07e47", "sha256": "dedc7aedc011b9d999ceef31c5442799fa526707a8796c7633f9a3610f0c5450" }, "downloads": -1, "filename": "pyzenodo3-0.1.1.tar.gz", "has_sig": false, "md5_digest": "d694715a8fd06887ec1162087ff07e47", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.6", "size": 5162, "upload_time": "2018-06-26T11:52:34", "url": "https://files.pythonhosted.org/packages/6c/1b/fa8e19acd3d08d9277ae878b8e8b7078f2ce99a227ecf84381867d3ab2e4/pyzenodo3-0.1.1.tar.gz" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "fd6e7e1819cbc7faee80a2e667d77447", "sha256": "0a045974dd373089df2d3919398e81e9169b4eaa55401c65f1aba0fc87b1ad38" }, "downloads": -1, "filename": "pyzenodo3-1.0.0.tar.gz", "has_sig": false, "md5_digest": "fd6e7e1819cbc7faee80a2e667d77447", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.6", "size": 5728, "upload_time": "2019-06-05T16:49:24", "url": "https://files.pythonhosted.org/packages/93/89/22b7749ceb165ec529f7565ea6efc24f833e2db48a371741d30cbf0fd23e/pyzenodo3-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "fd6e7e1819cbc7faee80a2e667d77447", "sha256": "0a045974dd373089df2d3919398e81e9169b4eaa55401c65f1aba0fc87b1ad38" }, "downloads": -1, "filename": "pyzenodo3-1.0.0.tar.gz", "has_sig": false, "md5_digest": "fd6e7e1819cbc7faee80a2e667d77447", "packagetype": "sdist", "python_version": "source", "requires_python": ">= 3.6", "size": 5728, "upload_time": "2019-06-05T16:49:24", "url": "https://files.pythonhosted.org/packages/93/89/22b7749ceb165ec529f7565ea6efc24f833e2db48a371741d30cbf0fd23e/pyzenodo3-1.0.0.tar.gz" } ] }