PySHTOOLS exposes spherical harmonics related functions available in the Fortran SHTOOLS library to python. SHTOOLS is written by Mark Wieczorek.
PySHTOOLS has been made possible by F2PY which has allowed for quick and painless wrapping of the original Fortran code.
The definitions for spherical harmonics used in PySHTOOLS are the same as those SHTOOLS and these can found here.