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

Uploaded Python 3

File details

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

File metadata

  • Download URL: turintech_platform-1.1.5-py3-none-any.whl
  • Upload date:
  • Size: 9.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.25 {"installer":{"name":"uv","version":"0.9.25","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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b616c30f0d3c94a33cc5235c85f666e2b055d398ba9ab95fa324ca8707f40dd1
MD5 8aeb1361141cd39134bd685eeba6c301
BLAKE2b-256 671a07bb0ccd990ae81d28dc6ea47eb338911f450646e22866a0fa42568f4474

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