zospy.api.constants

Contents

zospy.api.constants#

Constants for the ZOS-API.

Submodule used for package wide access to all ZOS api constants. Note that the constant-naming within this module breaks pep, but is kept as such to be in-sync with the api documentation. Constants should in general be accessed through ‘zospy.constants’ (or ‘zp.constants’). All constants are obtained dynamically from the api. Therefore, they are only available after running the code stated under examples.

Examples#

import zospy as zp zos = zp.ZOS() zos.wakeup() zp.constants

Functions

get_constantname_by_value(constant_tuple, value)

Obtain a constant name from a value.

process_constant(constant, value)