Skip to main content

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.                                      │
╰──────────────────────────────────────────────────────────────────────────────────────────────────────────╯

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.6.tar.gz (2.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

rdfc-0.2.6-py3-none-any.whl (2.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: rdfc-0.2.6.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

Hashes for rdfc-0.2.6.tar.gz
Algorithm Hash digest
SHA256 73409109f45ae1c5f6d333274abb4b2596eda279eae5fcc4b93c9cd7c01e2ebb
MD5 e35f2439536fa8592720fcf2a8b6794c
BLAKE2b-256 f0e7bbe085c2a5a1c9cdeb7cf11eddb80ec41e4a71f42ab5a28a97982c848d0b

See more details on using hashes here.

File details

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

File metadata

  • Download URL: rdfc-0.2.6-py3-none-any.whl
  • Upload date:
  • Size: 2.9 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

Hashes for rdfc-0.2.6-py3-none-any.whl
Algorithm Hash digest
SHA256 0e460a6cfc225530b22ae557e30c167d0978fdcf202d6ffb78fc8f0e0d1591cf
MD5 9482f56d5ce69d2049e9a42d21679a63
BLAKE2b-256 10b3bf73ed074515f56b4ab0c39eb705a024597a4d35b76e1a2d23391e025854

See more details on using hashes here.

Release history Release notifications | RSS feed

This release

0.2.6 This release

2 files

0.2.4

2 files

0.2.3

2 files

0.2.2

2 files

0.1.0

1 file

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page