Did I find the right examples for you? yes no

All Samples(6)  |  Call(0)  |  Derive(0)  |  Import(6)
Tools for connecting to MongoDB.

.. seealso:: Module :mod:`~pymongo.master_slave_connection` for
   connecting to master-slave clusters, and
   :doc:`/examples/high_availability` for an example of how to connect
   to a replica set, or specify a list of mongos instances for automatic
   failover.

To get a :class:`~pymongo.database.Database` instance from a
:class:`MongoClient` use either dictionary-style or attribute-style(more...)

src/m/o/motor-HEAD/motor/__init__.py   motor(Download)
import pymongo.database
import pymongo.errors
import pymongo.mongo_client
import pymongo.mongo_replica_set_client
import pymongo.son_manipulator

src/m/o/motor-0.2/motor/__init__.py   motor(Download)
import pymongo.database
import pymongo.errors
import pymongo.mongo_client
import pymongo.mongo_replica_set_client
import pymongo.son_manipulator

src/f/l/Flask-PyMongo-0.3.0/flask_pymongo/wrappers.py   Flask-PyMongo(Download)
 
from pymongo import collection
from pymongo import mongo_client
from pymongo import database
from pymongo import mongo_replica_set_client

src/f/l/flask-pymongo-HEAD/flask_pymongo/wrappers.py   flask-pymongo(Download)
 
from pymongo import collection
from pymongo import mongo_client
from pymongo import database
from pymongo import mongo_replica_set_client

src/p/y/pymongo-2.7/tools/benchmark.py   pymongo(Download)
import cProfile
 
from pymongo import mongo_client
from pymongo import ASCENDING
 

src/m/o/mongo-python-driver-HEAD/tools/benchmark.py   mongo-python-driver(Download)
import cProfile
 
from pymongo import mongo_client
from pymongo import ASCENDING