Simplified python interface