code: def from_rep(u):
          
          if isinstance(u, pyversion.string_types):
              return uuid.UUID(u)
  
          # hack to remove signs
          a = ctypes.c_ulong(u[0])
          b = ctypes.c_ulong(u[1])
          combined = a.value << 64 | b.value
          return uuid.UUID(int=combined)
docs: Given a string, return a UUID object.