A simple wrapper of python core functions