py_function_wrapper function

Scaffold R wrappers for Python functions