initial stab at a python shim layer