pymongo find by code example
Example 1: find by $in mongo
db.persons.find( { name: { $in: [ "John", "David", "Sarah" ] } } )
Example 2: pymongo find one
>>> import pprint
>>> pprint.pprint(posts.find_one())
{u'_id': ObjectId('...'),
u'author': u'Mike',
u'date': datetime.datetime(...),
u'tags': [u'mongodb', u'python', u'pymongo'],
u'text': u'My first blog post!'}