$npx skillfedfor your agent

extra-platforms

🔎 Detect architectures, platforms, shells, terminals, CI systems and agents, grouped by family

Worth itPyPI Python ModulesReleased Aug 2026135.1K downloads / moApache-2.0Pure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — extra_platforms-13.6.0-py3-none-any.whl
v13.6.0 · released 2026-08-03 · Python >=3.10

Yes. The package is actively maintained, has no dependencies, supports current Python versions (3.10+), carries a permissive license, and solves a real problem for cross-platform and CI-aware development. It is especially valuable if you write platform-conditional code, maintain pytest suites across multiple OS/arch combinations, or need to detect CI or AI agent environments.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.10 or later.
  • Low install friction with no runtime dependencies.
  • Actively maintained with recent release (11 days old) and steady commit activity.

License · maintenance · safety

Apache-2.0 (permissive) — Apache-2.0 permissive license allows commercial and private use with minimal restrictions.

last release 2026-08-03 (11 days) · last repo commit 2026-08-14 · 31 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 135,141 downloads/mo, #11,453 on PyPI

Verify before relying

pip install extra-platforms

from extra_platforms import current_platform, is_linux, LINUX
my_os = current_platform()
print(my_os.id, my_os.name, my_os.icon)
print(is_linux())
print(current_platform() in LINUX)
  • Whether the package's caching mechanism and heuristics are performant enough for frequent calls in tight loops.
  • Completeness and accuracy of CI environment detection across all supported systems.
  • How well the AI agent detection handles emerging or custom agent implementations.
Same gist for agents: .md · .json

What it is and what it does

Extra Platforms is a lightweight library that detects your runtime environment—CPU architecture, operating system (including specific Linux distributions), shell, terminal emulator, CI system, and AI coding agent—and exposes this information as rich, queryable metadata. It provides version numbers, codenames, icons, and canonical URLs for each detected component, and groups them into semantic families (BSD, UNIX, LINUX, etc.) for easier conditional logic.

The library is designed for zero external dependencies and uses lightweight heuristics (primarily reading `/etc/os-release` for Linux detection). It integrates with pytest via decorators and markers like `@skip_` and `@unless_` to make platform-aware testing concise. You can use it as a Python library, via the command line, or through the `python -m extra_platforms` module interface, with JSON output for scripting.

Use it for

  • Skip or run specific pytest tests only on certain platforms or architectures using decorators.
  • Detect if running inside a CI system and adjust build or test behavior accordingly.
  • Identify the current Linux distribution and apply distro-specific package or configuration logic.
  • Determine shell and terminal type to customize shell completions or output formatting.
  • Detect AI coding agents (Claude Code, Cursor, Cline) to enable or disable agent-specific features.
  • Group heterogeneous platforms into families for simplified multi-platform compatibility checks.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is actively maintained, has no dependencies, supports current Python versions (3.10+), carries a permissive license, and solves a real problem for cross-platform and CI-aware development. It is especially valuable if you write platform-conditional code, maintain pytest suites across multiple OS/arch combinations, or need to detect CI or AI agent environments.

Install

extra-platforms on PyPI

Before you install

Low install friction with no runtime dependencies. Actively maintained with recent release (11 days old) and steady commit activity.

Requires Python 3.10 or later.

License in practice

Apache-2.0 permissive license allows commercial and private use with minimal restrictions.

Quickstart

pip install extra-platforms

from extra_platforms import current_platform, is_linux, LINUX
my_os = current_platform()
print(my_os.id, my_os.name, my_os.icon)
print(is_linux())
print(current_platform() in LINUX)

Verify before relying

  • Whether the package's caching mechanism and heuristics are performant enough for frequent calls in tight loops.
  • Completeness and accuracy of CI environment detection across all supported systems.
  • How well the AI agent detection handles emerging or custom agent implementations.

Package facts

LicenseApache-2.0 permissive
Python supportSupports the current Python release >=3.10
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 11 days since the last release
Last repo commit
First released
Downloads135,141 / month, #11,453 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: ConsoleEnvironment :: MacOS XEnvironment :: WebAssemblyEnvironment :: WebAssembly :: EmscriptenEnvironment :: WebAssembly :: WASIEnvironment :: Win32 (MS Windows)Framework :: PytestIntended Audience :: DevelopersOperating System :: AndroidOperating System :: BeOSOperating System :: MacOSOperating System :: MacOS :: MacOS 9Operating System :: MacOS :: MacOS XOperating System :: MicrosoftOperating System :: Microsoft :: MS-DOSOperating System :: Microsoft :: WindowsOperating System :: Microsoft :: Windows :: Windows 10Operating System :: Microsoft :: Windows :: Windows 11Operating System :: Microsoft :: Windows :: Windows 3.1 or EarlierOperating System :: Microsoft :: Windows :: Windows 7Operating System :: Microsoft :: Windows :: Windows 8Operating System :: Microsoft :: Windows :: Windows 8.1Operating System :: Microsoft :: Windows :: Windows 95/98/2000Operating System :: Microsoft :: Windows :: Windows CEOperating System :: Microsoft :: Windows :: Windows NT/2000Operating System :: Microsoft :: Windows :: Windows Server 2003Operating System :: Microsoft :: Windows :: Windows Server 2008Operating System :: Microsoft :: Windows :: Windows VistaOperating System :: Microsoft :: Windows :: Windows XPOperating System :: OS IndependentOperating System :: OS/2Operating System :: Other OSOperating System :: PDA SystemsOperating System :: POSIXOperating System :: POSIX :: AIXOperating System :: POSIX :: BSDOperating System :: POSIX :: BSD :: BSD/OSOperating System :: POSIX :: BSD :: FreeBSDOperating System :: POSIX :: BSD :: NetBSDOperating System :: POSIX :: BSD :: OpenBSDOperating System :: POSIX :: GNU HurdOperating System :: POSIX :: HP-UXOperating System :: POSIX :: IRIXOperating System :: POSIX :: LinuxOperating System :: POSIX :: OtherOperating System :: POSIX :: SCOOperating System :: POSIX :: SunOS/SolarisOperating System :: PalmOSOperating System :: RISC OSOperating System :: UnixOperating System :: iOSProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Programming Language :: Python :: Implementation :: CPythonTopic :: Software Development :: Libraries :: Python ModulesTopic :: System :: HardwareTopic :: System :: Operating SystemTopic :: System :: Operating System KernelsTopic :: System :: Operating System Kernels :: BSDTopic :: System :: Operating System Kernels :: GNU HurdTopic :: System :: Operating System Kernels :: LinuxTopic :: UtilitiesTyping :: Typed

Evidence: extra_platforms-13.6.0-py3-none-any.whl

Tags

Capabilities
platform detectionos detection libraryarchitecture detectionci environment detectionlinux distribution detectionshell and terminal detectionpytest platform decorators
Topics
platform-detectionci-awarepytest-plugin
PyPI keywords
Agent detectionAlacrittyAlmaLinuxAlmquist ShellAlpine LinuxALT LinuxAmazon LinuxAndroidApple TerminalArch LinuxArchitecture detectionARM (32-bit)ARM64 (AArch64)ARMv5TE (little-endian)ARMv6 (little-endian)ARMv7 (little-endian)ARMv8 (32-bitlittle-endian)AT&T System FiveAzure PipelinesBambooBashBourne ShellBuildkiteBuildrootC shellCachyOSCentOSChromeOSCI detectionCircle CICirrus CIClaude CodeClear Linux OSClineCloudLinux OSCodeBuildCommand PromptContourCPU architectureCursorCygwinDashDebianDistro detectionDragonFly BSDEndeavourOSExherbo LinuxFedoraFishfootFreeBSDGeneric LinuxGentoo LinuxGhosttyGitHub Actions runnerGitLab CIGNOME TerminalGNU ScreenGNU/HurdGuix SystemHaikuHardware detectionHermetic BuildHeroku CIHyperIBM AIXIBM iIBM PowerKVMIBM z/Architecture (s390x)illumosIntel 80386 (i386)Intel Pentium (i586)Intel Pentium Pro (i686)iTerm2Kali LinuxKittyKonsoleKorn shellKVM for IBM z SystemsLinux distributionLinux MintLoongArch (64-bit)macOSMageiaMandriva LinuxManjaro LinuxMidnightBSDMIPS (32-bitbig-endian)MIPS (32-bitlittle-endian)MIPS64 (big-endian)MIPS64 (little-endian)multiplatformNetBSDNixOSNobaraNushellOpenBSDopenSUSEOpenWrtOracle LinuxOS detectionOS infoParallelsPidoraPikaOSPlatform detectionPowerPC (32-bit)PowerPC 64-bit (big-endian)PowerPC 64-bit (little-endian)PowerShellPytestPytest fixturesPytest pluginRaspbianRedHat Enterprise LinuxRioRISC-V (32-bit)RISC-V (64-bit)Rocky LinuxScientific LinuxShell detectionSlackwareSliTaz GNU/LinuxSolarisSource Mage GNU/LinuxSPARC (32-bit)SPARC (64-bit)SunOSSUSE Linux Enterprise ServerSystem informationTabbytcshTeamCityTerminal detectionTilixtmuxTravis CITuxedo OSUbuntuUltramarineUnixVoid LinuxVS Code TerminalWebAssembly (32-bit)WebAssembly (64-bit)WezTermWindowsWindows Subsystem for LinuxWindows Terminalx86-64 (AMD64)XenServerXonshxtermZellijZsh

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “linux distribution detection”

  • extra-platformsDetects and exposes rich metadata about runtime architecture, OS,…
  • distroDistro provides a reliable, machine-readable API to query the Linux…
  • Adafruit-PlatformDetectDetects the chip and board type of single-board computers and other…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also ci-info · distro · archspec · spandrel-extra-arches · py-cpuinfo · deepagents-code · certifi-linux · detect_agent · xattr · uptime