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
- Collations
- Copying a Database
- Custom Type Example
- Bulk Write Operations
- Datetimes and Timezones
- Geospatial Indexing Example
- Gevent
- GridFS Example
- High Availability and PyMongo
- PyMongo and mod_wsgi
- Server Selector Example
- Tailable Cursors
- TLS/SSL and PyMongo
- Client-Side Field Level Encryption