Example of simple circle packing using basic Python, pluss Cairo for visualization.
Strictly speaking this isn't even circle packing, it is an implementation similar to this thing by Jared Tarbell:
http://www.complexification.net/gallery/machines/boxFittingImg/index.php
Also contains a few other useful comments on how to use cairo.