This is a python module aiming to expose common API events from a Hikvision IP camera or nvr. Most rebadged models work as well with full functionality.
Code is licensed under the MIT license.
If internal callback methods are used no external libraries are required, otherwise:
pip install pyhik
import pyhik.hikvision camera = pyhik.hikvision.HikCamera('http://X.X.X.X', port=80, usr='admin', pwd='1234')