{ "info": { "author": "Thomas E Morrell", "author_email": "tmorrell@caltech.edu", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: BSD License", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.7", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy" ], "description": "\n# caltechdata_api\n\n[![DOI](https://data.caltech.edu/badge/87960443.svg)](https://data.caltech.edu/badge/latestdoi/87960443)\n\nPython library for using the CaltechDATA API\n\n- caltechdata_write write files and a DataCite 4 standard json record to CaltechDATA repository\n- caltechdata_edit edits records in CaltechDATA\n- get_metadata gets metadata from CaltechDATA records\n\nRequires Python 3 (Recommended via Anaconda https://www.anaconda.com/download) with reqests library.\n\n## Examples\n\nThere are some example python scripts in the GitHub repository.\n\nCreate a record:\n\n```shell\npython example.py example.json -fnames logo.gif\nSuccessfully created record https://cd-sandbox.tind.io/records/352. \n```\n\nEdit a record (make changes to the example.json file to see a change)\n```\npython edit.py example.json -ids 352 -fnames logo.gif\nSuccessfully modified record https://cd-sandbox.tind.io/records/352\n```\n\n## Setup \n\nInstall by typing 'pip install caltechdata_api'\n\n## Usage\n\nWrite API access is controlled by repository staff. Email us at data@caltech.edu \nwith your request if you want to use the write API.\n\nYou need to acquire a personal access token from your CaltechDATA account\n(find it at the top right of your screen under \"Applications\").\nMake sure you include the \"deposit_api:write\" and \"file_manager:upload\"\nscopes. Then copy the token to token.bash. Type source token.bash in \nthe command line to load the token. \n\nOnly test your application on the test repository. Testing the API on the public \nrepository will generate junk records that are annoying to delete.\n\n## TODO\n\nHandle incorrect token on file upload\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/caltechlibrary/caltechdata_api", "keywords": "", "license": "https://data.caltech.edu/license", "maintainer": "", "maintainer_email": "", "name": "caltechdata-api", "package_url": "https://pypi.org/project/caltechdata-api/", "platform": "", "project_url": "https://pypi.org/project/caltechdata-api/", "project_urls": { "Homepage": "https://github.com/caltechlibrary/caltechdata_api" }, "release_url": "https://pypi.org/project/caltechdata-api/0.1.4/", "requires_dist": [ "requests", "datacite" ], "requires_python": ">=3.7.0", "summary": "Python wrapper for CaltechDATA API.", "version": "0.1.4" }, "last_serial": 5793431, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "61e870bd60d8228033731e5d6c501f3e", "sha256": "2b2db84b0d6fd390e4f20c38b667f7816a2be050f896205d24f672c98f5fbc1c" }, "downloads": -1, "filename": "caltechdata_api-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "61e870bd60d8228033731e5d6c501f3e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.7.0", "size": 11679, "upload_time": "2018-11-29T21:01:27", "url": "https://files.pythonhosted.org/packages/ea/0f/501351713656450485d7e3ae2e268c219328c42f8d3ffd7827973eee0507/caltechdata_api-0.1.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "33fb0185e6cd0e5ffe5805c322b9c398", "sha256": "115e812369767c7130444253ec6dc8150445464355842dfd82c32b7f94c17f29" }, "downloads": -1, "filename": "caltechdata_api-0.1.0.tar.gz", "has_sig": false, "md5_digest": "33fb0185e6cd0e5ffe5805c322b9c398", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7.0", "size": 10036, "upload_time": "2018-11-29T21:01:29", "url": "https://files.pythonhosted.org/packages/28/5e/27cff93699bb98f646a0280b09c2cc4f21cabe84dfc0b304ef1fbb62adf1/caltechdata_api-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "55a166aa3fa7150a4a35ffc34dea2cad", "sha256": "37adfe84a1dca69bafa27e4bc3991e11320f81d87000be6fa4e36e4530a1a59f" }, "downloads": -1, "filename": "caltechdata_api-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "55a166aa3fa7150a4a35ffc34dea2cad", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": ">=3.7.0", "size": 13088, "upload_time": "2019-04-29T19:45:35", "url": "https://files.pythonhosted.org/packages/4f/09/b7fc3636ac5e3dbef682caa94fcb8fe66a1be4d552f8c5a7a0aa81ae7778/caltechdata_api-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "240239493c43b9faefe79d001348b738", "sha256": "476ac9b06627d08707cfab7d911dc66b4a5db6131e47d5c5ca08fbc87c7c3a92" }, "downloads": -1, "filename": "caltechdata_api-0.1.1-py3-none-any.whl", "has_sig": false, "md5_digest": "240239493c43b9faefe79d001348b738", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7.0", "size": 13082, "upload_time": "2019-04-29T19:46:31", "url": "https://files.pythonhosted.org/packages/3a/3b/d4a272c2e0d37b18a79203a86731a752c22f7baa9d8151ab529f6faebd7c/caltechdata_api-0.1.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "41e5accc91d41ee0cca45410da6ce9f4", "sha256": "47c711668aa3b0affc7c5c254ff865761d29586276ebaf44e2f1ab1ba0d42620" }, "downloads": -1, "filename": "caltechdata_api-0.1.1.tar.gz", "has_sig": false, "md5_digest": "41e5accc91d41ee0cca45410da6ce9f4", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7.0", "size": 10692, "upload_time": "2019-04-29T19:45:40", "url": "https://files.pythonhosted.org/packages/07/2f/85dabb29b8514660406023a58ea24f0b2c79bc20ca6d4e9bf056fe289b4d/caltechdata_api-0.1.1.tar.gz" } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "74fb68336353cfc76aab7f3f407c4ec3", "sha256": "ff1b0dd6d15786f7176f02e099948f05fdc77da503d3d568f8582bca14d3ad95" }, "downloads": -1, "filename": "caltechdata_api-0.1.2-py3-none-any.whl", "has_sig": false, "md5_digest": "74fb68336353cfc76aab7f3f407c4ec3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7.0", "size": 13119, "upload_time": "2019-05-17T22:11:00", "url": "https://files.pythonhosted.org/packages/13/58/d4c82235240aab770046abb3c4fcdb64be4961e0eb3495a438c6dbb1bc94/caltechdata_api-0.1.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2153f9202a7bb2c6633a18e4f0398583", "sha256": "469d4f57fc70af9155d5f36857b73b6f8ab830bc0e142742913b3b0a30fbb3ed" }, "downloads": -1, "filename": "caltechdata_api-0.1.2.tar.gz", "has_sig": false, "md5_digest": "2153f9202a7bb2c6633a18e4f0398583", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7.0", "size": 10696, "upload_time": "2019-05-17T22:11:01", "url": "https://files.pythonhosted.org/packages/9b/29/a7468410bf1632dc7cdf02e90c0b915a2788074d4ffd18df820401305b3d/caltechdata_api-0.1.2.tar.gz" } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "fea63511b0b1ce1b3bf3526544cb63c5", "sha256": "a9764cf5a43bc674b43a0d288b705d9f38363fe72c3a5cc9c51404250c44555b" }, "downloads": -1, "filename": "caltechdata_api-0.1.3-py3-none-any.whl", "has_sig": false, "md5_digest": "fea63511b0b1ce1b3bf3526544cb63c5", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7.0", "size": 13134, "upload_time": "2019-07-02T20:58:28", "url": "https://files.pythonhosted.org/packages/b6/85/632367caa44517357345fcd1acb2c6fc1b365f5116e0cc2fb2a78c52a722/caltechdata_api-0.1.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "e03919ba23d9b4c10790f802be69bcfb", "sha256": "8498db874342e1021168a0388257ee07af948ef3acf3d07d8db6ef5d429825f5" }, "downloads": -1, "filename": "caltechdata_api-0.1.3.tar.gz", "has_sig": false, "md5_digest": "e03919ba23d9b4c10790f802be69bcfb", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7.0", "size": 10727, "upload_time": "2019-07-02T20:58:29", "url": "https://files.pythonhosted.org/packages/8c/68/8cd2ecdfac91389c83eb33f1f89072532feed9e9e4caaf7267505b6f380a/caltechdata_api-0.1.3.tar.gz" } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "e36a5ad161ff69da575ad03ea2f2feff", "sha256": "dfb4e0be68a287d64e642b0077dca5bb7918c98d5388059f8494d38d939cfd9a" }, "downloads": -1, "filename": "caltechdata_api-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "e36a5ad161ff69da575ad03ea2f2feff", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7.0", "size": 12970, "upload_time": "2019-09-06T18:30:49", "url": "https://files.pythonhosted.org/packages/11/a4/bf920517f64bf5f8055add80614d7041b9eb205081763a3b5747b41c0897/caltechdata_api-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "01a3a87a28d37acae9105d9c3fba1f35", "sha256": "d0424108da388fd71621b6a984964a0702058558953295a2298c8791c293f6e2" }, "downloads": -1, "filename": "caltechdata_api-0.1.4.tar.gz", "has_sig": false, "md5_digest": "01a3a87a28d37acae9105d9c3fba1f35", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7.0", "size": 10506, "upload_time": "2019-09-06T18:30:51", "url": "https://files.pythonhosted.org/packages/23/a6/4936ace480cea7bb20c615b1f34b2b8783706b21de7c9a6acced39d54e9e/caltechdata_api-0.1.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e36a5ad161ff69da575ad03ea2f2feff", "sha256": "dfb4e0be68a287d64e642b0077dca5bb7918c98d5388059f8494d38d939cfd9a" }, "downloads": -1, "filename": "caltechdata_api-0.1.4-py3-none-any.whl", "has_sig": false, "md5_digest": "e36a5ad161ff69da575ad03ea2f2feff", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": ">=3.7.0", "size": 12970, "upload_time": "2019-09-06T18:30:49", "url": "https://files.pythonhosted.org/packages/11/a4/bf920517f64bf5f8055add80614d7041b9eb205081763a3b5747b41c0897/caltechdata_api-0.1.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "01a3a87a28d37acae9105d9c3fba1f35", "sha256": "d0424108da388fd71621b6a984964a0702058558953295a2298c8791c293f6e2" }, "downloads": -1, "filename": "caltechdata_api-0.1.4.tar.gz", "has_sig": false, "md5_digest": "01a3a87a28d37acae9105d9c3fba1f35", "packagetype": "sdist", "python_version": "source", "requires_python": ">=3.7.0", "size": 10506, "upload_time": "2019-09-06T18:30:51", "url": "https://files.pythonhosted.org/packages/23/a6/4936ace480cea7bb20c615b1f34b2b8783706b21de7c9a6acced39d54e9e/caltechdata_api-0.1.4.tar.gz" } ] }