This is the slide deck I use to introduce hackers to MongoDB when I have 2-5 minutes and I'm presenting at a hackathon. Hat tip to @samantharitter for the slide deck base, since all the wonderful design and most of the content is hers.
connect to the db connection = MongoClient() db = connection["hello_database"] collection = db["messages"] # create and save a document to the db doc = { "message" : "Hello, world!" } collection.save(doc) # get it back and print it out! result = collection.find_one() print result if __name__ == "__main__": main() FREE CODE!