Skip to main content
https://img.shields.io/badge/license-AGPL3.0-informational?logo=gnu&color=success https://www.repostatus.org/badges/latest/active.svg PyPI Version https://img.shields.io/badge/documentation-api-green https://gitlab.huma-num.fr/datasphere/heimdall/connectors/rdf/badges/main/pipeline.svg https://gitlab.huma-num.fr/datasphere/heimdall/connectors/rdf/badges/main/coverage.svg

What is this?

pyHeimdall is a tool for converting more easily one or more databases from one format to another. It leverages modules called “connectors”, responsible for conversion of data between specific databases schemas and the HERA format.

This repository implements a connector to export any database in different RDF formats. The implementation doesn’t need any intervention on pyHeimdall proper.

How can I use it?

Setup

This RDF pyHeimdall connector is available as a PyPI package named pyheimdall-rdf. You can install it using the pip package manager:

pip install pyheimdall-rdf

You can use pip to either upgrade or uninstall this connector, too:

pip install --upgrade pyheimdall-rdf
pip uninstall pyheimdall-rdf

Usage

import heimdall

tree = heimdall.getDatabase(...)
heimdall.createDatabase(tree, format='rdf:turtle', url='result.xml')

Please note that you don’t need to use pyheimdall-rdf functions directly. As long as the package is installed on your system, pyHeimdall will automatically discover its features and allow you to use them as long as any other default or external connector.

Is it tested?

Of course! Here’s the coverage report.

How can I contribute?

This project welcomes any feedback or proposal. Details can be accessed here

License

GNU Affero General Public License version 3.0 or later

Metadata

Release files for pyheimdall-rdf 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pyheimdall-rdf 1.0.0
File Size Uploaded
pyheimdall_rdf-1.0.0.tar.gz 15.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pyheimdall-rdf 1.0.0
File Interpreter ABI Platform
pyheimdall_rdf-1.0.0-py2.py3-none-any.whl Python 2, Python 3 none any Details

Total release size: 31.0 kB

Release files / pyheimdall_rdf-1.0.0.tar.gz

Download URL pyheimdall_rdf-1.0.0.tar.gz
Size 15.3 kB
Tags Source
SHA-256 checksum
How to use checksums
3117a92bbefd204d2900b97e73923fca4b8a04d30137dfe67e87737df8e34f12
BLAKE2b-256 checksum
How to use checksums
0db8039fcf18e7c34f21c372e55ee289712d401d56737b821778a91cecb2c83c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.4

Release files / pyheimdall_rdf-1.0.0-py2.py3-none-any.whl

Download URL pyheimdall_rdf-1.0.0-py2.py3-none-any.whl
Size 15.7 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
bd5b6445f4510409a1e67ec00263092a52078c0ca29ab04ec6fdc70c9f133396
BLAKE2b-256 checksum
How to use checksums
1f17a3ecf4caabac40ea1eec703008f8d0ea047e0d402702109e94431cd02214
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.11.4

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page