Skip to main content

Utils for platform information (system and machine architecture)

Project description

Platform utilities

Utils related with platform information (system and machine architecture).

Table of Contents


ArchitectureType

Enumerate type of the architecture types detected in this library.

from core_platform.platform_types import PlatformType
from core_platform.platform_utils import get_architecture_type

architecture: PlatformType = get_architecture_type()
# architecture = ArchitectureType.LINUX_x86_64

Platform information

Platform details

from core_platform.platform_utils import get_platform_info

system, machine, is_64bit = get_platform_info()
# system: str = "linux"
# machine: str = "x86_64"
# is_64bit: bool = True

Platform naming

from core_platform.platform_utils import get_platform

platform_name: str = get_platform()
# platform = "linux_x86_64"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

turintech_platform-1.1.2-py3-none-any.whl (9.4 kB view details)

Uploaded Python 3

File details

Details for the file turintech_platform-1.1.2-py3-none-any.whl.

File metadata

File hashes

Hashes for turintech_platform-1.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 d2e2417c9d2f87c5ce81df7bb2cd80f11dbf8dc7a86d402444e5542049c53e96
MD5 a4f3e065de48427a78ea1192372bc3c1
BLAKE2b-256 d0893538c826a070e2dfe5e86ad22c4af1d653218df5e062954662d5024ef29f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page