mirror of
https://github.com/loot/libloot-python.git
synced 2026-07-27 14:14:13 -07:00
This is a breaking change: - LanguageCode has been removed - The SimpleMessage Python class is now "SimpleMessage", from "Message" - DatabaseInterface::sort_plugins() has been removed - DatabaseInterface::get_plugin_messages() has been replaced with DatabaseInterface::get_plugin_metadata() followed by PluginMetadata::get_simple_messages() - set_logging_verbosity(), set_log_file() and initialise_locale() have been added Not everything in the v0.11 API has been wrapped, to limit the potential for future breaking changes. The PluginTags struct and PluginCleanliness enum and their associated functions have been re-implemented as part of the Python wrapper as they were removed from the API due to no longer exposing any additional functionality but are still useful.
1.4 KiB
1.4 KiB
LOOT API Python Module
A Python module that wraps the LOOT API, generated by pybind11. Not everything in the API is exposed: coverage can be extended on request (or by pull request).
Downloads
Snapshot builds are available on Bintray. The snapshot build archives are named like so:
loot_api_python-<short revision ID>-win32.7z
For example loot_api_python-94de368-win32.7z was built using the revision with shortened commit ID 94de368.
Documentation
The documentation can be found online at Read The Docs.
Build Instructions
The module's build system uses CMake and requires Python (tested with 2.7). Make sure they're installed, then run CMake, and build the generated solution file.
Only Windows support has been tested, though Linux builds should also be possible.