Example native extension module for python