Skip to content

v0.1.2

Compare
Choose a tag to compare
@markpbaggett markpbaggett released this 06 Jan 01:49
d42a4cb

New Operations:

  • Find Unique Datastreams: You can get a list of unique datastreams that belong to a result set. See docs for more details.
  • Validate Checksums: You can validate checksums for a specific datastream or all datastreams in a result set. See docs for more details.

New Fedora Public Methods:

  • FedoraRequest.get_datastream(): This returns a sequence of tuples with the pid (as a string) and a sequence of datastreams (as TaintedStrings) that belong to it. You can specify whether you want the entire datastream profile or just the datastreams (as HTML only) and specify a date that you want to base the request on. While this method is public, it is not currently called from the executable.
  • FedoraRequest.validate_checksums(): See new operations for more details.
  • FedoraRequest.find_distinct_datastreams(): See new operations for more details.

Other:

  • Yaml config flag is now optional if you have a config/config.yml in the directory you call your executable from.
  • FedoraRecord.get() now returns the response body of an HTTP request as a string or an empty string rather than true or false. This is mostly to help FedoraRequest.get_datastream().
  • xmlhelper and parse_data()* has been added.