Verwenden Sie Mongo Replica Set Python

pymongo.MongoClient("mongodb://HOST1:PORT1,HOST2:PORT2,.../?replicaset=<<REPLICA_SET_NAME>>")
Tense Tarantula