MongoDB with Python — a practical guide to Python MongoDB with clear examples you can reuse in real projects.
Python Tutorial Series (64/95). Prefer one article? Read the complete Python tutorial.
Short description
MongoDB stores JSON-like documents. PyMongo provides insert/find/update/delete APIs.
PyMongo sketch
# pip install pymongo
from pymongo import MongoClient
client = MongoClient('mongodb://localhost:27017')
db = client['demo']
db.users.insert_one({'name': 'Asha'})
print(list(db.users.find({}, {'_id': 0})))