Oliver Hamlet 123820a9ea Update to wrap the C++ API
The C API's use of output parameters is incompatible with function
calls made to the Python wrapper.
2016-08-13 13:15:57 +01:00
2016-08-13 13:15:57 +01:00
2016-08-07 20:47:50 +01:00
2016-08-13 13:15:57 +01:00
2016-08-07 21:18:43 +01:00

LOOT API Python Module

A Python module that wraps the LOOT API, generated by pybind11.

Build Instructions

The module's build system uses CMake, so make sure it's installed, then run it, and build the generated solution file.

Only Windows support has been tested, though Linux builds should also be possible.

Usage

Copy the loot_api.pyd file that is built and the loot_api.dll file in the same directory to wherever you wish to import the module from, then:

>>> import loot_api
>>> loot_api.loot_is_compatible(0,9,0)
True

Note: The module is currently built against revision 22d0577 of the API, which is post-0.9.2 and pre-0.10.0, but uses the v0.10 metadata syntax (as specified at that revision, in case there are further changes before the v0.10 release).

S
Description
No description provided
Readme GPL-3.0
194 KiB
Languages
C++ 51.1%
Python 28%
CMake 20.9%