sys Package

local Module

Base stuff for providers that handle system-related information.

class xal.sys.local.LocalSysProvider

Bases: xal.sys.provider.SysProvider

Base class for sys provider.

is_posix

Use os.sep to determine if system is POSIX.

platform

Proxy to sys.platform.

supports(session)

Return True if session is local.

uname

Proxy to platform.uname().

provider Module

Base stuff for providers that handle system-related information.

class xal.sys.provider.SysProvider

Bases: xal.provider.Provider

Base class for sys provider.

is_posix

Return True if platform is a POSIX system.

platform

Return platform identifier as string.

See http://docs.python.org/library/sys.html#sys.platform.

uname

Returns a tuple of strings identifying the underlying platform.

Returned tuple is made of (system, node, release, version, machine, processor).

See also http://docs.python.org/library/platform.html#platform.uname