Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

An interactive tool for testing Python GSSAPI programs

Project description

[![PyPI version](]( [![GitHub version](](

GSSAPI Console allows provides an easy way to test out Python applications using GSSAPI in a self-contained environment.

By default, the console will set up a self-contained MIT krb5 environment. However, other GSSAPI environments are planned.



further information is available by running ` –help`

The main executable of GSSAPI Console is The basic invocation works just like launching python – use FILE to run a file in the established environment, or just run or -i to get an interactive environment (the -i flag can be used with a file, just like python FILE -i).

There are several additional flags that may be passed to

  • –realm-args key1=true,key2=false,… can be used to pass specific arguments to the realm constructor (the set of such keys is driver-dependent)
  • –mech MECH_NAME can be used to specify a different driver (currently, only –mech krb5 will work)
  • -a IDENTIFIER, –attach IDENTIFIER may be used to “attach” a new GSSAPI Console session to an environment set up by an existing GSSAPI Console session. The identifier will be noted at the top of the existing GSSAPI Console session as Session: IDENTIFIER.
  • -v, –verbose may be used to increase the verbosity of the logging level (generally to gain more details on what the driver is doing to set up the realm).

Additional GSSAPI Console drivers may be introduced using the gssapi_console.drivers setuptools entry point. They should follow the gssapi_console.drivers.GSSAPIConsoleDriver class.

GSSAPI Console provides a [YALPT]( environment driver for writing tutorials and literate python files involving GSSAPI. You can use it by passing -e gssapi to YALPT (it will use the default GSSAPI Console driver in this case).

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for gssapi_console, version 1.0.0
Filename, size File type Python version Upload date Hashes
Filename, size gssapi_console-1.0.0.tar.gz (5.6 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page