def get_requirements_file_from_url(url):
response = requests.get(url)<EOL>if response.status_code == <NUM_LIT:200>:<EOL><INDENT>return StringIO(response.text)<EOL><DEDENT>else:<EOL><INDENT>return StringIO("<STR_LIT>")<EOL><DEDENT>
fetches the requiremets from the url