-
Notifications
You must be signed in to change notification settings - Fork 2
Description
I've now finished the specification of an abstract backend interface:
https://github.com/OO-LD/oold-python/blob/a221e11ebb6e4de86cae75aa52046fd12305bbe3/src/oold/backend/interface.py
including some reference implementations, mainly for local backends:
https://github.com/OO-LD/oold-python/blob/a221e11ebb6e4de86cae75aa52046fd12305bbe3/src/oold/backend/sparql.py
https://github.com/OO-LD/oold-python/blob/a221e11ebb6e4de86cae75aa52046fd12305bbe3/src/oold/backend/document_store.py
There's also an auth module
https://github.com/OO-LD/oold-python/blob/a221e11ebb6e4de86cae75aa52046fd12305bbe3/src/oold/backend/auth.py
and a first example to access a BasicAuth protected SPARQL endpoint:
https://github.com/OO-LD/oold-python/blob/a221e11ebb6e4de86cae75aa52046fd12305bbe3/examples/backend_auth.py
unit and integration tests are already in place (current coverage ~ 77%):
https://github.com/OO-LD/oold-python/tree/main/tests
For some minimal hints how to contribute to the code, including tests, I have updated the README here:
https://github.com/OO-LD/oold-python?tab=readme-ov-file#dev