Skip to content

Python Bindings

Ben Baker edited this page Aug 10, 2018 · 17 revisions

Python

Python3 bindings are available to interface to the xcloc library. Unless the library path is explicitly specified then it is important to understand that Python will scrape the system's load library path, LD_LIBRARY_PATH, in attempt to find the xcloc shared library. After the library is obtained a ctypes interface is used to directly call xcloc.

Getting Started

After installing xcloc and setting the LD_LIBRARY_PATH in one's bashrc, e.g,.

LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:/path/to/xcloc/lib

one can should now be ready to use the Python bindings.

Clone this wiki locally