Skip to content

jdrumgoole/intro-to-mongodb-with-python

Repository files navigation

intro-to-mongodb-with-python

Get started using MongoDB and the Python programming language.

Ideally set up a free tier on MongoDB Atlas for running these demos.

For local instances of MongoDB use http://localhost:27017.

  • 1_mping.py : How to use the isMaster command to ping a MongoDB database
  • 2_inserter.py : How to insert data using insert_one and insert_many
  • 3_finder.py : How to query data in MongoDB
  • 4_distincter.py : How to use the distinct command to find all values of a field
  • 5_updater.py : How to update documents in MongoDB
  • 6_indexer_explainer.py : How to index collections and also measure query performance.
  • 7_deleter.py : How to delete data from a collection.

For the aggregation demos you will need access to a public data set. Please email Joe.Drumgoole@mongodb.com who can grant access on Atlas.

About

Get started using MongoDB and the Python programming language

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages