code: def from_python_src(
          cls,
          pySrc,
          lambdas_path,
          json_filename: str,
          stem: str,
          save_file: bool = False,
      ):
          
          asts = [ast.parse(pySrc)]
          pgm_dict = genPGM.create_pgm_dict(
              lambdas_path,
              asts,
              json_filename,
              {"FileName": f"{stem}.py"},  # HACK
          )
          lambdas = importlib.__import__(stem + "_lambdas")
          return cls.from_dict(pgm_dict, lambdas)
docs: Builds GrFN object from Python source code.