imagevalidate

class uiucprescon.imagevalidate.Profile(validation_profile: uiucprescon.imagevalidate.profiles.absProfile.AbsProfile)

Profile loader for validating embedded metadata in image files

uiucprescon.imagevalidate.get_profile(name: str) → uiucprescon.imagevalidate.profiles.absProfile.AbsProfile

Locate a profile based on the name of the class

Profiles

class uiucprescon.imagevalidate.profiles.hathi_jp2000.HathiJP2000

Profile for validating .jp2 files for HathiTrust

class uiucprescon.imagevalidate.profiles.hathi_tiff.HathiTiff

Profile for validating Tiff files for HathiTrust

Profile Base Class

class uiucprescon.imagevalidate.profiles.AbsProfile

Base class for metadata validation. Implement the validate method when creating new profile

validate(file: str) → uiucprescon.imagevalidate.report.Report

Validate a file

Parameters:file – file path to the file to be validate
Returns:Returns a report object