Platforms¶
extra_platforms.platforms
API¶
Platform definitions and metadata.
Everything here can be aggressively cached and frozen, as it’s only compute platform-dependent values.
Note
Default icons are inspired from Starship project: - https://starship.rs/config/#os - https://github.com/davidkna/starship/blob/e9faf17/.github/config-schema.json#L1221-L1269
- class extra_platforms.platforms.Platform(id, name, icon='❓')[source]¶
Bases:
object
A platform can identify multiple distributions or OSes with the same characteristics.
It has a unique ID, a human-readable name, and boolean to flag current platform.
- extra_platforms.platforms.XENSERVER = Platform(id='xenserver', name='XenServer', current=False)¶
All individual platforms.