docs: def sha1sum_url(url):
      '''Return the secure hash digest with sha1 algorithm for a given url
  
      >>> url = "https://github.com/yomguy/timeside-samples/raw/master/samples/guitar.wav"
      >>> print sha1sum_url(url)
      08301c3f9a8d60926f31e253825cc74263e52ad1
  
      '''
      import hashlib
      import urllib
      from contextlib import closing
  
      sha1 = hashlib.sha1()
      chunk_size = sha1.block_size * 8192
  
      max_file_size = 10 * 1024 * 1024  # 10Mo limit in case of very large file
  
      total_read = 0
      with closing(urllib.urlopen(url)) as url_obj:
          for chunk in iter(lambda: url_obj.read(chunk_size), b''):
              sha1.update(chunk)
              total_read += chunk_size
              if total_read > max_file_size:
                  break
  
      return sha1.hexdigest()