code: def get_requirements(source):
      
  
      install_reqs = parse_requirements(filename=source, session=PipSession())
  
      return [str(ir.req) for ir in install_reqs]
docs: Get the requirements from the given ``source``
  
      Parameters
      ----------
      source: str
          The filename containing the requirements