MCPcopy Index your code
hub / github.com/EvanLi/Github-Ranking / run_by_gql

Function run_by_gql

source/process.py:250–259  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

248
249
250def run_by_gql():
251 ROOT_PATH = os.path.abspath(os.path.join(__file__, "../../"))
252 os.chdir(os.path.join(ROOT_PATH, 'source'))
253
254 processor = ProcessorGQL() # use Github GraphQL API v4
255 repos_stars, repos_forks, repos_languages = processor.get_all_repos()
256 wt_obj = WriteFile(repos_stars, repos_forks, repos_languages)
257 wt_obj.write_head_contents()
258 wt_obj.write_readme_lang_md()
259 wt_obj.save_to_csv()
260
261
262if __name__ == "__main__":

Callers 1

process.pyFile · 0.85

Calls 6

get_all_reposMethod · 0.95
write_head_contentsMethod · 0.95
write_readme_lang_mdMethod · 0.95
save_to_csvMethod · 0.95
ProcessorGQLClass · 0.85
WriteFileClass · 0.85

Tested by

no test coverage detected