Simple pymongo connection
# Python, Mongo, pymongo
# -*- coding: utf-8 -*-
from pymongo import MongoClient
import uuid
SAMPLE_ID = '61C74C27-EB0B-F242-9ED6-D8185B5BA084'
MONGO_USERNAME = 'mongoUserName'
MONGO_PASS = 'mongoPass'
MONGO_URI = 'mongodb://{}:{}@localhost:27017/'.format(MONGO_USERNAME, MONGO_PASS)
client = MongoClient(MONGO_URI)
db = client['db-name']
collection = db['collection-name']
for item in collection.find({"another-field-name": uuid.UUID(SAMPLE_ID)}):
print item['field-name']