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.
29 lines
1.4 KiB
Markdown
29 lines
1.4 KiB
Markdown
LOOT API Python Module
|
|
=======================
|
|
|
|
[](https://ci.appveyor.com/project/WrinklyNinja/loot-api-python)
|
|
[](https://travis-ci.org/loot/loot-api-python)
|
|
[](http://loot-api-python.readthedocs.io/)
|
|
|
|
A Python module that wraps the LOOT API, generated by [pybind11](https://github.com/pybind/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](https://bintray.com/wrinklyninja/loot/loot-api-python). 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](http://loot-api-python.readthedocs.org/).
|
|
|
|
## Build Instructions
|
|
|
|
The module's build system uses [CMake](https://cmake.org/) and requires [Python](https://www.python.org) (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.
|