ocfl-py
ocfl-py copied to clipboard
Harvard 1: Load existing, standalone OCFL object
As a part of our bulk download process, we would like to pull down individual OCFL objects from S3 to local disk, then use ocfl-py to inspect and pull out specific files.
This will involve three new functions in ocfl-py:
- load individual object
- ~list files in object (optional version arg, default head)~
- ~get content (arg: logical path, optional version arg)~
This issue is to design the CLI interaction for step 1.
This is the function I'm not sure about, where is the object loaded to/from?
Actually, I should probably rephrase this ticket (and the other two: https://github.com/zimeon/ocfl-py/issues/106 & https://github.com/zimeon/ocfl-py/issues/107) to remove the "CLI" design comment. I would like to load an object and interact with it by using ocfl-py as an imported library. For this ticket, I would like to load the object into memory as a Python object.