def get_requirements(source):
install_reqs = parse_requirements(filename=source, session=PipSession())<EOL>return [str(ir.req) for ir in install_reqs]<EOL>
Get the requirements from the given ``source``

    Parameters
    ----------
    source: str
        The filename containing the requirements