schrodinger.application.licensing.licserver.main module

This module implements the licadmin CLI for licserver.

schrodinger.application.licensing.licserver.main.format_description(description: str) str

Helper for argparse descriptions.

Removes consistent leading whitespace via textwrap.dedent; replaces with two spaces.

schrodinger.application.licensing.licserver.main.get_parser() argparse.ArgumentParser

Returns an argument parser for licadmin functionality.

Parameters

argv – command-line arguments to parse, excluding the program name

schrodinger.application.licensing.licserver.main.handle_install(opt: argparse.Namespace) int

Handles the ‘install’ subcommand.

schrodinger.application.licensing.licserver.main.handle_machineid(opt: argparse.Namespace) int
schrodinger.application.licensing.licserver.main.handle_info_action(opt: argparse.Namespace) int

Create an archive of information for troubleshooting license issues.

schrodinger.application.licensing.licserver.main.handle_debug_sources(opt: argparse.Namespace) int

Print the sources of license information.

schrodinger.application.licensing.licserver.main.main(argv: list[str]) int