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"
Metadata
Release files for turintech_platform 1.1.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| turintech_platform-1.1.5-py3-none-any.whl | Python 3 | none | any | Details |
Release files / turintech_platform-1.1.5-py3-none-any.whl
| Download URL | turintech_platform-1.1.5-py3-none-any.whl |
|---|---|
| Size | 9.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b616c30f0d3c94a33cc5235c85f666e2b055d398ba9ab95fa324ca8707f40dd1
|
|
BLAKE2b-256 checksum How to use checksums |
671a07bb0ccd990ae81d28dc6ea47eb338911f450646e22866a0fa42568f4474
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is 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}
|