def get_requirement_from_url(url):
    link = Link(url)
    egg_info = link.egg_fragment
    if not egg_info:
        egg_info = splitext(link.filename)[0]
    return package_to_requirement(egg_info)
Initialize all valid properties.
dataset/ETHPy150Open GeekTrainer/Flask/Work/Trivia - Module 5/env/Lib/site-packages/pip/index.py/get_requirement_from_url--crossover with--dataset/ETHPy150Open smart-on-fhir/client-py/fhirclient/models/operationdefinition.py/OperationDefinitionParameter.__init__