python ghostscript は Ghostscript C API へのインターフェイスを実装する ctypes を使用して。低レベルと pythonic、高度なインターフェイスが用意されています。