post = {'author': 'Mike', 'text': 'My first blog post!', 'tags': ['mongodb',
    'python', 'pymongo'], 'date': datetime.datetime.utcnow()}
posts = db.posts
posts.insert(post)
posts.find_one({'author': 'Mike'})
Python, store a dict in a database