Skip to main content

ALDashboard.package_scanner

time

json

math

requests

BytesIO

List

distributions

as_datetime

get_server_name

def get_server_name(interview_url)

installed_pkg_list

def installed_pkg_list(target: List[str]) -> dict

sort_dict

def sort_dict(raw_data: dict)

URL

The basic URL to use the GitHub API

PARAMETERS

Additional parameters for the query (by default 100 items per page)

DELAY_BETWEEN_QUERYS

The time to wait between different queries to GitHub

getUrl

def getUrl(url)

Given a URL it returns its body

fetch_github_repos

def fetch_github_repos(github_user, sub_queries) -> dict

Given a github user input, returns soughted info. It doesn't contain version number.

fetch_github_repo_version

def fetch_github_repo_version(repo_list, key_pkgs, github_user) -> dict

compare_repo_version

def compare_repo_version(server_repo_dict, github_repo_dict) -> dict