from pymongo import MongoClient
import getpass
import json
import pandas as pd

#Get Password
password = getpass.getpass("Insert your AtlasMongoDB admin_1019 password: ")
connection = "mongodb+srv://alfpml:{}@cluster0-c3fib.mongodb.net/test?retryWrites=true&w=majority".format(password)

#Connect to DB
client = MongoClient(connection)
def connectCollection(database, collection):
    db = client[database]
    coll = db[collection]
    return db, coll
4e28d35637a485fef8fcc15fcb5e7c62ee13553a
<mask token>

<mask token>


def connectCollection(database, collection):
    db = client[database]
    coll = db[collection]
    return db, coll

<mask token>
password = getpass.getpass('Insert your AtlasMongoDB admin_1019 password: ')
connection = (
    'mongodb+srv://alfpml:{}@cluster0-c3fib.mongodb.net/test?retryWrites=true&w=majority'
    .format(password))
client = MongoClient(connection)


def connectCollection(database, collection):
    db = client[database]
    coll = db[collection]
    return db, coll

from pymongo import MongoClient
import getpass
import json
import pandas as pd
password = getpass.getpass('Insert your AtlasMongoDB admin_1019 password: ')
connection = (
    'mongodb+srv://alfpml:{}@cluster0-c3fib.mongodb.net/test?retryWrites=true&w=majority'
    .format(password))
client = MongoClient(connection)


def connectCollection(database, collection):
    db = client[database]
    coll = db[collection]
    return db, coll

from pymongo import MongoClient
import getpass
import json
import pandas as pd

#Get Password
password = getpass.getpass("Insert your AtlasMongoDB admin_1019 password: ")
connection = "mongodb+srv://alfpml:{}@cluster0-c3fib.mongodb.net/test?retryWrites=true&w=majority".format(password)

#Connect to DB
client = MongoClient(connection)
def connectCollection(database, collection):
    db = client[database]
    coll = db[collection]
    return db, coll