I am becoming more acquainted with QuantLib as a platform. I've been using both the python implementation and QuantLib XL. As I have started to look at CDS, I would like to know if there is a definitive guide to pricing CDS to match the outputs from Bloomberg? I have come across several old threads, but I can't seem to find a definitive successful example. If anyone can point me in the right direction, ideally in Python it would be appreciated.
Thanks