Recent Releases of caltechdata-api

caltechdata-api - Improved description handling and more ROR v2

This release improves description handling, including html support using get_metadata and external file descriptions. It also fixes another ROR v2 bug in the cli.

- Python
Published by tmorrell 7 months ago

caltechdata-api - Bug fix for ROR v2

This is a bug fix release to make our function call match the new ROR v2 path

- Python
Published by tmorrell 7 months ago

caltechdata-api - v1.10.1 - Added documentation and expanded cli options

What's Changed

  • CLI Documentation for Users by @Kshemaahna in https://github.com/caltechlibrary/caltechdata_api/pull/66
  • Expanded CLI file options by @Kshemaahna and @tmorrell

New Contributors

  • @Kshemaahna made their first contribution in https://github.com/caltechlibrary/caltechdata_api/pull/66

Full Changelog: https://github.com/caltechlibrary/caltechdata_api/compare/v1.10.0...v1.10.1

- Python
Published by tmorrell 8 months ago

caltechdata-api - v1.10.0

Automated testing

  • Repository now has a full suite of automated tests
  • Outdated datacite43 files replaced with files from the current version of CaltechDATA.

Code changes

  • Migrated the repository to use a modern pyproject.toml and setup.cfg setup.
  • Incorporated a workflow to update setup.cfg automatically when codemeta.json changes, via the codemeta2cff.yml GitHub Action.
  • return_id option added to caltechdataedit, which matched the behavior of `caltechdatawrite` by returning the record id

CLI improvements

  • Support for a profile file with saved orcid and funding data
  • Better orcid support
  • Bug fixes

Bug fixes

  • Many improvements to the validate function

  • Automated tests added by @RohanBhattaraiNP and @tmorrell.

  • Example jupyter notebook provided by @AbakahAlexander

Full Changelog: https://github.com/caltechlibrary/caltechdata_api/compare/v1.9.1...v1.10.0

- Python
Published by tmorrell 12 months ago

caltechdata-api - Bug fix for validation

This release fixes a bug where the validation was too strict and unnecessarily required the identifiers field.

- Python
Published by tmorrell over 1 year ago

caltechdata-api - Bug fix for custom DOIs and new tests

This release includes new tests for caltechdata_api and improvements to the build in validation. It also fixes a bug that impacted passing custom DOIs.

- Python
Published by tmorrell over 1 year ago

caltechdata-api - Add CaltechAUTHORS support to get_metadata

This release adds CaltechAUTHORS support to get_metadata, as well as the edit.py example. It also includes better token behavior and updated release workflows.

- Python
Published by tmorrell over 1 year ago

caltechdata-api - Bug fix release

This release fixes some bugs with the validation and cli tool.

Full Changelog: https://github.com/caltechlibrary/caltechdata_api/compare/v1.8.0...v1.8.1

- Python
Published by tmorrell over 1 year ago

caltechdata-api - Addition of test mode and initial medata validation

This release adds a -test flag to the cli, and adds some new metadata validation checks.

Full Changelog: https://github.com/caltechlibrary/caltechdata_api/compare/v1.7.1...v1.8.0

- Python
Published by tmorrell over 1 year ago

caltechdata-api - Bug fix release

This release fixes a bug in the cli token handling. It also corrects how caltechdata_edit treats new version records with custom DOIs.

- Python
Published by tmorrell over 1 year ago

caltechdata-api - First release of CaltechDATA CLI

This release makes a new command line interface (CLI) available for CaltechDATA. It allows you to create and edit records in CaltechDATA using the API entirely from the command line. You can create metadata entirely on the command line, or utilize a README template https://github.com/caltechlibrary/caltechdataapi/blob/main/templates/README.md, or use the previously supported json file https://github.com/caltechlibrary/caltechdataapi/blob/main/example.json.

As we bring online new storage options online for Caltech, the CLI will be updated and enhanced.

- Python
Published by tmorrell over 1 year ago

caltechdata-api - CLI preview improvements

This release includes a number of cli preview performance improvements, including switching to s3md for large uploads with additional automation. It also includes better token handling, support for multiple file uploads, and multiple values in README.md.

