skillfed

archinfo

Classes with architecture-specific information useful to other projects.

archinfo v9.3.2 916.9K downloads/30d#4,727 on PyPI97
Permissive license BSD-2-Clause Active released

What it is and what it does

archinfo is a library that encapsulates architecture-specific information into reusable classes. It was designed to support cross-architecture tools by providing a consistent, programmatic interface to CPU architecture details—instruction set properties, register layouts, calling conventions, and other platform-specific metadata. Rather than hardcoding architecture details throughout a tool, developers can query archinfo for the information they need.

The package has no runtime dependencies and is lightweight, making it suitable for embedding in larger analysis or reverse-engineering frameworks. It supports modern Python versions (3.12+) and has been actively maintained since its initial release in 2015.

Use it for:

  • Query CPU architecture properties in binary analysis or emulation tools that need to adapt behavior per target platform.
  • Build cross-platform reverse-engineering frameworks that require programmatic access to architecture-specific metadata.
  • Retrieve calling convention and ABI details for a given processor architecture in static analysis.
  • Integrate architecture metadata into dynamic analysis or symbolic execution engines.
  • Support architecture-agnostic tool development by centralizing platform-specific information.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides architecture-specific metadata and information classes for cross-architecture tools, enabling programmatic access to CPU, instruction set, and platform details.

Yes. archinfo is a lightweight, actively maintained library with zero dependencies, permissive licensing, and no known vulnerabilities. Install it if you are building or using cross-architecture tools that need programmatic access to architecture-specific metadata. It is not a general-purpose utility; install only if your project actually needs this information.

Install

archinfo on PyPI

pip

pip install archinfo

uv

uv add archinfo

poetry

poetry add archinfo

Installing archinfo

Before you install

Low install friction with no runtime dependencies. Active maintenance: last commit 2026-08-14, released 2026-08-05. Requires Python 3.12 or later.

License in practice

BSD-2-Clause is permissive; you may use, modify, and distribute this package with minimal restrictions, provided you retain the license notice.

Quickstart

pip install archinfo

import archinfo
arch = archinfo.arch_from_id('arm')
print(arch.bits, arch.name)

Requires Python 3.12 or later.

Verify before relying

  • What specific architecture types and metadata fields are available in the API.
  • Whether archinfo is actively used by pyvex and other cross-architecture tools as described.
  • What calling convention, ABI, and register layout details the package exposes.

Package facts

License BSD-2-Clause (permissive)
Python support supports the current Python release (>=3.12)
Install friction low — pure-Python wheel
Runtime dependencies none
Maintenance actively maintained — 9 days since the last release
Last repo commit
First released
Downloads 916,939/month — #4,727 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: archinfo-9.3.2-py3-none-any.whl

Programming Language :: Python :: 3Programming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14

Tags

architecture metadatacpu instruction set infocross-platform architecture detailsprocessor architecture classesbinary analysis architecture support
binary-analysisarchitecture-metadata

More Software Development packages