semvec/pypi-packages huggingface dataset:
rdf-delta 0.2.5
Python client and parser library for RDF Delta.
License: MIT
Requires Python: <4.0.0,>=3.11

# RDF Delta Python

## Installation

Replace `<version>` with the latest GitHub release. You can browse the GitHub releases [here](https://github.com/Kurrawong/rdf-delta-python/releases).

```shell
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:

```python
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](rdf_delta/client.py) class for all the possible methods and [test_delta_client.py](tests/delta_client/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](https://afs.github.io/rdf-delta/rdf-patch.html) format will be implemented soon.

This will allow for [Lark transformer and visitor](https://lark-parser.readthedocs.io/en/latest/visitors.html) implementations to process and transform the abstract syntax tree as needed.