We try to avoid importing everything if we don't need it. from pymongo import MongoClient