Functions and application in python and django for twitter's data minning