import base64


def base64url_decode(src):
    """
    Decode URL-safe base64-encoded string without padding.

    :param src:
    :return:
    """
    return base64.urlsafe_b64decode(src + '=' * (len(src) % 4 ))