ocfl-py icon indicating copy to clipboard operation
ocfl-py copied to clipboard

Harvard 1: Load existing, standalone OCFL object

Open awoods opened this issue 2 years ago • 4 comments
trafficstars

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:

  1. load individual object
  2. ~list files in object (optional version arg, default head)~
  3. ~get content (arg: logical path, optional version arg)~

This issue is to design the CLI interaction for step 1.

awoods avatar Mar 07 '23 00:03 awoods

This is the function I'm not sure about, where is the object loaded to/from?

zimeon avatar Mar 07 '23 02:03 zimeon

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.

awoods avatar Mar 07 '23 14:03 awoods