Property Graph Definition Language converter for many other formats including JSON, CBOR (binary JSON), XML, TOML, YAML and (PG)SHACL. Written in Python 3. Works from CLI.
usage: pgdl-conv.py [-h]
(-m | -j | -pj | -c | -x | -px | -t | -y | -p | -g | -s)
file
file a PGDL file
-h, --help show this help message and exit
-m, --metadata display PGDL metadata
-j, --json display PGDL in JSON
-pj, --prettyjson display PGDL in pretty JSON
-c, --cbor display PGDL in CBOR (binary JSON)
-x, --xml display PDGL in XML
-px, --prettyxml display PDGL in pretty XML
-t, --toml display PDGL in TOML
-y, --yaml display PDGL in compact YAML
-p, --pgdl display PDGL (in YAML)
-g, --graphql display GraphQL
-s, --shacl display (PG)SHACL (in RDF)
Available options may vary depending on the version. To display all available options with their descriptions use pgdl-conv.py -h
.
Would you like to improve this project? Great! We are waiting for your help and suggestions. If you are new in open source contributions, read How to Contribute to Open Source.
Distributed under MIT license.