Platform# Platform # arch property # arch Return the architecture of the platform. Examples# >>> Platform("linux-64").arch Arch(x86_64) >>> Platform("linux-aarch64").arch Arch(aarch64) >>> is_linux property # is_linux Return True if the platform is linux. Examples# >>> Platform("linux-64").is_linux True >>> Platform("osx-64").is_linux False >>> is_osx property # is_osx Return True if the platform is osx. Examples# >>> Platform("osx-64").is_osx True >>> Platform("linux-64").is_osx False >>> is_unix property # is_unix Return True if the platform is unix. Examples# >>> Platform("linux-64").is_unix True >>> Platform("win-64").is_unix False >>> is_windows property # is_windows Return True if the platform is win. Examples# >>> Platform("win-64").is_windows True >>> Platform("linux-64").is_windows False >>> only_platform property # only_platform Return the platform without the architecture. Examples# >>> Platform("linux-64").only_platform 'linux' >>> __repr__ # __repr__() Returns a representation of the platform. Examples# >>> Platform("linux-64") Platform(linux-64) >>> __str__ # __str__() Returns a string representation of the platform. Examples# >>> str(Platform("linux-64")) 'linux-64' >>> all classmethod # all() Returns all supported platforms. Examples# ```python next(Platform.all()) Platform(noarch) len(list(Platform.all())) 23 current classmethod # current() Returns the current platform.