Skip to content

domel/PGDL-conv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PGDL-conv

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

usage: pgdl-conv.py [-h]
                    (-m | -j | -pj | -c | -x | -px | -t | -y | -p | -g | -s)
                    file

Positional arguments

  file               a PGDL file

Optional arguments

  -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.

Contribution

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.

License

Distributed under MIT license.

Releases

No releases published

Packages

No packages published

Languages