ida-settings is a Python library (current version 3.3.0) designed for IDA Pro plugins to fetch configuration values from a shared, centralized settings infrastructure. It provides a standardized way for plugins to retrieve and manage user-defined settings within the IDA Pro environment. The library is specifically intended for use within IDA Pro and its plugin ecosystem and does not operate as a standalone utility.
pip install ida-settingsVerified import paths — ran on the pinned version, not inferred.
This quickstart demonstrates how to import `ida_settings` and retrieve a configuration value for the current plugin using `get_current_plugin_setting`. It also shows how to check for the existence of a setting. This code snippet is designed to be executed within an IDA Pro plugin environment.
Ensure that any code utilizing `ida-settings` is executed as part of an IDA Pro plugin.
Always use the provided `ida_settings` functions to fetch, set, or delete configuration values.
Consult the IDA Pro 9.0 release notes and developer guides (especially for IDAPython) when upgrading your IDA Pro installation to ensure compatibility for your entire plugin suite.
Ensure 'ida-settings' is installed in the Python environment IDA Pro is configured to use (e.g., `pip install ida-settings`). If IDA Pro is not using the correct Python interpreter, use `idapyswitch.exe` (located in IDA's installation directory) to point IDA to the Python installation where `ida-settings` is installed.
Verify that PyQt5 (and its dependencies) are correctly installed and compatible with the Python version IDA Pro is utilizing. In some cases, copying the `sip.pyd` file from your Python `site-packages/PyQt5` directory to IDA's internal `python/3/PyQt5` directory (or similar) can resolve the issue. Ensure IDA Pro is configured to use a stable and well-configured Python environment via `idapyswitch.exe`.
Ensure that the setting 'your_setting_key_name' is declared in the plugin's `ida-plugin.json` file with a default value, or that it has been set by the user using the `hcli` command-line tool or IDA Pro's 'Plugin Settings Manager' GUI.
No dependency data recorded yet.