schrodinger.application.phase.license module

Module for token checkouts in phase related backends. NOTE: Tampering with licensing is a violation of the license agreement.

Copyright Schrodinger LLC, All Rights Reserved.

schrodinger.application.phase.license.num_of_shape_screen_tokens(use_gpu=False)
schrodinger.application.phase.license.checkout_shape_screen_tokens(using_gpu=False)

Checks out the appropriate number of tokens for a shape screening job.

Parameters

using_gpu (bool) – whether to checkout tokens for GPU usage or not

Returns

license token

Return type

schrodinger.utils.license.License