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.3.tar.gz
(2.5 kB
view details)
Built Distribution
rdfc-0.2.3-py3-none-any.whl
(2.8 kB
view details)
File details
Details for the file rdfc-0.2.3.tar.gz
.
File metadata
- Download URL: rdfc-0.2.3.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 | f5cbf122227ad10979603e3b7ab45361660f9e0087d4b38b3ccd77ea4a80d58c |
|
MD5 | 3f8ae0899d0faa6bfa62b172aa3c1da8 |
|
BLAKE2b-256 | 1a926a61b6194b145b53df26d053f8873d9d1e611ad0a439fb4bb048152b197c |
File details
Details for the file rdfc-0.2.3-py3-none-any.whl
.
File metadata
- Download URL: rdfc-0.2.3-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 | c7fde9325d03c9f07fedc6053f770c31ebca8d2a6dc24c5b2deaba1c90495ad9 |
|
MD5 | 11692f585aa94ebf7a5cf9c7f53ed7b7 |
|
BLAKE2b-256 | 9c4e853dec544e032c5e2665d5918e778a1d0c532967a7b5e362ccb98033111f |