Use Python with Stardog - Stardog

Can i have an example on how to connect to a Kerberos authenticated Stardog instance using 'pystardog'.
All the examples i could find are using username:password combinations.

Thanks,

Hi Vishal,

As it stands now, pystardog does not support Kerberos. Pystardog relies on the requests library [1], specifically the requests.session object

  • it authenticates via session.auth, which implements a basic HTTP authentication as per [2].
    At the moment, adding Kerberos authentication to Pystardog is not something the team is actively working on.

Best,
Noah

[1] https://github.com/stardog-union/pystardog/blob/master/stardog/http/client.py
[2] https://requests.readthedocs.io/en/master/_modules/requests/sessions/

Thanks for the update Noah.
Appreciate your quick response.

You might have some luck with integrating this library https://github.com/requests/requests-kerberos