Short introduction to Rudof

Short introduction to Rudof#

This document contains a short introduction to rudof, an RDF data shapes library.

Rudof is available as a command line tool for which we provide binaries in Windows, Linux and Mac.

The library also contains Python bindings which are publised in pypi.

The documentation for the Python bindings is available here.

This document can also be seen as a short demo of those bindings.

Install and initialize rudof#

The library is available as pyrudof.

!pip install pyrudof
Requirement already satisfied: pyrudof in /opt/hostedtoolcache/Python/3.11.13/x64/lib/python3.11/site-packages (0.1.135)

The main entry point if a class called Rudof through which most of the functionality is provided.

from pyrudof import Rudof, RudofConfig

In order to initialize that class, it is possible to pass a RudofConfig instance which contains configuration parameters for customization.

rudof = Rudof(RudofConfig())

The Rudof class contains the methods that provide the main functionality. For example version() retrieves the current version of the library.

rudof.version()
'0.1.135'