Python APIs for Calculator Layers