Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mongodb/academia-mongodb-lab-python
Lab using MongoDB with Python (PyMongo driver). Created for educational use by the MongoDB for Academia program.
https://github.com/mongodb/academia-mongodb-lab-python
mongodb pymongo python
Last synced: 3 months ago
JSON representation
Lab using MongoDB with Python (PyMongo driver). Created for educational use by the MongoDB for Academia program.
- Host: GitHub
- URL: https://github.com/mongodb/academia-mongodb-lab-python
- Owner: mongodb
- License: other
- Created: 2021-12-30T14:06:32.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-02-22T16:35:29.000Z (almost 3 years ago)
- Last Synced: 2024-09-27T17:01:58.422Z (4 months ago)
- Topics: mongodb, pymongo, python
- Language: Jupyter Notebook
- Homepage:
- Size: 3.33 MB
- Stars: 18
- Watchers: 9
- Forks: 7
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# MongoDB Lab - Using MongoDB with Python
[![CC BY-NC-SA 4.0][cc-by-nc-sa-shield]][cc-by-nc-sa]
This is a lab designed to provide practice using MongoDB with Python, using the [PyMongo](https://docs.mongodb.com/drivers/pymongo/) driver.
Educators 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/).
This 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.
## 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](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/).
## 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](https://mybinder.org/badge_logo.svg)](https://mybinder.org/v2/gh/mongodb/academia-mongodb-lab-python/HEAD?labpath=Contents.ipynb)2. The binder will start to load w/ screen below. (Repo name & URL have changed since screenshots were taken.) No action needed from your side.
3. Loading will continue w/ screen below. Continue to wait. This may take a minute or two.
4. Screen below will appear when loading is complete.## Contribution
Please create an [Issue](https://github.com/mongodb/academia-mongodb-lab-python/issues) for any improvements, suggestions or errors in the content.## Acknowledgements
This lab makes use of the following open-source projects:
* 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 & supporters!
* [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)!## License
This project is licensed under a
[Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License][cc-by-nc-sa].[cc-by-nc-sa]: http://creativecommons.org/licenses/by-nc-sa/4.0/
[cc-by-nc-sa-image]: https://licensebuttons.net/l/by-nc-sa/4.0/88x31.png
[cc-by-nc-sa-shield]: https://img.shields.io/badge/License-CC%20BY--NC--SA%204.0-lightgrey.svg