A generic pipeline that can be used to map raw data to RDF.
Project description
data2rdf
A pipeline for generating data representation in RDF out of raw data given in ASCII, CSV, JSON or EXCEL format.
https://data2rdf.readthedocs.io/en/latest/
Installation
Install for using the package
Either install the package from the pypi
pip install data2rdf
Install for development
Install the package from the source code:
git clone git@github.com:MI-FraunhoferIWM/data2rdf.git
cd data2rdf
pip install -e .
Unit tests
Before running the unit tests, please install the needed packages:
pip install data2rdf[tests]
Afterwards, run the unittest with:
pytest
Building the docs locally
HTML
A server will start, generate the docs and listen for changes in the source files. This can be done by using docker or installing the development environment directly on the you machine. Next are installation guides for Docker and Linux OS.
Docker
First, build the Docker image by running the following command:
$ docker build -f docs.Dockerfile -t data2rdf-docs .
Then, start the program by running:
$ docker run -it --rm -v $PWD:/app -p 8000:8000 data2rdf-docs
Linux
At an OS level (these commands work on Linux Debian):
$ sudo apt install pandoc graphviz default-jre
$ sudo apt-get install texlive-latex-recommended \
texlive-latex-extra \
texlive-fonts-recommended \
latexmk
The python dependencies:
$ pip install .[docs]
Now you can start the server and render the docs:
$ sphinx-autobuild docs/source docs/build/html
The documentation will be available on http://127.0.0.1:8000
.
PDF (LaTeX)
To generate a PDF of the documentation, simply run (from the root project folder):
make -C docs latexpdf
The generated PDF can be found under docs/build/latex/data2rdf_docs.pdf
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file data2rdf-2.0.0.tar.gz
.
File metadata
- Download URL: data2rdf-2.0.0.tar.gz
- Upload date:
- Size: 29.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f85919847782c54eb742327462943745a1c72e2a6b0698bdd0ba888e6f55233c |
|
MD5 | 2c9a68d07a2bc1ba483876a2d8540b56 |
|
BLAKE2b-256 | f579f3ecef4c614bf8f112c6915336764aa2a99ed2a8a4ebaa4e06b27133ab35 |
Provenance
File details
Details for the file data2rdf-2.0.0-py3-none-any.whl
.
File metadata
- Download URL: data2rdf-2.0.0-py3-none-any.whl
- Upload date:
- Size: 53.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 72af805a25c24e4853fd3453d7ec99f53ba4fca6e649cfc2f3644777d8b2480c |
|
MD5 | 12ac2b38cdac505ddf2dd62263aff1db |
|
BLAKE2b-256 | 0559c60f6d2067295669257bd6c5e9dd9d5ab2e68946f29efd0eb068db19826d |