Use from Python¶
One-time Python setup¶
Install the library:
cd py
python3 setup.py install
Or add a dependency from PyPI: twks-client.
Using the Python client¶
TwksClient is the entry point class.
The client API mirrors that of the TWKS server:
CRUD operations on nanopublications
querying assertions and nanopublications via SPARQL
Python examples¶
The repository contains a number of examples of using TWKS from Python.