Python API, Log, Event Server and Memory wrapper for ZoneMinder
Pythonic ZoneMinder wrapper
Latest documentation is available here. The documentation includes a full example.