def b62encode(number):
    if not isinstance(number, (int, long)):
        raise TypeError('number must be an integer')
 
    # Special case for zero
    if number == 0:
        return '0'
 
    base62 = ''
 
    sign = ''
    if number < 0:
        sign = '-'
        number = - number
 
    while number != 0:
        number, i = divmod(number, len(ALPHABET))
        base62 = ALPHABET[i] + base62
 
    return sign + base62
Return the RPC profiler (appstats) results for this request, if any.
dataset/ETHPy150Open tamentis/vimpaste/vimpaste/tools.py/b62encode--crossover with--dataset/ETHPy150Open gae-init/gae-init-debug/main/libx/gae_mini_profiler/profiler.py/RequestProfiler.appstats_results