academia-mongodb-lab-python

Lab using MongoDB with Python (PyMongo driver). Created for educational use by the MongoDB for Academia program.

OTHER License

Stars
19
Committers
1

MongoDB Lab - Using MongoDB with Python

This is a lab designed to provide practice using MongoDB with Python, using the PyMongo driver.

Educators and learners are welcome to use this lab for non-commercial purposes, under the terms of its license.

This material is a resource developed by the MongoDB for Academia program, which offers resources and support to educators and students teaching and learning with MongoDB.

Format

The lab consists of five sections, with a total of 22 exercises:

  1. Connect to MongoDB & explore your data (4 exercises)
  2. Basic queries (5 exercises)
  3. More complex queries (4 exercises)
  4. Creating and manipulating documents (4 exercises)
  5. Using aggregation pipelines (5 exercises)

Each section is in a Jupyter Notebook. The lab is designed to be completed interactively in the browser in cloud-hosted Jupyter Notebooks created with Binder.

Maximum concurrent users

The maximum number of simultaneous users for a given Binder repo is 100. For this reason, please avoid using this lab with Binder for large classes. If you have need for more concurrent users, consider running the lab locally by cloning the repo and running on a local Jupyter server.

Usage

  1. Click the 'Launch Binder' button to load the lab.
    Binder
  1. The binder will start to load w/ screen below. (Repo name & URL have changed since screenshots were taken.) No action needed from your side.

Contribution

Please create an Issue for any improvements, suggestions or errors in the content.

Acknowledgements

This lab makes use of the following open-source projects:

  • The BinderHub deployment at mybinder.org for creating an easy way to share a custom computing environment for an educational resource. Thank you to all Binder contributors & supporters!
  • binder-mongo for the template example of running MongoDB in Binder on which this lab is based. binder-mongo is licensed under the MIT License. Thank you @psychemedia!

License

This project is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.