def repositories(request):
    '\n    Get full list (up to 100) for the current user\n\n    arguments:\n        :request: GET HTTP request\n\n    returns:\n        Rendered repositories page\n    '
    if (not request.session.get('github_token')):
        return HttpResponseRedirect(reverse('index'))
    repos_per_language = github_util.get_repositories(request.session['github_token'])
    combined_repos = dict()
    for (language, repos) in repos_per_language.items():
        for repo in repos:
            if (not repo['object']):
                continue
            date_time = repo['updatedAt']
            date = date_time.split('T')[0]
            repo['date'] = date
            repo['nameWithOwnerEscaped'] = urllib.parse.quote_plus(repo['nameWithOwner'])
            repo['language'] = language
            if parse_dependencies(repo['object']['text'], language, True):
                combined_repos[repo['nameWithOwner']] = repo
    return render(request, 'webservice/repositories.html', {'repos': combined_repos.values()})
Get full list (up to 100) for the current user

arguments:
    :request: GET HTTP request

returns:
    Rendered repositories page
def repositories(request):
    '\n    Get full list (up to 100) for the current user\n\n    arguments:\n        :request: GET HTTP request\n\n    returns:\n        Rendered repositories page\n    '
    if (not request.session.get('github_token')):
        return HttpResponseRedirect(reverse('index'))
    repos_per_language = github_util.get_repositories(request.session['github_token'])
    combined_repos = dict()
    for (language, repos) in repos_per_language.items():
        for repo in repos:
            if (not repo['object']):
                continue
            date_time = repo['updatedAt']
            date = date_time.split('T')[0]
            repo['date'] = date
            repo['nameWithOwnerEscaped'] = urllib.parse.quote_plus(repo['nameWithOwner'])
            repo['language'] = language
            if parse_dependencies(repo['object']['text'], language, True):
                combined_repos[repo['nameWithOwner']] = repo
    return render(request, 'webservice/repositories.html', {'repos': combined_repos.values()})