archinfo
Classes with architecture-specific information useful to other projects.
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 archinfouv
uv add archinfopoetry
poetry add archinfoInstalling 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
Tags
More Software Development packages
Provides backported and experimental type hints…
permissive · top 100 on PyPI
numpyNumPy provides an N-dimensional array object…
permissive · top 100 on PyPI
fastapiFastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
distlibDistlib provides low-level packaging utilities…
permissive · top 1,000 on PyPI
angrangr is a binary analysis framework that…
permissive · top 5,000 on PyPI
ailmentAILment provides the intermediate language (IL)…
permissive · top 15,000 on PyPI
archspecArchspec provides APIs to detect, query, and…
permissive · top 15,000 on PyPI
angr-dataProvides bundled data files—function and type…
permissive · top 15,000 on PyPI
py-cpuinfoDetects and reports CPU…
permissive · top 1,000 on PyPI
cleCLE loads binary executables and shared…
permissive · top 5,000 on PyPI
ropperRopper displays binary file metadata and…
permissive · top 15,000 on PyPI
intel-openmpProvides Intel's OpenMP runtime library for…
unclear · top 5,000 on PyPI
mozinfoProvides system information detection for…
copyleft · top 15,000 on PyPI
evmdasmevmdasm provides a lightweight registry of…
copyleft · top 15,000 on PyPI