def get_blockcypher_walletname_from_mpub(mpub, subchain_indices=[]):

    #  http://stackoverflow.com/a/19877309/1754586
    mpub = mpub.encode('utf-8')

    if subchain_indices:
        mpub += ','.join([str(x) for x in subchain_indices]).encode('utf-8')
    return 'X%s' % sha256(mpub).hexdigest()[:24]
>>> from defcon.objects.contour import Contour
dataset/ETHPy150Open blockcypher/blockcypher-python/blockcypher/utils.py/get_blockcypher_walletname_from_mpub--crossover with--dataset/ETHPy150Open typesupply/defcon/Lib/defcon/objects/glyph.py/_testAppendContour