Skip to content

Instantly share code, notes, and snippets.


Brian Liotti bliotti

Block or report user

Report or block bliotti

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View Fortune500.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
bliotti /
Created Nov 18, 2019 — forked from artieziff/
MongoDb & Python Essentials


###Ubuntu Install

sudo apt-get install mongodb
pip install pymongo

Table - Collection
Column - Property
Row - Document

View MongoDB + Python cheat

Install MongoDB and Python wrapper (Ubuntu Linux)

sudo apt-get install -y mongodb-org
pip install pymongo
pip3 install pymongo

Start MongoDB daemon


MongoDB Cheat Sheet

Show All Databases

show dbs

Show Current Database

You can’t perform that action at this time.