python version of social network tools