Includes improvements by @RohanBhattaraiNP and @elizabethjhwon

Full Changelog: https://github.com/caltechlibrary/caltechdata_api/compare/v1.6.0...v1.6.1

- Python
Published by tmorrell almost 2 years ago

caltechdata-api - CLI Preview

This release includes a preview of the CaltechDATA cli tool. It is currently set up to work only with the test version of CaltechDATA, and may change functionality before we bring it into production.

New Contributors

  • @RohanBhattaraiNP and @elizabethjhwon contributed to the cli development

Full Changelog: https://github.com/caltechlibrary/caltechdata_api/compare/v1.5.0...v1.6.0

- Python
Published by tmorrell almost 2 years ago

caltechdata-api - Full authors workflow and caltechdata bug fixes

This release includes a full workflow for modifying records in CaltechAUTHORS and some small improvements to the CaltechDATA workflow, including support for getting metadata with a token.

Full Changelog: https://github.com/caltechlibrary/caltechdata_api/compare/v1.4.5...v1.5.0

- Python
Published by tmorrell over 2 years ago

caltechdata-api - Bug for for CaltechAUTHORS

Small bug fix for CaltechAUTHORS publication

- Python
Published by tmorrell over 2 years ago

caltechdata-api - Improvements to version handling

Fixes some bugs when new files are added without metadata changes and improved handling of persistent identifiers.

- Python
Published by tmorrell over 2 years ago

caltechdata-api - caltechdata_edit bug fix

This release fixes a bug in caltechdata_edit, which impacted records without external files.

- Python
Published by tmorrell over 2 years ago

caltechdata-api - Community bug fix

This release includes a bug fix for community record submissions.

- Python
Published by tmorrell over 2 years ago

caltechdata-api - New record creation and editing options

This release adds new options to caltechdata_api:

  • default_preview is the file that will show up in the CaltechDATA file preview pane
  • file_descriptions is an array of text that is associated with external file links
  • s3_link is the parent download link for external file links (listed at the top of the external files block)

This release fixes a bug with duplicate filenames, supports passing embargo settings, and allows users to provide custom 'updated' dates. The new custom external files description type is also supported.

get_files is fixed to work with the current version of CaltechDATA.

An example automated data transfer script process_tomograms.py is included.

Full Changelog: https://github.com/caltechlibrary/caltechdata_api/compare/v1.3.0...v1.4.0

- Python
Published by tmorrell almost 3 years ago

caltechdata-api - Added author support

What's Changed

  • Add in initial support for the InvenioRDM version of caltechAUTHORS by @tmorrell in https://github.com/caltechlibrary/caltechdata_api/pull/18. This package will likely have a name change in the future to indicate that it works with multiple Caltech repositories.
  • Fix bugs in handling of OSN linked files.
  • Add missing requirement s3fs by @mhucka in https://github.com/caltechlibrary/caltechdata_api/pull/16

Full Changelog: https://github.com/caltechlibrary/caltechdata_api/compare/v1.2.1...v1.3.0

- Python
Published by tmorrell almost 3 years ago

caltechdata-api - Bug fixes for metadata handling

This release fixes some bugs in metadata handling, including errors that happened when a publication date or person name wasn't set.

- Python
Published by tmorrell about 3 years ago

caltechdata-api - Improving caltechdata_edit on draft records

This release makes a few improvements to how the caltechdata_edit function works on draft records, including better support for editing and managing files attached to a draft record.

- Python
Published by tmorrell about 3 years ago

caltechdata-api - Small bug fix on identifiers and sizes

This release includes a small bug fix on identifiers and improves size handling for attached files.

- Python
Published by tmorrell about 3 years ago

caltechdata-api - Fix DOI and Identifier handling

This release fixes some issues with DOI and other identifier handling.

The caltechdata_edit function was changed so it accepts just one id at a time. This is the more likely use case and makes metadata checks easier.

This release improves metadata handling, add some example metadata files, and updates documentation.

Full Changelog: https://github.com/caltechlibrary/caltechdata_api/compare/v1.0.0...v1.1.0

- Python
Published by tmorrell over 3 years ago

caltechdata-api - caltechdata_api for InvenioRDM

