Pyptlib integration