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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
rdfc-0.1.0-py3-none-any.whl
(2.8 kB
view details)
File details
Details for the file rdfc-0.1.0-py3-none-any.whl
.
File metadata
- Download URL: rdfc-0.1.0-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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b5c6887271d2c42638e7f3f6fb73750ed585edbba6fada94612abb8917abba8 |
|
MD5 | 18aa951eb53414af483a9509d3bcade8 |
|
BLAKE2b-256 | f6df97c37d41d541b0e5d89d759842eeee13e21f88a339da2615860b7eb82e16 |