added python version of api with attendance pending and added pyc files to ignore