code: def python_main(package: str, output: Optional[str]) -> None:
      assert package is not None, "--package must be provided"
      files = list_files(package)
      schemas = read_schemas(files)
  
      lines = gen_python(schemas)
  
      maybe_write_output(lines, output)
  
imports: import argparse
  import json
  import os
  import re
  import sys
  from typing import List, Optional, Tuple
label_desc: Use image node_id 15 for calling a global function with example usage: python_main(package, output) without return types