def repository_client_factory(*args, **kwargs):
    # short-term TODO: detect between Nexus and NexusPro
    # long-term TODO: detect and support also Artifactory and ArtifactoryPro
    return NexusProRepositoryClient(*args, **kwargs)
Detects which kind of repository user wants to use and returns appropriate instance of it.
dataset/ETHPy150Open stardust85/repositorytools/repositorytools/lib/repository.py/repository_client_factory