Machine code disassembly and IR translation library
Actively maintained. Last release 4 weeks ago, commits in 13 of the last 26 weeks. A safe choice.
$
pip install pypcodepypcode
Machine code disassembly and IR translation library for Python using the excellent SLEIGH library from the Ghidra framework.
This library was created primarily for use with angr, which provides analyses and symbolic execution of p-code.
Documentation covering how to install and use pypcode is available here.