-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
FEATURE: Load a crate from a (json) Object #178
Comments
You mean a Python dictionary, I guess. It would be able to point only to web-based data entities |
It can point to anything as an abstract structure including file paths -- but these not exist for some purposes eg writing a validator that might run in a context other than the place where the files are. But yes, with an API at the moment if you fetch an RO-Crate metadata document it has to be saved before the library can use it, which is not optimal -- loading raw JSON or a python dictionary structure would be preferable. |
Thanks @simleo - this does not appear to be released yet -- would love to use it |
I have just released version 0.11.0 |
Unless I misunderstand this library can only read crates from disk. It would be very useful to be able to instantiate the library with an object (that would serialise in JSON to an RO-Crate Metadata Document). Eg if I have fetched RO-Crate metadata from an API.
The text was updated successfully, but these errors were encountered: