Issue #37: pyptlib integration