Skip to main content

[![PyPI version](https://badge.fury.io/py/gssapi_console.svg)](https://badge.fury.io/py/gssapi_console) [![GitHub version](https://badge.fury.io/gh/pythongssapi%2Fgssapi-console.svg)](https://badge.fury.io/gh/pythongssapi%2Fgssapi-console)

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.

Requirements

Usage

further information is available by running `gssapi-console.py –help`

The main executable of GSSAPI Console is gssapi-console.py. The basic invocation works just like launching python – use gssapi-console.py FILE to run a file in the established environment, or just run gssapi-console.py or gssapi-console.py -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 gssapi-console.py:

  • –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](https://pypi.python.org/pypi/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).

Metadata

Release files for gssapi_console 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gssapi_console 1.0.0
File Size Uploaded
gssapi_console-1.0.0.tar.gz 5.6 kB Details

Release files / gssapi_console-1.0.0.tar.gz

Download URL gssapi_console-1.0.0.tar.gz
Size 5.6 kB
Tags Source
SHA-256 checksum
How to use checksums
a72da844e38a819ff55cfeb13e2707c55a4b98a0207396bf40312fe4b8255ebd
BLAKE2b-256 checksum
How to use checksums
a9e38060b9f0bc32ae2df918468e17e827fc551ea25b2d90ae8a9325d640155f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.0.0 This release

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page