Registry / devops / idapro

idapro

JSON →
library0.0.8pypypiunverified

IDAPython is the official Python SDK for Hex-Rays IDA Pro disassembler. This PyPI package (version 0.0.8) provides the `idapython` module that allows loading and executing IDA scripts from outside IDA. It is a thin wrapper that communicates with a running IDA instance via IPC. Note that the standard IDAPython API (ida_*, idc, idautils) is only available inside IDA's embedded Python, not from this external package. Use for automation, script launching, and headless analysis.

pip install idapro
INSTALL
IMPORT
SIG · IDAPRO
I
idapro
devopspythonv0.0.8
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

idapython
import idapython
import idapro

Connect to a running IDA instance and execute a Python statement inside IDA's embedded Python environment.

import idapro ida = idapro.IDAPython() ida.execute("print('Hello from IDA')") ida.close()
idapython --version
Debug
Known issues
breakingThe 'idapro' package (PyPI version 0.0.8) is NOT the standard IDAPython SDK. The standard IDA Python modules (ida_*, idc, idautils) are NOT available via 'import idapro'. They are only available inside IDA's embedded Python interpreter.
fix
Use 'import idapro' only for the external wrapper. For standard IDAPython scripting, work inside IDA or use IDA's built-in Python environment.
affects: all
gotchaWhen using idapro.IDAPython(), ensure IDA Pro is already running and the IDAPython plugin is loaded. The connection may fail silently or with unclear errors if IDA is not ready.
fix
Start IDA Pro and open a database before running scripts that use 'idapro'.
affects: all
deprecatedSome older examples use 'idapython.IDAPython()' directly. This is no longer correct; you must import via 'from idapro import idapython' or use 'import idapro' and then 'idapro.IDAPython()'.
fix
Use 'from idapro import idapython' or simply 'import idapro' and call 'idapro.IDAPython()'.
affects: 0.0.8
gotchaThe 'execute' method runs code synchronously. For long-running scripts, use 'exec_async' (if available) or spawn a thread. The default timeout may cause script to hang.
fix
For non-blocking execution, check if 'ida.exec_async' is available or run code that completes quickly.
affects: all
Upgrade
Version history
0.0.8latest on PyPI · released Apr 28, 2026
Audit
Dependencies
pywin32optionalRequired on Windows for IPC
Agent activity
2 hits · last 30 days
node
2
Resources
idapro — pip install idapro · libregistry