def lfs_quote(string, encoding="utf-8"):
    return urllib.quote(string.encode(encoding))
Encodes passed string to passed encoding before quoting with
dataset/ETHPy150Open diefenbach/django-lfs/lfs/core/utils.py/lfs_quote