pyld
pyld copied to clipboard
JSON-LD processor written in Python
Is it possible to normalize a document such that for example it always contains `@graph`, or such that a link is always contained in a list for example `"knows": "_:alice"`...
I am trying to run pyld functions (expand, normalize) on the document below but it doesn't seem to get the context urls linked. ```py doc = { "@context": [ "https://schema.repronim.org/rl/contexts/generic",...
There is a problem with `requests_document_loader`. When using custom headers like this `jsonld.set_document_loader(jsonld.requests_document_loader(headers=...))` the `headers=` argument is [repeated twice (here)](https://github.com/digitalbazaar/pyld/blob/master/lib/pyld/documentloader/requests.py#L63) and Python raises an error.
Despite this being the premier JSON-LD library for python, the examples are sparse and leave a lot to the imagination. Or maybe it's just me. In frustration I ended up...
Scoped context regression. See: - https://github.com/w3c/json-ld-api/pull/490 - https://github.com/digitalbazaar/jsonld.js/issues/394 Bisect shows failure started here: - https://github.com/digitalbazaar/pyld/commit/491d4b37e8c0e5ef48ff09578763d7e366270c7a
Follow the report guidelines: https://w3c.github.io/json-ld-api/reports/ In particular, add language tag to description.
I was trying to run sign/verify on the same jsonld samples from https://github.com/digitalbazaar/vc-demo/blob/master/credentials/alumni.jsonld in python. While trying to run jsonld.normalize() I am getting errors. ``` Traceback (most recent call last):...
The README needs ContextResolver docs. Perhaps similar to: https://github.com/digitalbazaar/pyld/pull/112#issuecomment-606897734 cc: @gkellogg @azaroth42
If `ActiveContextCache.set` is called multiple times during processing with a particular combination of `activeCtx` and `localCtx`, `ActiveContextCache.order` gets out of sync with `ActiveContextCache.cache` (i.e., multiple copies of a particular key...
https://github.com/RDFLIB/rdflib-jsonld/issues/68 has issued a call for maintainers of the rdflib-jsonld library. @gkellogg, @dlongley, @davidlehn, @BigBlueHat -- any suggestions on how to proceed?