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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for turintech_platform-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 952bb3df4fafd895a6fd7b2ef63cf740047c42c8dbfa49814d3b04f9ee2938c9
MD5 ae377522e2a078e41602c3d2b84d0762
BLAKE2b-256 c2922e8563bd46fb65c8c76edb009e4a6cfb3a65ef35f3053a21c9c85e25f42f

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