Releases: caltechlibrary/caltechdata_api
Progressbar fix
This release makes the progressbar in the download_file function so it works bteere across command line and jupyter notebook environments.
Download_url function, standard datacite release
This release adds a download_url function, which easily returns the download url from the DataCite media API. Since the new version datacite python library has been released, this release will also install the correct dependencies.
download_file function, formatting and example
This release includes a new download_file function that uses the DataCite media API, a bug fix to support "4" and "40" as a schema name, black formatting throughout the code, and a new example jupyter notebook.
DataCite 4.3 Support
This release brings the ability to have multiple DataCite metadata schemas, and adds support for the new 4.3 schema. It also includes an unembargo function.
Geo export and response behavior
This release includes get_geo.py, which returns CaltechDATA geographic metadata in a WKT csv representation for importing into a GIS program like QGIS. It also removes print statements and modifies caltechdata_edit to return a status like the other methods.
Alternate identifier fix and general cleanup
This release adds a check so that multiple alternate identifiers don't get added during the decustomization process and fixes a bug with the record ownership option. It also cleans up some unused authentication options and applies black code formatting to the package.
Bug fix and owner argument option
This release includes an option to pass the record owner and fixes a bug that impacted directly running get_metadata.
Switching default date from Submitted to Issued, new DOI update example
This release switches how the default TIND date is mapped (previously "Submitted" and now "Issued") and pulls the publication year from the Issued date. It also includes an example script for updating dates based on info from DataCite. The get_metadata function adds an option to pass back contributor emails, even though this isn't part of the DataCite schema.
Reduce logging, update dates, and adjust write API
This release reduces the number of print log statements. It standardizes how dates are returned (relying on the DataCite dates more and minimizing the TIND specific metadata) and makes a small adjustment to the write API to match changes from TIND. There are also a couple more example scripts.
CaltechDATA metadata option improvements
More options for returning metadata from CaltechDATA, including locations of files and the internal ID numbers. Additional usage examples.