Comments (1)
Current extract functionality (broken for v1.1 see #110) supports only extraction of all content:
ocfl-py> ./ocfl-object.py --obj fixtures/1.0/good-objects/spec-ex-full --extract v2 --dstdir /tmp/aaa
INFO:ocfl.object:Extracted v2 into /tmp/aaa
Extracted content for v2 in /tmp/aaa
ocfl-py> tree /tmp/aaa
/tmp/aaa
├── empty.txt
├── empty2.txt
└── foo
└── bar.xml
1 directory, 3 files
I assume that in absence of version argument it should extract the latest version?
Somehow we need at least one more parameter to specify the logical path to extract
from ocfl-py.
Related Issues (20)
- Storage Root `extensions/` directory flagged as validation error HOT 2
- Persistent errors for user description. HOT 4
- Missing file when creating OCFL object from directory HOT 1
- Add support for OCFL 1.1 HOT 1
- ocfl_layout.json created with invalid key "key" HOT 2
- Improve handling of inconsistent state between version inventories errors (E066) HOT 1
- Update for spec changes regarding fixity object HOT 3
- Fix handling of spec version in standalone inventory check HOT 1
- Handle case of multiple conformance declarations more gracefully HOT 1
- Correct handling of E103 fixture HOT 1
- good-storage-roots/reg-extension-dir-root is not valid HOT 2
- Harvard 1: Load existing, standalone OCFL object HOT 2
- Harvard 2: List files in individual object HOT 2
- Make ocfl-object specification version aware
- Make content extraction work with v1.1
- Fix validation codes page to be based on OCFL v1.1 spec HOT 1
- EPIC: Properly support OCFL v1.1 as default HOT 1
- Make demo scripts default to v1.1 spec, with v1.0 equivalents called out as legacy
- Design for use as a Python package
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ocfl-py.