Skip to main content

Convert RDF files to any serialization format via rdflib

Project description

rdfc

Convert RDF files to any serialization format via rdflib

Installation

Install using pip:

$ pip install git+https://github.com/svenrdz/rdfc

Examples

$ rdfc file.jsonld ttl
Triples written to ~/file.ttl
$ rdfc file.jsonld /tmp/output.n3
Triples written to /tmp/output.n3
$ rdfc file.jsonld ttl
Triples written to ~/file.ttl

$ rdfc file.jsonld file.ttl
Output file exists already ~/file.ttl
Aborted.

$ rdfc file.jsonld file.ttl --force
Output file exists already ~/ws/file.ttl
Overriding since `--force` is used.
Triples written to ~/ws/file.ttl

Help

$ rdfc --help

 Usage: rdfc [OPTIONS] INPUT OUTPUT_OR_FORMAT

╭─ Arguments ──────────────────────────────────────────────────────────────────────────────────────────────╮
│ *    input                 PATH  [default: None] [required]                                              │
│ *    output_or_format      TEXT  [default: None] [required]                                              │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────╯
╭─ Options ────────────────────────────────────────────────────────────────────────────────────────────────╮
│ --force                 --no-force      [default: no-force]                                              │
│ --install-completion                    Install completion for the current shell.                        │
│ --show-completion                       Show completion for the current shell, to copy it or customize   │
│                                         the installation.                                                │
│ --help                                  Show this message and exit.                                      │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────╯

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

rdfc-0.2.2.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

rdfc-0.2.2-py3-none-any.whl (2.8 kB view details)

Uploaded Python 3

File details

Details for the file rdfc-0.2.2.tar.gz.

File metadata

  • Download URL: rdfc-0.2.2.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.16.1 CPython/3.11.9 Linux/5.4.0-187-generic

File hashes

Hashes for rdfc-0.2.2.tar.gz
Algorithm Hash digest
SHA256 3c09eeb389ee1847bff2efc3c557b376a27e966169794dabaf398e65d6b7cd97
MD5 0f81d4c78137a40ea7109212213ac6f2
BLAKE2b-256 94f850fae0d771a086797d4e2461c1d7914eca930084aa2635c66275c39453d8

See more details on using hashes here.

File details

Details for the file rdfc-0.2.2-py3-none-any.whl.

File metadata

  • Download URL: rdfc-0.2.2-py3-none-any.whl
  • Upload date:
  • Size: 2.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: pdm/2.16.1 CPython/3.11.9 Linux/5.4.0-187-generic

File hashes

Hashes for rdfc-0.2.2-py3-none-any.whl
Algorithm Hash digest
SHA256 68c45fff5d401f24efb5200a91265ed2d877dd2010fad19d18346d63ae01e928
MD5 d980927c9251205399d9d39f524b4379
BLAKE2b-256 5c0c9888ad08eb0b933162ef2230b6ff746a22ac2c9474f240fbb7a97cf1135f

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page