code: def from_url(url):
          
          url = url.encode('ascii')
          scheme = None
          for k, v in EDDYSTONE_URL_SCHEMES.items():
              if url.startswith(v):
                  scheme = k
                  url = url[len(v):]
                  break
          else:
              raise Exception("URLs must start with EDDYSTONE_URL_SCHEMES")
  
          return Eddystone_Frame() / Eddystone_URL(
              url_scheme=scheme,
              url=url)
docs: Creates an Eddystone_Frame with a Eddystone_URL for a given URL.