paulovn / sparql-kernel

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

Feature request: Read magic values from file #41

Open alexisdimi opened 5 years ago

alexisdimi commented 5 years ago

Authenticated endpoints make it necessary to put authentication credentials in cleartext in the notebook, which is not great (especially for demos). Idea: A new magic %config path/file.ini that reads magic settings from a file, and somehow avoids outputting sensitive information. (Maybe a second keyword on the command, or a variation %qconfig for "quiet".)

paulovn commented 5 years ago

ok, I see the problem. I'll take a look at it

paulovn commented 5 years ago

I have added a couple of changes to the 1.3.0 branch that should help on this:

Nevertheless, the "magics from file" approach is a good idea anyway, so I have added it too