def single_client(h=host, p=port, **kwargs):
    return MongoClient(_connection_string(h, p), **kwargs)
Make a direct connection, and authenticate if necessary.
dataset/ETHPy150Open mongodb/mongo-python-driver/test/utils.py/single_client