{"id":14956476,"url":"https://github.com/mongodb/academia-mongodb-lab-python","last_synced_at":"2025-10-25T23:23:08.669Z","repository":{"id":66021562,"uuid":"443092652","full_name":"mongodb/academia-mongodb-lab-python","owner":"mongodb","description":"Lab using MongoDB with Python (PyMongo driver). Created for educational use by the MongoDB for Academia program.","archived":false,"fork":false,"pushed_at":"2022-02-22T16:35:29.000Z","size":3497,"stargazers_count":19,"open_issues_count":0,"forks_count":8,"subscribers_count":9,"default_branch":"main","last_synced_at":"2025-01-29T09:43:38.988Z","etag":null,"topics":["mongodb","pymongo","python"],"latest_commit_sha":null,"homepage":"","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mongodb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-12-30T14:06:32.000Z","updated_at":"2024-12-03T09:08:22.000Z","dependencies_parsed_at":"2023-03-10T23:29:39.824Z","dependency_job_id":null,"html_url":"https://github.com/mongodb/academia-mongodb-lab-python","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Facademia-mongodb-lab-python","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Facademia-mongodb-lab-python/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Facademia-mongodb-lab-python/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mongodb%2Facademia-mongodb-lab-python/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mongodb","download_url":"https://codeload.github.com/mongodb/academia-mongodb-lab-python/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237088409,"owners_count":19253565,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["mongodb","pymongo","python"],"created_at":"2024-09-24T13:13:06.167Z","updated_at":"2025-10-19T07:31:05.565Z","avatar_url":"https://github.com/mongodb.png","language":"Jupyter Notebook","readme":"\u003cdiv align='center'\u003e\n \n# MongoDB Lab - Using MongoDB with Python \n [![CC BY-NC-SA 4.0][cc-by-nc-sa-shield]][cc-by-nc-sa]\n \n\u003c/div\u003e\n\u003cbr\u003e\n\nThis is a lab designed to provide practice using MongoDB with Python, using the [PyMongo](https://docs.mongodb.com/drivers/pymongo/) driver. \n\nEducators and learners are welcome to use this lab for non-commercial purposes, under the terms of its [license](https://creativecommons.org/licenses/by-nc-sa/4.0/). \n\nThis material is a resource developed by the [MongoDB for Academia](https://www.mongodb.com/developer/academia/) program, which offers resources and support to educators and students teaching and learning with MongoDB. \n\n## Format \nThe lab consists of five sections, with a total of 22 exercises: \n1. **Connect to MongoDB \u0026 explore your data** (4 exercises)\n2. **Basic queries** (5 exercises)\n3. **More complex queries** (4 exercises)\n4. **Creating and manipulating documents** (4 exercises)\n5. **Using aggregation pipelines** (5 exercises)\n\nEach section is in a [Jupyter Notebook](https://jupyter.org/). The lab is designed to be completed interactively in the browser in cloud-hosted Jupyter Notebooks created with [Binder](https://mybinder.org/). \n\n## Maximum concurrent users\nThe 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.\n\n## Usage\n1. Click the 'Launch Binder' button to load the lab. \n[![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/mongodb/academia-mongodb-lab-python/HEAD?labpath=Contents.ipynb)\n\n\u003c!--Badge to launch repo without navigating to specific notebook --\u003e\n\u003c!-- [![Binder](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/mongodb/academia-mongodb-lab-python/HEAD?labpath=Contents.ipynb)\n --\u003e\n2. The binder will start to load w/ screen below. (Repo name \u0026 URL have changed since screenshots were taken.) No action needed from your side. \n\u003cimg width=\"1745\" alt=\"Screen Shot 2022-01-03 at 9 07 29 PM\" src=\"https://user-images.githubusercontent.com/45462803/148000414-0c5890ce-6af0-4d22-b095-bf1c335a55e4.png\"\u003e\n3. Loading will continue w/ screen below. Continue to wait. This may take a minute or two.\n\u003cimg width=\"1766\" alt=\"Screen Shot 2022-01-03 at 9 40 19 PM\" src=\"https://user-images.githubusercontent.com/45462803/148002500-b3b52791-fdbb-47d5-a8dc-3d2dcc45816b.png\"\u003e\n4. Screen below will appear when loading is complete.\n\u003cimg width=\"1724\" alt=\"Screen Shot 2022-01-03 at 9 08 07 PM\" src=\"https://user-images.githubusercontent.com/45462803/148000464-52c58467-5c15-42fc-a79b-1e8a4108523d.png\"\u003e\n\n## Contribution\nPlease create an [Issue](https://github.com/mongodb/academia-mongodb-lab-python/issues) for any improvements, suggestions or errors in the content.\n\n## Acknowledgements\nThis lab makes use of the following open-source projects:\n* The [BinderHub](https://github.com/jupyterhub/binderhub) deployment at [mybinder.org](https://mybinder.org/) for creating an easy way to share a custom computing environment for an educational resource. Thank you to all [Binder](https://jupyter.org/binder) contributors \u0026 supporters!  \n* [binder-mongo](https://github.com/ouseful-template-repos/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](https://github.com/ouseful-template-repos/binder-mongo/blob/master/LICENSE). Thank you [@psychemedia](https://github.com/psychemedia)!\n\n## License\nThis project is licensed under a\n[Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License][cc-by-nc-sa]. \n\n\u003c!-- [![CC BY-NC-SA 4.0][cc-by-nc-sa-image]][cc-by-nc-sa] --\u003e\n\n[cc-by-nc-sa]: http://creativecommons.org/licenses/by-nc-sa/4.0/\n[cc-by-nc-sa-image]: https://licensebuttons.net/l/by-nc-sa/4.0/88x31.png\n[cc-by-nc-sa-shield]: https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-lightgrey.svg\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb%2Facademia-mongodb-lab-python","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmongodb%2Facademia-mongodb-lab-python","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmongodb%2Facademia-mongodb-lab-python/lists"}