Use @captureOutput decorator to integrate the output of third-party Python libraries