pyld get¶
Requires pip install PyLD[cli]
Retrieve and print a JSON-LD document.
pyld get --help
Usage: pyld get [OPTIONS] {INPUT}
Retrieve and print a JSON-LD document.
╭─ Arguments ──────────────────────────────────────────────────────────────────────────╮
│ * INPUT <str> Path or HTTP(S) URL. Pass - to read from standard input. │
│ [required] │
╰──────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────────────╮
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────────────╯
Usage: pyld get [OPTIONS] {INPUT}
Retrieve and print a JSON-LD document.
╭─ Arguments ──────────────────────────────────────────────────────────────────────────╮
│ * INPUT <str> Path or HTTP(S) URL. Pass - to read from standard input. │
│ [required] │
╰──────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────────────╮
│ --help Show this message and exit. │
╰──────────────────────────────────────────────────────────────────────────────────────╯
Example¶
pyld get docs/examples/data/person.jsonld{
"@context": {
"name": "http://schema.org/name"
},
"name": "Ada Lovelace"
}
"@context": {
"name": "http://schema.org/name"
},
"name": "Ada Lovelace"
}
Source person.jsonld