Python function library