Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 1.06 KB

README.md

File metadata and controls

33 lines (20 loc) · 1.06 KB

RDF Delta Python

Installation

Replace <version> with the latest GitHub release. You can browse the GitHub releases here.

pip install https://github.com/Kurrawong/rdf-delta-python/archive/refs/tags/<version>.zip

Client

A Python client to interact with a Delta Server.

Example usage:

from rdf_delta import DeltaClient

client = DeltaClient("http://localhost:1066/")
ids = client.list_datasource()
for id_ in ids:
    print(client.describe_log(id_))

See the DeltaClient class for all the possible methods and test_delta_client.py for more in-depth usage such as adding new patch logs.

RDF Patch Lark Parser

A Lark parser of the RDF Patch format will be implemented soon.

This will allow for Lark transformer and visitor implementations to process and transform the abstract syntax tree as needed.