paulovn / sparql-kernel

A Jupyter kernel to launch queries against SPARQL endpoints
BSD 3-Clause "New" or "Revised" License
98 stars 17 forks source link

added support for authentication #21

Closed asanchez75 closed 6 years ago

asanchez75 commented 6 years ago

added support for authentication (BASIC or DIGEST) Example: %endpoint http://my_ip:8890/sparql %auth_type|user|password BASIC|my_username|my_password %display table %graph http://mygraph SELECT ?s ?p ?o { ?s ?p ?o. } limit 10

paulovn commented 6 years ago

Thanks for this PR. For the sake of consistency with the rest of magics, I'd prefer the syntax to be with an %auth keyword and space-separated parameters, i.e.

%auth basic user password

Could you make that change?

paulovn commented 6 years ago

Ok, I have incorporated this to PR 24 It's now integrated in version 1.1.0 Thanks for the contribution