The constants.py module#

Summary#

DEFAULT_HOST

Default host used by Speos RPC server and client

DEFAULT_PORT

Default port used by Speos RPC server and client

DEFAULT_VERSION

Latest supported Speos version of the current PySpeos Package

MAX_SERVER_MESSAGE_LENGTH

Maximum message length value accepted by the Speos RPC server,

MAX_CLIENT_MESSAGE_SIZE

Maximum message Size accepted by grpc channel,

Description#

Collection of all constants used in pySpeos.

Module detail#

constants.DEFAULT_HOST: str = 'localhost'#

Default host used by Speos RPC server and client

constants.DEFAULT_PORT: str = '50098'#

Default port used by Speos RPC server and client

constants.DEFAULT_VERSION: str = '251'#

Latest supported Speos version of the current PySpeos Package

constants.MAX_SERVER_MESSAGE_LENGTH: int#

Maximum message length value accepted by the Speos RPC server, By default, value stored in environment variable SPEOS_MAX_MESSAGE_LENGTH or 268 435 456.

constants.MAX_CLIENT_MESSAGE_SIZE: int = 4194304#

Maximum message Size accepted by grpc channel, By default, 4194304.