Detect platforms and group them by family
Project description
Extra Platforms
What is Extra Platforms?
- Provides a list of all known platforms
- Detect the current platform, at the distribution level
- Gather current platform metadata (version, codename, etc.)
- Group platforms into families
- Manage collection of platforms and groups
- Associate each platform and group to an emoji symbol
- New conditional markers for
pytest
:@skip_linux
,@skip_macos
and@skip_windows
@unless_linux
,@unless_macos
and@unless_windows
Examples
Get the current platform ID and name:
>>> from extra_platforms import CURRENT_OS_ID, CURRENT_OS_LABEL
>>> CURRENT_OS_ID
'macos'
>>> CURRENT_OS_LABEL
'macOS'
Get the current platform object, from which you can access lots of metadata:
>>> from extra_platforms import current_os
>>> my_os = current_os()
>>> my_os
Platform(id='macos', name='macOS', current=True)
>>> my_os.id
'macos'
>>> my_os.name
'macOS'
>>> my_os.icon
'๐'
>>> my_os.info()
{
"id": "macos",
"name": "macOS",
"icon": "๐",
"current": True,
"distro_id": "darwin",
"version": "23.6.0",
"version_parts": {"major": "23", "minor": "6", "build_number": "0"},
"like": None,
"codename": None,
}
Check if a platform is a specific system:
>>> from extra_platforms import is_windows
>>> is_windows()
False
Use groups to check if the current platform is part of a specific family:
>>> from extra_platforms import ALL_LINUX, current_os
>>> current_os() in ALL_LINUX
False
List all platforms of a family:
>>> from extra_platforms import ALL_LINUX
>>> ALL_LINUX
Group(id='all_linux', name='Any Linux', platform_ids=frozenset({'ibm_powerkvm', 'rocky', 'debian', 'ubuntu', 'mageia', 'xenserver', 'opensuse', 'buildroot', 'rhel', 'parallels', 'pidora', 'sles', 'amzn', 'scientific', 'linuxmint', 'centos', 'android', 'gentoo', 'raspbian', 'unknown_linux', 'mandriva', 'exherbo', 'cloudlinux', 'fedora', 'guix', 'arch', 'altlinux', 'slackware', 'oracle', 'kvmibm'}))
>>> print("\n".join([p.name for p in ALL_LINUX]))
ALT Linux
Amazon Linux
Android
Arch Linux
Buildroot
CentOS
CloudLinux OS
Debian
Exherbo Linux
Fedora
Gentoo Linux
Guix System
IBM PowerKVM
KVM for IBM z Systems
Linux Mint
Mageia
Mandriva Linux
openSUSE
Oracle Linux
Parallels
Pidora
Raspbian
RedHat Enterprise Linux
Rocky Linux
Scientific Linux
Slackware
SUSE Linux Enterprise Server
Ubuntu
Unknown Linux
XenServer
Reduce a disparate collection of groups and platforms into a minimal descriptive set, by grouping all platforms into families:
>>> from extra_platforms import AIX, MACOS, SOLARIS, reduce
>>> reduce([AIX, MACOS])
{
Platform(id='aix', name='IBM AIX', current=False),
Platform(id='macos', name='macOS', current=True),
}
>>> reduce([AIX, MACOS, SOLARIS])
{
Group(id='system_v', name='Any Unix derived from AT&T System Five', platform_ids=frozenset({'aix', 'solaris'})),
Platform(id='macos', name='macOS', current=True),
}
Group โ platforms mapping
Relationships between groups and platforms:
---
config:
sankey:
showValues: false
---
sankey-beta
all_platforms,aix,1
all_platforms,altlinux,1
all_platforms,amzn,1
all_platforms,android,1
all_platforms,arch,1
all_platforms,buildroot,1
all_platforms,centos,1
all_platforms,cloudlinux,1
all_platforms,cygwin,1
all_platforms,debian,1
all_platforms,exherbo,1
all_platforms,fedora,1
all_platforms,freebsd,1
all_platforms,gentoo,1
all_platforms,guix,1
all_platforms,hurd,1
all_platforms,ibm_powerkvm,1
all_platforms,kvmibm,1
all_platforms,linuxmint,1
all_platforms,macos,1
all_platforms,mageia,1
all_platforms,mandriva,1
all_platforms,midnightbsd,1
all_platforms,netbsd,1
all_platforms,openbsd,1
all_platforms,opensuse,1
all_platforms,oracle,1
all_platforms,parallels,1
all_platforms,pidora,1
all_platforms,raspbian,1
all_platforms,rhel,1
all_platforms,rocky,1
all_platforms,scientific,1
all_platforms,slackware,1
all_platforms,sles,1
all_platforms,solaris,1
all_platforms,sunos,1
all_platforms,ubuntu,1
all_platforms,unknown_linux,1
all_platforms,windows,1
all_platforms,wsl1,1
all_platforms,wsl2,1
all_platforms,xenserver,1
unix,aix,1
unix,altlinux,1
unix,amzn,1
unix,android,1
unix,arch,1
unix,buildroot,1
unix,centos,1
unix,cloudlinux,1
unix,cygwin,1
unix,debian,1
unix,exherbo,1
unix,fedora,1
unix,freebsd,1
unix,gentoo,1
unix,guix,1
unix,hurd,1
unix,ibm_powerkvm,1
unix,kvmibm,1
unix,linuxmint,1
unix,macos,1
unix,mageia,1
unix,mandriva,1
unix,midnightbsd,1
unix,netbsd,1
unix,openbsd,1
unix,opensuse,1
unix,oracle,1
unix,parallels,1
unix,pidora,1
unix,raspbian,1
unix,rhel,1
unix,rocky,1
unix,scientific,1
unix,slackware,1
unix,sles,1
unix,solaris,1
unix,sunos,1
unix,ubuntu,1
unix,unknown_linux,1
unix,wsl1,1
unix,wsl2,1
unix,xenserver,1
unix_without_macos,aix,1
unix_without_macos,altlinux,1
unix_without_macos,amzn,1
unix_without_macos,android,1
unix_without_macos,arch,1
unix_without_macos,buildroot,1
unix_without_macos,centos,1
unix_without_macos,cloudlinux,1
unix_without_macos,cygwin,1
unix_without_macos,debian,1
unix_without_macos,exherbo,1
unix_without_macos,fedora,1
unix_without_macos,freebsd,1
unix_without_macos,gentoo,1
unix_without_macos,guix,1
unix_without_macos,hurd,1
unix_without_macos,ibm_powerkvm,1
unix_without_macos,kvmibm,1
unix_without_macos,linuxmint,1
unix_without_macos,mageia,1
unix_without_macos,mandriva,1
unix_without_macos,midnightbsd,1
unix_without_macos,netbsd,1
unix_without_macos,openbsd,1
unix_without_macos,opensuse,1
unix_without_macos,oracle,1
unix_without_macos,parallels,1
unix_without_macos,pidora,1
unix_without_macos,raspbian,1
unix_without_macos,rhel,1
unix_without_macos,rocky,1
unix_without_macos,scientific,1
unix_without_macos,slackware,1
unix_without_macos,sles,1
unix_without_macos,solaris,1
unix_without_macos,sunos,1
unix_without_macos,ubuntu,1
unix_without_macos,unknown_linux,1
unix_without_macos,wsl1,1
unix_without_macos,wsl2,1
unix_without_macos,xenserver,1
all_linux,altlinux,1
all_linux,amzn,1
all_linux,android,1
all_linux,arch,1
all_linux,buildroot,1
all_linux,centos,1
all_linux,cloudlinux,1
all_linux,debian,1
all_linux,exherbo,1
all_linux,fedora,1
all_linux,gentoo,1
all_linux,guix,1
all_linux,ibm_powerkvm,1
all_linux,kvmibm,1
all_linux,linuxmint,1
all_linux,mageia,1
all_linux,mandriva,1
all_linux,opensuse,1
all_linux,oracle,1
all_linux,parallels,1
all_linux,pidora,1
all_linux,raspbian,1
all_linux,rhel,1
all_linux,rocky,1
all_linux,scientific,1
all_linux,slackware,1
all_linux,sles,1
all_linux,ubuntu,1
all_linux,unknown_linux,1
all_linux,xenserver,1
bsd,freebsd,1
bsd,macos,1
bsd,midnightbsd,1
bsd,netbsd,1
bsd,openbsd,1
bsd,sunos,1
bsd_without_macos,freebsd,1
bsd_without_macos,midnightbsd,1
bsd_without_macos,netbsd,1
bsd_without_macos,openbsd,1
bsd_without_macos,sunos,1
system_v,aix,1
system_v,solaris,1
linux_layers,wsl1,1
linux_layers,wsl2,1
unix_layers,cygwin,1
other_unix,hurd,1
all_windows,windows,1
OS families
Each platform is assigned to a group of non-overlpaping families:
{caption="click_extra.platforms.NON_OVERLAPPING_GROUPS
- Non-overlapping groups."}
flowchart
subgraph "<code>click_extra.platforms.ALL_LINUX</code><br/>๐ง <em>Any Linux</em>"
all_linux_altlinux(<code>altlinux</code><br/>โ <em>ALT Linux</em>)
all_linux_amzn(<code>amzn</code><br/>๐ <em>Amazon Linux</em>)
all_linux_android(<code>android</code><br/>๐ค <em>Android</em>)
all_linux_arch(<code>arch</code><br/>๐๏ธ <em>Arch Linux</em>)
all_linux_buildroot(<code>buildroot</code><br/>โ <em>Buildroot</em>)
all_linux_centos(<code>centos</code><br/>๐ <em>CentOS</em>)
all_linux_cloudlinux(<code>cloudlinux</code><br/>โ <em>CloudLinux OS</em>)
all_linux_debian(<code>debian</code><br/>๐ <em>Debian</em>)
all_linux_exherbo(<code>exherbo</code><br/>โ <em>Exherbo Linux</em>)
all_linux_fedora(<code>fedora</code><br/>๐ฉ <em>Fedora</em>)
all_linux_gentoo(<code>gentoo</code><br/>๐๏ธ <em>Gentoo Linux</em>)
all_linux_guix(<code>guix</code><br/>โ <em>Guix System</em>)
all_linux_ibm_powerkvm(<code>ibm_powerkvm</code><br/>โ <em>IBM PowerKVM</em>)
all_linux_kvmibm(<code>kvmibm</code><br/>โ <em>KVM for IBM z Systems</em>)
all_linux_linuxmint(<code>linuxmint</code><br/>๐ฟ <em>Linux Mint</em>)
all_linux_mageia(<code>mageia</code><br/>โ <em>Mageia</em>)
all_linux_mandriva(<code>mandriva</code><br/>โ <em>Mandriva Linux</em>)
all_linux_opensuse(<code>opensuse</code><br/>๐ฆ <em>openSUSE</em>)
all_linux_oracle(<code>oracle</code><br/>๐ฆด <em>Oracle Linux</em>)
all_linux_parallels(<code>parallels</code><br/>โ <em>Parallels</em>)
all_linux_pidora(<code>pidora</code><br/>โ <em>Pidora</em>)
all_linux_raspbian(<code>raspbian</code><br/>๐ <em>Raspbian</em>)
all_linux_rhel(<code>rhel</code><br/>๐ฉ <em>RedHat Enterprise Linux</em>)
all_linux_rocky(<code>rocky</code><br/>๐ <em>Rocky Linux</em>)
all_linux_scientific(<code>scientific</code><br/>โ <em>Scientific Linux</em>)
all_linux_slackware(<code>slackware</code><br/>โ <em>Slackware</em>)
all_linux_sles(<code>sles</code><br/>๐ฆ <em>SUSE Linux Enterprise Server</em>)
all_linux_ubuntu(<code>ubuntu</code><br/>๐ฏ <em>Ubuntu</em>)
all_linux_unknown_linux(<code>unknown_linux</code><br/>๐ง <em>Unknown Linux</em>)
all_linux_xenserver(<code>xenserver</code><br/>โ <em>XenServer</em>)
end
subgraph "<code>click_extra.platforms.ALL_WINDOWS</code><br/>๐ช <em>Any Windows</em>"
all_windows_windows(<code>windows</code><br/>๐ช <em>Windows</em>)
end
subgraph "<code>click_extra.platforms.BSD</code><br/>๐
ฑ๏ธ <em>Any BSD</em>"
bsd_freebsd(<code>freebsd</code><br/>๐ <em>FreeBSD</em>)
bsd_macos(<code>macos</code><br/>๐ <em>macOS</em>)
bsd_midnightbsd(<code>midnightbsd</code><br/>๐ <em>MidnightBSD</em>)
bsd_netbsd(<code>netbsd</code><br/>๐ฉ <em>NetBSD</em>)
bsd_openbsd(<code>openbsd</code><br/>๐ก <em>OpenBSD</em>)
bsd_sunos(<code>sunos</code><br/>โ๏ธ <em>SunOS</em>)
end
subgraph "<code>click_extra.platforms.LINUX_LAYERS</code><br/>โ <em>Any Linux compatibility layers</em>"
linux_layers_wsl1(<code>wsl1</code><br/>โ <em>Windows Subsystem for Linux v1</em>)
linux_layers_wsl2(<code>wsl2</code><br/>โ <em>Windows Subsystem for Linux v2</em>)
end
subgraph "<code>click_extra.platforms.OTHER_UNIX</code><br/>โ <em>Any other Unix</em>"
other_unix_hurd(<code>hurd</code><br/>๐ <em>GNU/Hurd</em>)
end
subgraph "<code>click_extra.platforms.SYSTEM_V</code><br/>โ
ค <em>Any Unix derived from AT&T System Five</em>"
system_v_aix(<code>aix</code><br/>โฟ <em>IBM AIX</em>)
system_v_solaris(<code>solaris</code><br/>๐ <em>Solaris</em>)
end
subgraph "<code>click_extra.platforms.UNIX_LAYERS</code><br/>โ <em>Any Unix compatibility layers</em>"
unix_layers_cygwin(<code>cygwin</code><br/>ฯพ <em>Cygwin</em>)
end
Other groups
Other groups are available for convenience, but these overlaps:
{caption="click_extra.platforms.EXTRA_GROUPS
- Overlapping groups, defined for convenience."}
flowchart
subgraph "<code>click_extra.platforms.ALL_PLATFORMS</code><br/>๐ฅ๏ธ <em>Any platforms</em>"
all_platforms_aix(<code>aix</code><br/>โฟ <em>IBM AIX</em>)
all_platforms_altlinux(<code>altlinux</code><br/>โ <em>ALT Linux</em>)
all_platforms_amzn(<code>amzn</code><br/>๐ <em>Amazon Linux</em>)
all_platforms_android(<code>android</code><br/>๐ค <em>Android</em>)
all_platforms_arch(<code>arch</code><br/>๐๏ธ <em>Arch Linux</em>)
all_platforms_buildroot(<code>buildroot</code><br/>โ <em>Buildroot</em>)
all_platforms_centos(<code>centos</code><br/>๐ <em>CentOS</em>)
all_platforms_cloudlinux(<code>cloudlinux</code><br/>โ <em>CloudLinux OS</em>)
all_platforms_cygwin(<code>cygwin</code><br/>ฯพ <em>Cygwin</em>)
all_platforms_debian(<code>debian</code><br/>๐ <em>Debian</em>)
all_platforms_exherbo(<code>exherbo</code><br/>โ <em>Exherbo Linux</em>)
all_platforms_fedora(<code>fedora</code><br/>๐ฉ <em>Fedora</em>)
all_platforms_freebsd(<code>freebsd</code><br/>๐ <em>FreeBSD</em>)
all_platforms_gentoo(<code>gentoo</code><br/>๐๏ธ <em>Gentoo Linux</em>)
all_platforms_guix(<code>guix</code><br/>โ <em>Guix System</em>)
all_platforms_hurd(<code>hurd</code><br/>๐ <em>GNU/Hurd</em>)
all_platforms_ibm_powerkvm(<code>ibm_powerkvm</code><br/>โ <em>IBM PowerKVM</em>)
all_platforms_kvmibm(<code>kvmibm</code><br/>โ <em>KVM for IBM z Systems</em>)
all_platforms_linuxmint(<code>linuxmint</code><br/>๐ฟ <em>Linux Mint</em>)
all_platforms_macos(<code>macos</code><br/>๐ <em>macOS</em>)
all_platforms_mageia(<code>mageia</code><br/>โ <em>Mageia</em>)
all_platforms_mandriva(<code>mandriva</code><br/>โ <em>Mandriva Linux</em>)
all_platforms_midnightbsd(<code>midnightbsd</code><br/>๐ <em>MidnightBSD</em>)
all_platforms_netbsd(<code>netbsd</code><br/>๐ฉ <em>NetBSD</em>)
all_platforms_openbsd(<code>openbsd</code><br/>๐ก <em>OpenBSD</em>)
all_platforms_opensuse(<code>opensuse</code><br/>๐ฆ <em>openSUSE</em>)
all_platforms_oracle(<code>oracle</code><br/>๐ฆด <em>Oracle Linux</em>)
all_platforms_parallels(<code>parallels</code><br/>โ <em>Parallels</em>)
all_platforms_pidora(<code>pidora</code><br/>โ <em>Pidora</em>)
all_platforms_raspbian(<code>raspbian</code><br/>๐ <em>Raspbian</em>)
all_platforms_rhel(<code>rhel</code><br/>๐ฉ <em>RedHat Enterprise Linux</em>)
all_platforms_rocky(<code>rocky</code><br/>๐ <em>Rocky Linux</em>)
all_platforms_scientific(<code>scientific</code><br/>โ <em>Scientific Linux</em>)
all_platforms_slackware(<code>slackware</code><br/>โ <em>Slackware</em>)
all_platforms_sles(<code>sles</code><br/>๐ฆ <em>SUSE Linux Enterprise Server</em>)
all_platforms_solaris(<code>solaris</code><br/>๐ <em>Solaris</em>)
all_platforms_sunos(<code>sunos</code><br/>โ๏ธ <em>SunOS</em>)
all_platforms_ubuntu(<code>ubuntu</code><br/>๐ฏ <em>Ubuntu</em>)
all_platforms_unknown_linux(<code>unknown_linux</code><br/>๐ง <em>Unknown Linux</em>)
all_platforms_windows(<code>windows</code><br/>๐ช <em>Windows</em>)
all_platforms_wsl1(<code>wsl1</code><br/>โ <em>Windows Subsystem for Linux v1</em>)
all_platforms_wsl2(<code>wsl2</code><br/>โ <em>Windows Subsystem for Linux v2</em>)
all_platforms_xenserver(<code>xenserver</code><br/>โ <em>XenServer</em>)
end
subgraph "<code>click_extra.platforms.BSD_WITHOUT_MACOS</code><br/>๐
ฑ๏ธ <em>Any BSD but macOS</em>"
bsd_without_macos_freebsd(<code>freebsd</code><br/>๐ <em>FreeBSD</em>)
bsd_without_macos_midnightbsd(<code>midnightbsd</code><br/>๐ <em>MidnightBSD</em>)
bsd_without_macos_netbsd(<code>netbsd</code><br/>๐ฉ <em>NetBSD</em>)
bsd_without_macos_openbsd(<code>openbsd</code><br/>๐ก <em>OpenBSD</em>)
bsd_without_macos_sunos(<code>sunos</code><br/>โ๏ธ <em>SunOS</em>)
end
subgraph "<code>click_extra.platforms.UNIX</code><br/>โจท <em>Any Unix</em>"
unix_aix(<code>aix</code><br/>โฟ <em>IBM AIX</em>)
unix_altlinux(<code>altlinux</code><br/>โ <em>ALT Linux</em>)
unix_amzn(<code>amzn</code><br/>๐ <em>Amazon Linux</em>)
unix_android(<code>android</code><br/>๐ค <em>Android</em>)
unix_arch(<code>arch</code><br/>๐๏ธ <em>Arch Linux</em>)
unix_buildroot(<code>buildroot</code><br/>โ <em>Buildroot</em>)
unix_centos(<code>centos</code><br/>๐ <em>CentOS</em>)
unix_cloudlinux(<code>cloudlinux</code><br/>โ <em>CloudLinux OS</em>)
unix_cygwin(<code>cygwin</code><br/>ฯพ <em>Cygwin</em>)
unix_debian(<code>debian</code><br/>๐ <em>Debian</em>)
unix_exherbo(<code>exherbo</code><br/>โ <em>Exherbo Linux</em>)
unix_fedora(<code>fedora</code><br/>๐ฉ <em>Fedora</em>)
unix_freebsd(<code>freebsd</code><br/>๐ <em>FreeBSD</em>)
unix_gentoo(<code>gentoo</code><br/>๐๏ธ <em>Gentoo Linux</em>)
unix_guix(<code>guix</code><br/>โ <em>Guix System</em>)
unix_hurd(<code>hurd</code><br/>๐ <em>GNU/Hurd</em>)
unix_ibm_powerkvm(<code>ibm_powerkvm</code><br/>โ <em>IBM PowerKVM</em>)
unix_kvmibm(<code>kvmibm</code><br/>โ <em>KVM for IBM z Systems</em>)
unix_linuxmint(<code>linuxmint</code><br/>๐ฟ <em>Linux Mint</em>)
unix_macos(<code>macos</code><br/>๐ <em>macOS</em>)
unix_mageia(<code>mageia</code><br/>โ <em>Mageia</em>)
unix_mandriva(<code>mandriva</code><br/>โ <em>Mandriva Linux</em>)
unix_midnightbsd(<code>midnightbsd</code><br/>๐ <em>MidnightBSD</em>)
unix_netbsd(<code>netbsd</code><br/>๐ฉ <em>NetBSD</em>)
unix_openbsd(<code>openbsd</code><br/>๐ก <em>OpenBSD</em>)
unix_opensuse(<code>opensuse</code><br/>๐ฆ <em>openSUSE</em>)
unix_oracle(<code>oracle</code><br/>๐ฆด <em>Oracle Linux</em>)
unix_parallels(<code>parallels</code><br/>โ <em>Parallels</em>)
unix_pidora(<code>pidora</code><br/>โ <em>Pidora</em>)
unix_raspbian(<code>raspbian</code><br/>๐ <em>Raspbian</em>)
unix_rhel(<code>rhel</code><br/>๐ฉ <em>RedHat Enterprise Linux</em>)
unix_rocky(<code>rocky</code><br/>๐ <em>Rocky Linux</em>)
unix_scientific(<code>scientific</code><br/>โ <em>Scientific Linux</em>)
unix_slackware(<code>slackware</code><br/>โ <em>Slackware</em>)
unix_sles(<code>sles</code><br/>๐ฆ <em>SUSE Linux Enterprise Server</em>)
unix_solaris(<code>solaris</code><br/>๐ <em>Solaris</em>)
unix_sunos(<code>sunos</code><br/>โ๏ธ <em>SunOS</em>)
unix_ubuntu(<code>ubuntu</code><br/>๐ฏ <em>Ubuntu</em>)
unix_unknown_linux(<code>unknown_linux</code><br/>๐ง <em>Unknown Linux</em>)
unix_wsl1(<code>wsl1</code><br/>โ <em>Windows Subsystem for Linux v1</em>)
unix_wsl2(<code>wsl2</code><br/>โ <em>Windows Subsystem for Linux v2</em>)
unix_xenserver(<code>xenserver</code><br/>โ <em>XenServer</em>)
end
subgraph "<code>click_extra.platforms.UNIX_WITHOUT_MACOS</code><br/>โจ <em>Any Unix but macOS</em>"
unix_without_macos_aix(<code>aix</code><br/>โฟ <em>IBM AIX</em>)
unix_without_macos_altlinux(<code>altlinux</code><br/>โ <em>ALT Linux</em>)
unix_without_macos_amzn(<code>amzn</code><br/>๐ <em>Amazon Linux</em>)
unix_without_macos_android(<code>android</code><br/>๐ค <em>Android</em>)
unix_without_macos_arch(<code>arch</code><br/>๐๏ธ <em>Arch Linux</em>)
unix_without_macos_buildroot(<code>buildroot</code><br/>โ <em>Buildroot</em>)
unix_without_macos_centos(<code>centos</code><br/>๐ <em>CentOS</em>)
unix_without_macos_cloudlinux(<code>cloudlinux</code><br/>โ <em>CloudLinux OS</em>)
unix_without_macos_cygwin(<code>cygwin</code><br/>ฯพ <em>Cygwin</em>)
unix_without_macos_debian(<code>debian</code><br/>๐ <em>Debian</em>)
unix_without_macos_exherbo(<code>exherbo</code><br/>โ <em>Exherbo Linux</em>)
unix_without_macos_fedora(<code>fedora</code><br/>๐ฉ <em>Fedora</em>)
unix_without_macos_freebsd(<code>freebsd</code><br/>๐ <em>FreeBSD</em>)
unix_without_macos_gentoo(<code>gentoo</code><br/>๐๏ธ <em>Gentoo Linux</em>)
unix_without_macos_guix(<code>guix</code><br/>โ <em>Guix System</em>)
unix_without_macos_hurd(<code>hurd</code><br/>๐ <em>GNU/Hurd</em>)
unix_without_macos_ibm_powerkvm(<code>ibm_powerkvm</code><br/>โ <em>IBM PowerKVM</em>)
unix_without_macos_kvmibm(<code>kvmibm</code><br/>โ <em>KVM for IBM z Systems</em>)
unix_without_macos_linuxmint(<code>linuxmint</code><br/>๐ฟ <em>Linux Mint</em>)
unix_without_macos_mageia(<code>mageia</code><br/>โ <em>Mageia</em>)
unix_without_macos_mandriva(<code>mandriva</code><br/>โ <em>Mandriva Linux</em>)
unix_without_macos_midnightbsd(<code>midnightbsd</code><br/>๐ <em>MidnightBSD</em>)
unix_without_macos_netbsd(<code>netbsd</code><br/>๐ฉ <em>NetBSD</em>)
unix_without_macos_openbsd(<code>openbsd</code><br/>๐ก <em>OpenBSD</em>)
unix_without_macos_opensuse(<code>opensuse</code><br/>๐ฆ <em>openSUSE</em>)
unix_without_macos_oracle(<code>oracle</code><br/>๐ฆด <em>Oracle Linux</em>)
unix_without_macos_parallels(<code>parallels</code><br/>โ <em>Parallels</em>)
unix_without_macos_pidora(<code>pidora</code><br/>โ <em>Pidora</em>)
unix_without_macos_raspbian(<code>raspbian</code><br/>๐ <em>Raspbian</em>)
unix_without_macos_rhel(<code>rhel</code><br/>๐ฉ <em>RedHat Enterprise Linux</em>)
unix_without_macos_rocky(<code>rocky</code><br/>๐ <em>Rocky Linux</em>)
unix_without_macos_scientific(<code>scientific</code><br/>โ <em>Scientific Linux</em>)
unix_without_macos_slackware(<code>slackware</code><br/>โ <em>Slackware</em>)
unix_without_macos_sles(<code>sles</code><br/>๐ฆ <em>SUSE Linux Enterprise Server</em>)
unix_without_macos_solaris(<code>solaris</code><br/>๐ <em>Solaris</em>)
unix_without_macos_sunos(<code>sunos</code><br/>โ๏ธ <em>SunOS</em>)
unix_without_macos_ubuntu(<code>ubuntu</code><br/>๐ฏ <em>Ubuntu</em>)
unix_without_macos_unknown_linux(<code>unknown_linux</code><br/>๐ง <em>Unknown Linux</em>)
unix_without_macos_wsl1(<code>wsl1</code><br/>โ <em>Windows Subsystem for Linux v1</em>)
unix_without_macos_wsl2(<code>wsl2</code><br/>โ <em>Windows Subsystem for Linux v2</em>)
unix_without_macos_xenserver(<code>xenserver</code><br/>โ <em>XenServer</em>)
end
[!IMPORTANT] All the graphs above would be better off if merged. Unfortunately Graphviz is not capable of producing Euler diagrams. Only non-overlapping clusters can be rendered.
There's still a chance to have them supported by Mermaid so we can switch to that if the feature materialize.
Used in
Check these projects to get real-life examples of extra-platforms
usage:
- Meta Package Manager - A unifying CLI for multiple package managers.
- Click Extra - Drop-in replacement for Click to make user-friendly and colorful CLI.
Feel free to send a PR to add your project in this list if you are relying on Click Extra in any way.
Development
Development guidelines are the same as parent project Click Extra, from which extra-platforms
originated.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file extra_platforms-1.1.1.tar.gz
.
File metadata
- Download URL: extra_platforms-1.1.1.tar.gz
- Upload date:
- Size: 33.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7baf8f8de29d0eb595e14f7fb5f5d9445b7cedeeec29f1d1f24082adfd2b6056 |
|
MD5 | bfd8293e74783b0800aed0043d69e5d1 |
|
BLAKE2b-256 | 5a7640403a61efeb5cb12c69a9daa9acc21127daa605f66fe4c90f59fe44d6ba |
File details
Details for the file extra_platforms-1.1.1-py3-none-any.whl
.
File metadata
- Download URL: extra_platforms-1.1.1-py3-none-any.whl
- Upload date:
- Size: 23.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.0 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 90a5b31c434627eda0acb07b9e656833c6e0ef91dd1c690c4ae936bb4379f1f9 |
|
MD5 | 361ce8022cf13284fae2553f3167ee2b |
|
BLAKE2b-256 | 9aad0fd97f93cbe849f2cbf2eb0e85c441b2f92b0ca3c0c60ed7ce1f837fa6f4 |