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.1-py3-none-any.whl (14.8 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for turintech_platform-1.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 012513bdf8ce13ba4185b9baf8db1e22383a48226b15f683f2044dc88f6bde18
MD5 20f464e3657649190a27c40de10880fe
BLAKE2b-256 cdd01f5e7231ecd316acfb888df724e082137256c370cefe1c2d961d110b1606

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