from pymongo import MongoClient
uri='mongodb://demo-cosmos:UJvWeCLC1fTyOyqftqlfBU6PCCS9ynTtsXxfYf9vF214NIeFATe6lWdC2rtzYU5Qe4biZIjACLuL6FLZIvCBuA==@demo-cosmos.documents.azure.com:10255/?ssl=true&replicaSet=globaldb'
# print uri
client=MongoClient(uri)
print client.database_names()
db = client['muthudb']
# collection = db.items
# print collection
# cursor = db.items.find({ "amount":1})
cursor = db.find()
print cursor
# for document in cursor: 
    # print(document)


# print client