class_docstr: Result of parsing a dataset URI/Path
  
  Attributes
  ----------
  path : str
      Parsed path. Includes the hostname and query string in the case
      of a URI.
  archive : str
      Parsed archive path.
  scheme : str
      URI scheme such as "https" or "zip+s3".
code: def from_uri(cls, uri):
      parts = urlparse(uri)
      path = parts.path
      scheme = parts.scheme or None
  
      if parts.query:
          path += "?" + parts.query
  
      if parts.scheme and parts.netloc:
          path = parts.netloc + path
  
      parts = path.split("!")
      path = parts.pop() if parts else None
      archive = parts.pop() if parts else None
      return ParsedPath(path, archive, scheme)
  
file_path: Fiona/fiona/path.py
imports: import re
  import sys
  import attr
  from urllib.parse import urlparse
label_desc: Use image node_id 1 for calling the ParsedPath obj's underlying member method code with example usage: obj.from_uri(cls, uri) and returns: ParsedPath