/chdkptp.py

Python bindings for chdkptp

Primary LanguagePythonGNU General Public License v3.0GPL-3.0

chdkptp.py

Python bindings for chdkptp via an embedded, thread-safe Lua runtime (thanks to Stefan Behnel's lupa).

Requirements

  • C compiler
  • Lua 5.2, with headers
  • libusb, with headers
  • lupa, installed with the --no-luajit flag

Currently chdkptp.py only works when the lupa package is linked to Lua. However, by default the package links to LuaJIT, so make sure that you install it with the --no-luajit flag. It is best to do this via pip, before you install chdkptp.py:

$ pip install lupa --install-option='--no-luajit'

Documentation

Please refer to the API documentation on readthedocs.org