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.4.tar.gz
(2.5 kB
view details)
Built Distribution
rdfc-0.2.4-py3-none-any.whl
(2.8 kB
view details)
File details
Details for the file rdfc-0.2.4.tar.gz
.
File metadata
- Download URL: rdfc-0.2.4.tar.gz
- Upload date:
- Size: 2.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.16.1 CPython/3.10.12 Linux/6.5.0-1022-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0e1118fa7819d91c0d7ccae2ef189dc8f78639ec0751166b6d45377951b2a872 |
|
MD5 | 2160d126a94af553ddde32b3efd1e055 |
|
BLAKE2b-256 | bd099336985b7b31948cc3edc47e3c1b4bf9ffce3d32af959b50cb6bca74a41f |
File details
Details for the file rdfc-0.2.4-py3-none-any.whl
.
File metadata
- Download URL: rdfc-0.2.4-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.16.1 CPython/3.10.12 Linux/6.5.0-1022-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcffa5e941869b749bd19d00beb06f9aa8b08cb54f38e1b7eb0e53bf862b37b5 |
|
MD5 | 5722a039345c232526b6398af4c25962 |
|
BLAKE2b-256 | bed306f566134243b25e5abeafd4dfa2e9c0f38ada2e01abe328332319938f6b |