This release of caltechdata_api is the first designed to work with InvenioRDM and the current version of CaltechDATA. The interface is generally the same, but has been enhanced to support the new features in InvenioRDM such as draft records. Code that supported the TIND version of CaltechDATA is no longer needed and has been removed.

Full Changelog: https://github.com/caltechlibrary/caltechdata_api/compare/v0.3.0...v1.0.0

- Python
Published by tmorrell over 3 years ago

caltechdata-api - Fix file handling on edit

This release fixes file handling on edit to correctly remove duplicate files. It also adds better options to edit.py to be able to delete files.

- Python
Published by tmorrell over 4 years ago

caltechdata-api - get_files

This release adds get_files, which is a simple export of files attached to a record.

- Python
Published by tmorrell over 4 years ago

caltechdata-api - Add better metadata options and bug fix

This release reorganizes the get_metadata function to add a validate option to enable skipping validation and removes an unused password option. It also fixes an issue that impacted records with multiple rights statements.

- Python
Published by tmorrell over 4 years ago

caltechdata-api - Allow Python 3.6

Have tested and relaxed requirements to allow Python 3.6. Also adds automation to generate a CITATION.cff file.

- Python
Published by tmorrell over 4 years ago

caltechdata-api - Bug fix and 4.3 example metadata

Fix bugs in 4.3 schema customization and provide an example metadata file.

- Python
Published by tmorrell almost 5 years ago

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.

- Python
Published by tmorrell almost 5 years ago

caltechdata-api - 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.

- Python
Published by tmorrell almost 5 years ago

caltechdata-api - 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.

- Python
Published by tmorrell almost 5 years ago

caltechdata-api - 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.

- Python
Published by tmorrell over 5 years ago

caltechdata-api - Geo export and response behavior

This release includes getgeo.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 caltechdataedit to return a status like the other methods.

- Python
Published by tmorrell over 6 years ago

caltechdata-api - 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.

- Python
Published by tmorrell over 6 years ago

caltechdata-api - 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.

- Python
Published by tmorrell over 6 years ago

caltechdata-api - 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.

- Python
Published by tmorrell almost 7 years ago

caltechdata-api - 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.

- Python
Published by tmorrell almost 7 years ago

caltechdata-api - CaltechDATA metadata option improvements

More options for returning metadata from CaltechDATA, including locations of files and the internal ID numbers. Additional usage examples.

- Python
Published by tmorrell over 7 years ago

caltechdata-api - Metadata handling and email passing

Improvements to metadata handling, error messages, and a new option to pass contributor emails. Contributor emails are not part of the DataCite spec, but this allows records to be transferred from CaltechDATA without losing this information.

- Python
Published by tmorrell over 7 years ago

caltechdata-api - Metadata handling and error improvements

Modifications to improve metadata handling and error reporting.

- Python
Published by tmorrell over 7 years ago

caltechdata-api - Preservation and metadata improvement release

New release for preservation in CaltechDATA. Also some documentation and geolocation improvements.

- Python
Published by tmorrell about 8 years ago

caltechdata-api - Small improvements to get_metadata

Small improvements to make get_metadata more flexible

- Python
Published by tmorrell over 8 years ago

caltechdata-api - New name and get_metadata function

caltechdatawrite is now caltechdataapi to signify that it now has more than a write function. getmetadata has also moved from caltechdatamigrate to be part of the standard API library. There are also a few modifications to work with the improved TIND metadata scheme.

This is a re-release for CaltechDATA preservation

- Python
Published by tmorrell over 8 years ago

caltechdata-api - New name and get_metadata function

caltechdatawrite is now caltechdataapi to signify that it now has more than a write function. getmetadata has also moved from caltechdatamigrate to be part of the standard API library. There are also a few modifications to work with the improved TIND metadata scheme.

- Python
Published by tmorrell over 8 years ago

caltechdata-api - Initial production release of caltechdata_write

First release of library to write and edit records in CaltechDATA. b version re-release to trigger harvesting in CaltechDATA

- Python
Published by tmorrell over 8 years ago

caltechdata-api - Initial production release

First release of library to write and edit records in CaltechDATA

- Python
Published by tmorrell over 8 years ago