python shims