def sign(key, qs):
    """Signs the query string using the key."""
    sig = derive_signature(key, qs)
    return "%s&%s" % (qs, urlencode([("sig", sig)]))
dataset/ETHPy150Open agschwender/pilbox/pilbox/signature.py/sign/original