Expand description
Platform detection utilities.
Enums§
- Platform
- Supported platforms.
Functions§
- current_
platform - Get the current platform, if supported.
- get_
arch - Get the CPU architecture.
- get_
wsl_ version - Get the WSL version (1 or 2+) if running in WSL. Returns None if not running in WSL.
- is_
linux - Check if running on Linux.
- is_
macos - Check if running on macOS.