Skip to content

ENH: Add pyld CLI console_script#37

Closed
westurner wants to merge 1 commit intodigitalbazaar:masterfrom
westurner:add_pyld_cli_console_script
Closed

ENH: Add pyld CLI console_script#37
westurner wants to merge 1 commit intodigitalbazaar:masterfrom
westurner:add_pyld_cli_console_script

Conversation

@westurner
Copy link

This is lacking actual tests from http://json-ld.org/test-suite/ "Transform RDF to JSON-LD tests", but does seem to work for the simple --rdf-to-jsonld case.

I may have been a bit overeager in terms of adding commandline arguments for as-yet-untested CLI functionality (which is already appropriately tested at a lower-level, according to http://json-ld.org/test-suite/reports/ ).

Questions:

  • Would this be a useful addition to PyLD?
  • How should the tests be structured, in relation to the existing tests?
  • I've been testing with http://topbraid.org/schema/schema.ttl , which does take about a minute per test on this machine. (http://topbraid.org/schema/)
  • Eventually, I'd like to generate a proper @context file, rather than a direct transformation from RDF/TTL -> Quads -> JSON-LD.
  • Could there be an RDFLib document loader, with support for all of the formats which RDFLib supports?
  • DOC: How do I clone and run the existing tests?

@wolfiex
Copy link

wolfiex commented Oct 28, 2025

I just suggested something like this in #89

It would be nice if something like this got merged.

@mielvds
Copy link
Collaborator

mielvds commented Mar 2, 2026

Closing this because it is outdated and because of #151. I will transfer the ideas of this branch to there

@mielvds mielvds closed this Mar 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants