You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I don't know how easy or reasonable this request would be, and maybe at some point I can look into doing it myself, but would it be possible to have ipython for the interactive session? Gives command completion, history and all kinds of other goodness.
Thanks for the project, will be using it extensively soon.
The text was updated successfully, but these errors were encountered:
I'm not an IPython user, and probably won't have time to add support myself, but I'd accept a PR that keeps things well-separated. FWIW, the current gssapi-console does have completion and history support, but I do get the appeal of IPython.
The internals of gssapi-console are actually relatively simple -- most of the hard work is done by k5test and Python's built-in REPL library (code.InteractiveConsole).
Basically, gssapi-console does the following (not including the yalpt driver):
accept a "driver" (currently only the krb5 driver exists)
ask the driver to set up a realm if one wasn't passed in (calls out to k5test)
"attach" to the realm (calls out to k5test)
setup up the REALM local to point to the realm configuration object
print a useful banner
import gssapi and gssapi.raw as gb
launch into the main REPL (just calls out to code.InteractiveConsole currently)
You can look at core.py and drivers.py for more details
I don't know how easy or reasonable this request would be, and maybe at some point I can look into doing it myself, but would it be possible to have ipython for the interactive session? Gives command completion, history and all kinds of other goodness.
Thanks for the project, will be using it extensively soon.
The text was updated successfully, but these errors were encountered: