$npx skillfedfor your agent

archspec

A library to query system architecture

With conditionsPyPI Software DevelopmentReleased May 2026348.4K downloads / moApache-2.0 OR MITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — archspec-0.2.6-py3-none-any.whl
v0.2.6 · released 2026-05-14 · Python !=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=3.6

Yes, if you need CPU microarchitecture detection and compatibility reasoning. Low install friction, no dependencies, permissive dual licensing (Apache-2.0 OR MIT), and active maintenance make it a safe choice. Alpha status means the API may evolve, but the library is already in production use. Not needed if your tool doesn't care about CPU-level compatibility or microarchitecture details.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction installation with no runtime dependencies.
  • Active maintenance with recent commits as of 2026-08-11, though still in Alpha status.

License · maintenance · safety

Apache-2.0 OR MIT (permissive) — Dual-licensed under Apache-2.0 OR MIT; users may choose either permissive license at their option, with no restrictions on commercial or private use.

last release 2026-05-14 (92 days) · last repo commit 2026-08-11 · 135 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 348,378 downloads/mo, #7,342 on PyPI

Verify before relying

pip install archspec

import archspec.cpu

host = archspec.cpu.host()
print(host.name)
  • Specific CPU models and microarchitectures supported by version 0.2.6
  • Performance characteristics when querying large architecture datasets
  • Stability guarantees given Alpha development status
Same gist for agents: .md · .json

What it is and what it does

Archspec is a Python library that provides standardized, human-readable labels for system architecture components—primarily CPU microarchitectures—and APIs to detect, query, and reason about compatibility relationships between them. It grew out of Spack and exposes functionality to identify what CPU architecture a system has, compare microarchitectures for compatibility, and model relationships between different CPU families and generations.

The library has no runtime dependencies and installs cleanly on Python 3.6 and later. It is actively maintained and suitable for integration into package managers, build systems, or any tool that needs to understand and work with CPU architecture compatibility. While still in Alpha, it has been in development since 2020-02-02 and is used in production contexts.

Use it for

  • Detect the CPU microarchitecture of a system to select optimized binaries or build flags
  • Compare microarchitectures to determine if a pre-built binary is compatible with a target system
  • Model CPU compatibility chains in package managers to avoid installing incompatible optimized builds
  • Query architecture metadata for system profiling or hardware inventory tools
  • Reason about CPU feature sets and generations for compiler optimization decisions

Worth the install?

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

With conditions

Yes, if you need CPU microarchitecture detection and compatibility reasoning.

Low install friction, no dependencies, permissive dual licensing (Apache-2.0 OR MIT), and active maintenance make it a safe choice. Alpha status means the API may evolve, but the library is already in production use. Not needed if your tool doesn't care about CPU-level compatibility or microarchitecture details.

Install

archspec on PyPI

Before you install

Low friction installation with no runtime dependencies. Active maintenance with recent commits as of 2026-08-11, though still in Alpha status.

License in practice

Dual-licensed under Apache-2.0 OR MIT; users may choose either permissive license at their option, with no restrictions on commercial or private use.

Quickstart

pip install archspec

import archspec.cpu

host = archspec.cpu.host()
print(host.name)

Verify before relying

  • Specific CPU models and microarchitectures supported by version 0.2.6
  • Performance characteristics when querying large architecture datasets
  • Stability guarantees given Alpha development status

Package facts

LicenseApache-2.0 OR MIT permissive
Python supportSupports the current Python release !=2.7.*,!=3.0.*,!=3.1.*,!=3.2.*,!=3.3.*,!=3.4.*,!=3.5.*,>=3.6
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceActively maintained 92 days since the last release
Last repo commit
First released
Downloads348,378 / month, #7,342 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 3 - AlphaIntended Audience :: DevelopersIntended Audience :: Information TechnologyIntended Audience :: Science/ResearchLicense :: Other/Proprietary LicenseOperating System :: MacOSOperating System :: POSIX :: LinuxOperating System :: UnixProgramming Language :: Python :: 3Programming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: archspec-0.2.6-py3-none-any.whl

Tags

Capabilities
cpu microarchitecture detectionsystem architecture compatibilitycpu model comparisonarchitecture labelingmicroarchitecture querieshardware compatibility checkingarchitecture metadata
Topics
cpu-architecturehardware-detectioncompatibility-checking

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 › “cpu microarchitecture detection”

  • archspecArchspec provides APIs to detect, query, and compare CPU…
  • py-cpuinfoDetects and reports CPU information—architecture, frequency, cache…
  • scaleneScalene profiles Python code to measure CPU, GPU, and memory…

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

More Software Development packages

typing-extensions Worth it
PyPI · Software Development · released Jul 2026

Provides backported and experimental type hints for Python 3.9+, allowing use of newer typing features on older Python versions and enabling early experimentation with type system PEPs before they enter the standard library.

PSF-2.0pure Python · 3.9+
1.9Bdownloads / mo
numpy Worth it
PyPI · Software Development · released Aug 2026

NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.

BSD-3-Clause AND 0BSD AND MIT AND Zlib AND CC0-1.0compiled wheel · 3.12+
1.1Bdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
annotated-doc With conditions
PyPI · Software Development · released Jul 2026

Provides a way to document function parameters, class attributes, return types, and variables inline using Python's `Annotated` type hint syntax instead of traditional docstrings.

MITpure Python · 3.9+
456.2Mdownloads / mo
typer Worth it
PyPI · Software Development · released Aug 2026

Typer builds command-line applications from Python functions using type hints, automatically generating help text, argument parsing, and shell completion.

Install it if you are building CLIs in Python.

MITpure Python · 3.10+
369.3Mdownloads / mo
distlib With conditions
PyPI · Software Development · released Jun 2026

Distlib provides low-level packaging utilities for building, distributing, and managing Python software—including metadata handling, version specifiers, wheel support, script installation, and dependency resolution.

permissive licensepure Python
323.3Mdownloads / mo

See also screeninfo · archinfo · Glances · extra-platforms · censys · python-binary-memcached · mozinfo · py-cpuinfo · Adafruit-PlatformDetect · impi-rt