Examples — PyMongo 2.7.2 documentation

# Examples

The examples in this section are intended to give in depth overviews of how to accomplish specific tasks with MongoDB and PyMongo.

Unless otherwise noted, all examples assume that a MongoDB instance is running on the default host and port. Assuming you have downloaded and installed MongoDB, you can start it like so:

    $ mongod

- Aggregation Examples
- Authentication Examples
- Bulk Write Operations
- Custom Type Example
- Geospatial Indexing Example
- Gevent
- GridFS Example
- High Availability and PyMongo
- PyMongo and mod_wsgi
- Requests