There seems to be a glut of Python wrappers for PAM that have since been abandoned. This repo merges two separate efforts:
Both projects appear to be abandoned, with no response to issues or pull requests in at least a year, and I need it for JupyterHub.
Install:
pip install pamela
Test:
python -m pamela -a `whoami`