No project description provided
Project description
UTK Exodus :flight_departure:
About
This application is a complete rewrite of the code used to migrate UTK content from Islandora 7 to Hyku.
Unlike the previous code, this aims to be more flexible, easier to understand, and easier to use as a whole.
Understanding Configs
Exodus uses yml
files for migration. By default, exodus treats everything agnostically and relies on the xpaths
section of the base mapping to determine how a concept is mapped. If a property (or properties) have complex rules, a
class can be written to handle the special case. When this happens, the yml
should have a special
property, and
it should be defined in MetadataMapping().__lookup_special_property()
.
An agnostic property should look like this in the yml
:
- name: table_of_contents
xpaths:
- 'mods:tableOfContents'
property: "http://purl.org/dc/terms/tableOfContents"
A complex property might look like this:
- name: title_and_alternative_title
xpaths:
- 'mods:titleInfo[not(@supplied)]/mods:title'
- 'mods:titleInfo[@supplied="yes"]/mods:title'
properties:
- "http://purl.org/dc/terms/title"
- "http://purl.org/dc/terms/alternative"
special: "TitleProperty"
An agnostic property must always have the property
property while a complex property may have property
or
properties
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for utk_exodus-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1049023f9ff38735077d8de762676f3a68bb7b81fc5e9b2ff6b405f394e61dd8 |
|
MD5 | 4c5fc3e5756110eed5c499e1339484ba |
|
BLAKE2b-256 | b61e7536e1564864ae9d78f884451d2a107b0fbc22ddb85e952e7c9675fcf9c8 |