Simple script for connecting to MongoDB with Python