Python 2.7 or higher is required to use the binding and run its accompanying unit tests. If using a Python version prior to 3.4 install enum34 using
pip install enum34
The unit test uses PySoundFile for reading audio test files. It can be installed using
pip install pysoundfile
Using command line (from the root of the repository)
python binding/python/test_porcupine.py
Porcupine's Python binding uses ctypes to access Porcupine's C library. For an example usage refer to Python demo application.