2016-08-13 15:00:01 +01:00
2016-08-13 13:15:57 +01:00
2016-08-07 20:47:50 +01:00
2016-08-13 14:45:38 +01:00
2016-08-13 14:45:38 +01:00
2016-08-07 21:18:43 +01:00
2016-08-13 15:00:01 +01:00

LOOT API Python Module

AppVeyor Build Status

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

The module is at a very early stage of development and wraps an API that is itself still a work-in-progress.

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.

The build archives contain a loot_api.pyd and a loot_api.dll: see the usage section below on how to use them.

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.

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.is_compatible(0,9,0)
True

The DLL requires the Visual C++ 2015 Redistributable (x86) to be installed.

Note: The module is currently built against revision e40624c 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%