def hexdigest(self):
        return "".join([hex(ord(x))[2:].zfill(2)
                        for x in tuple(self.digest())])
For GEOS routines that return geometries from an index.
dataset/ETHPy150Open babble/babble/include/jython/Lib/hmac.py/HMAC.hexdigest--crossover with--dataset/ETHPy150Open AppScale/appscale/AppServer/lib/django-1.4/django/contrib/gis/geos/prototypes/geom.py/geom_index