module documentation

Undocumented

Function confirm prompts for yes or no response from the user. Returns True for yes and False for no. 'resp' should be set to the default value assumed by the caller when user simply types ENTER.
Function convert Convert a textual feature value to int/float when numeric, else leave as str.
Function eprint Undocumented
Function fileno Undocumented
Function is_number Undocumented
Function read_hashes Undocumented
Function resource_limits_help_note Describe which per-instance resource limits gbd can enforce on this system.
Function slice_iterator Undocumented
Function stdout_redirected Undocumented
Constant IS_MACOS Undocumented
def confirm(prompt='Confirm', resp=False): (source)

prompts for yes or no response from the user. Returns True for yes and False for no. 'resp' should be set to the default value assumed by the caller when user simply types ENTER.

def convert(value): (source)

Convert a textual feature value to int/float when numeric, else leave as str.

def eprint(*args, **kwargs): (source)

Undocumented

def fileno(file_or_fd): (source)

Undocumented

def is_number(s): (source)

Undocumented

def read_hashes(): (source)

Undocumented

def resource_limits_help_note(): (source)

Describe which per-instance resource limits gbd can enforce on this system.

gbd enforces the limits itself when it runs external tools; the platform decides which take effect (macOS ignores the memory limit; without the POSIX resource module only the wall-clock time limit applies).

def slice_iterator(data, slice_len): (source)

Undocumented

@contextmanager
def stdout_redirected(to=os.devnull, stdout=None): (source)

Undocumented

IS_MACOS = (source)

Undocumented

Value
(sys.platform == 'darwin')