mining twitter python class