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. │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Metadata
Release files for rdfc 0.2.6
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| rdfc-0.2.6.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| rdfc-0.2.6-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.4 kB
Release files / rdfc-0.2.6.tar.gz
| Download URL | rdfc-0.2.6.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
73409109f45ae1c5f6d333274abb4b2596eda279eae5fcc4b93c9cd7c01e2ebb
|
|
BLAKE2b-256 checksum How to use checksums |
f0e7bbe085c2a5a1c9cdeb7cf11eddb80ec41e4a71f42ab5a28a97982c848d0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.16.1 CPython/3.10.12 Linux/6.5.0-1022-azure
|
Release files / rdfc-0.2.6-py3-none-any.whl
| Download URL | rdfc-0.2.6-py3-none-any.whl |
|---|---|
| Size | 2.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0e460a6cfc225530b22ae557e30c167d0978fdcf202d6ffb78fc8f0e0d1591cf
|
|
BLAKE2b-256 checksum How to use checksums |
10b3bf73ed074515f56b4ab0c39eb705a024597a4d35b76e1a2d23391e025854
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
pdm/2.16.1 CPython/3.10.12 Linux/6.5.0-1022-azure
|