posts = pymongo.MongoClient('localhost', 27017)['db']['colection']
res = posts.find({'geography': {'$regex': '/europe/', '$options': 'i'}}
    ).distinct('geography')
print(type(res))
res.sort()
How to query for distinct results in mongodb with python?