githubGet[source]

githubGet(url:str, token:Optional[str])

get request to github using token parameters: url:str: github raw file url token:str: your personal access token response: response: requests.Response: response object

githubGetYaml[source]

githubGetYaml(url:str, token:Optional[str])

get yaml dictionary from github using token parameters: url:str: github raw file url token:str: your personal access token response: response: dict: yaml dictionary

githubGetYaml(url, token)

githubImportModule[source]

githubImportModule(url:str, token:Optional[str], path='/tmp/inputfile', sourceName='schema')

url = f'https://raw.githubusercontent.com/thanakijwanavit/villaCalculateCost/master/src/schema.py'
schema = githubImportModule(url, token)
schema.GetCostInput.json_schema()