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

Uploaded Python 3

File details

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

File metadata

  • Download URL: turintech_platform-1.1.4-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for turintech_platform-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0e4d3c12381d99eb372b8adc71e65e9472952220de23f84fac03846440c35d9d
MD5 b0c5fc2109c07c4049080994fe4ec76a
BLAKE2b-256 5344f986b159274ff6a4ccac921dc624b96a19daedc2c30ffb79d86d0bcf0423

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