Shows how to use MongoDB from Python with a simple example exercise.
An example json file will be populated in MangoDB from Python.
Steps:
1- Download the example json file from: http://chargepoints.dft.gov.uk/api/retrieve/registry/format/json
This data is distributed under the OGL: http://www.nationalarchives.gov.uk/doc/open-government-licence/version/3/
2- Install MangoDB: https://docs.mongodb.com/manual/administration/install-community/
3- Install pymongo: I used 'pip3 install pymongo'
But, here is the offical doc.: https://docs.opsmanager.mongodb.com/v1.2/monitoring/tutorial/install-pymongo/
4- Install Jupyter Notebook: https://jupyter.readthedocs.io/en/latest/install.html
5- Clone this repo: git clone https://github.com/tomasdembelli/pymangoExample.git
6- Start the Jupyter Notebook from the folder where the local repo lives.
7- Follow the comments in the Jupyter Notebook file.
-
Notifications
You must be signed in to change notification settings - Fork 0
tomasdembelli/mongoDB_in_python
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
Shows how to use MongoDB from Python with a simple example exercise.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published