<filename>src/connectBD.py<gh_stars>0
from pymongo import MongoClient

def connect():
    client = MongoClient("mongodb+srv://<user>:<password>@<url>")
    mydb = client.MercadoLivre
    return mydb
<filename>src/connectBD.py<gh_stars>0
from pymongo import MongoClient

def connect():
    client = MongoClient("mongodb+srv://<user>:<password>@<url>")
    mydb = client.MercadoLivre
    return mydb