All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Add linked metadata to structural maps and digital objects automatically
- Add
bundle_metadata
method toStructuralMapDiv
which will move shared metadata entries to the structural map div from child digital objects and structural map divs recursively. - Add
ImportedMetadata.from_path
andImportedMetadata.from_string
to automatically detect external XML metadata and create a correspondingImportedMetadata
instance.
Rename MetadataBase class to Metadata
Make Metadata an abstract base class
Rename various class attributes -
DigitalObject
sip_filepath
topath
DigitalProvenanceAgentMetadata
-agent_note
tonote
-agent_version
toversion
-agent_name
toname
DigitalProvenanceEventMetadata
-event_datetime
todatetime
-event_outcome
tooutcome
-event_outcome_detail
tooutcome_detail
-event_detail
todetail
Make several functions take an iterable as an argument instead of a single object. Rename functions to reflect this. -
DigitalObject.add_metadata
andStructuralMapDiv.add_metadata
methods take an iterable containing metadata objects as an argument instead of a single metadata object -DigitalObject.add_stream
toDigitalObject.add_streams
-FileGroup.add_digital_object
toFileGroup.add_digital_objects
-FileReferences.add_file_group
toFileReferences.add_file_groups
-METS.add_structural_map
toMETS.add_structural_maps
- Creation of automatic PREMIS events when adding imported metadata to structural map. This functionality is moved over to
siptool-ng
. from_directory_structure
method fromStructureMap
class. This functionality is moved over tosiptool-ng
.
- Identical digital provenance event metadata entries will automatically be deduplicated in the generated METS if possible
- Pre-generated events and agents use UUIDs instead of hardcoded identifiers
- Class
TechnicalAudioMetadata
for creating technical audio metadata in AudioMD standard - Class
TechnicalVideoMetadata
for creating technical video metadata in VideoMD standard - Class
TechnicalCSVMetadata
for creating technical CSV metadata in ADDML standard - Classes
TechnicalFileObjectMetadata
andTechnicalBitstreamObjectMetadata
for representing file and bitstream technical metadata respectively using PREMIS objects - Identical technical media metadata entries will automatically be deduplicated in the generated METS if possible
- Method
StructuralMap.from_directory_structure
to generate structural map from the directory structure of given digital objects - Method
DigitalProvenanceAgentMetadata.get_mets_builder_agent
for creating agent metadata fordpres-mets-builder
- Removed empty DMDID attributes from structMap divs in the serialized METS
NAMESPACES
constant inserialize
module was made public- Updated to meet specifications version 1.7.6
- RHEL9 compatible RPM spec file
- First public release