{"id":31667533,"url":"https://github.com/chengjun/scholarnetwork","last_synced_at":"2025-10-08T00:12:45.103Z","repository":{"id":27670682,"uuid":"31156683","full_name":"chengjun/scholarNetwork","owner":"chengjun","description":" Visualize coauthor network of Google Scholar","archived":false,"fork":false,"pushed_at":"2021-04-15T08:38:15.000Z","size":6770,"stargazers_count":9,"open_issues_count":2,"forks_count":10,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-08-19T07:58:04.937Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://pypi.python.org/pypi/scholarNetwork/","language":"Jupyter Notebook","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chengjun.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-02-22T08:04:03.000Z","updated_at":"2024-11-10T10:47:40.000Z","dependencies_parsed_at":"2022-09-17T14:30:33.038Z","dependency_job_id":null,"html_url":"https://github.com/chengjun/scholarNetwork","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/chengjun/scholarNetwork","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chengjun%2FscholarNetwork","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chengjun%2FscholarNetwork/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chengjun%2FscholarNetwork/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chengjun%2FscholarNetwork/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chengjun","download_url":"https://codeload.github.com/chengjun/scholarNetwork/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chengjun%2FscholarNetwork/sbom","scorecard":{"id":276124,"data":{"date":"2025-08-11","repo":{"name":"github.com/chengjun/scholarNetwork","commit":"7bc64ee756eb5a6437101796bd524c16dd071ee6"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.2,"checks":[{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Binary-Artifacts","score":7,"reason":"binaries present in source code","details":["Warn: binary detected: dist/scholarNetwork-1.2.2.3-py2.py3-none-any.whl:1","Warn: binary detected: scholarNetwork/__init__.pyc:1","Warn: binary detected: scholarNetwork/scholarNetwork.pyc:1"],"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Code-Review","score":0,"reason":"Found 0/14 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":0,"reason":"license file not detected","details":["Warn: project does not have a license file"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}}]},"last_synced_at":"2025-08-17T14:26:05.185Z","repository_id":27670682,"created_at":"2025-08-17T14:26:05.185Z","updated_at":"2025-08-17T14:26:05.185Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278867266,"owners_count":26059743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-07T02:00:06.786Z","response_time":59,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-10-08T00:12:41.379Z","updated_at":"2025-10-08T00:12:45.095Z","avatar_url":"https://github.com/chengjun.png","language":"Jupyter Notebook","funding_links":[],"categories":[],"sub_categories":[],"readme":"#scholarNetwork\n\nDeveloped by Cheng-Jun Wang \u0026 Lingfei Wu\n\nCheng-Jun Wang wangchj04@gmail.com\nLingfei Wu wlf850927@gmail.com\n\n## Introduction\n\nscholarNetwork is a python package for crawling and visualizing the co-author network of Google Scholar.\n\nTo use it, you must have access to Google Scholar, and you would also install beautifulsoup4 and networkx during the installation process.\n\n## Install\nInstall from pypi using pip or easy_install\n\n\tpip install scholarNetwork\n\nor\n\n\teasy_install scholarNetwork\n\n##Use\n\n```python\n# scholarNetwork\n\nfrom scholarNetwork import scholarNetwork\nimport matplotlib.pyplot as plt\nimport networkx as nx\n\n## The seed of crawler\nseed = 'https://scholar.google.nl/citations?user=nNdt_G8AAAAJ\u0026hl=en\u0026oe=ASCII'\n# How many nodes do you want to visulize? Always start with a small one. \nNmax = 21\n## Get the graph g\ng = scholarNetwork.getGraph(seed, Nmax)\n\n## plot the network\npos=nx.spring_layout(g) #setup the layout\n\nnx.draw(g, pos, node_shape = 'o',\n\tedge_color = 'gray', width = 0.5,\n\twith_labels = True, arrows = True)\nplt.show()\n```\n\n![](https://github.com/chengjun/scholarNetwork/blob/master/example.png)\n\nOf course, you can get a much larger graph to see what's happening around you, just to change the value of Nmax. However, you have to be patient to wait for much longer time.\n\n![](http://chengjun.qiniudn.com/ego300large.png)\n\n## Plot tree graph\n\n```python\nG=nx.DiGraph()\nG.add_edge('source',1,weight=80)\nG.add_edge(1,2,weight=50)\nG.add_edge(1,3,weight=30)\nG.add_edge(3,2,weight=10)\nG.add_edge(2,4,weight=20)\nG.add_edge(2,5,weight=30)\nG.add_edge(4,5,weight=10)\nG.add_edge(5,3,weight=5)\nG.add_edge(2,'sink',weight=10)\nG.add_edge(4,'sink',weight=10)\nG.add_edge(3,'sink',weight=25)\nG.add_edge(5,'sink',weight=35)\n\nfig = plt.figure(figsize=(9, 9),facecolor='white')\nax = fig.add_subplot(111)\nscholarNetwork.plotTree(G,ax)\nplt.show()\n```\nFor the coauthor network we have crawled, we can also visualize it as a tree. \n\n```python\nfig = plt.figure(figsize=(9, 9),facecolor='white')\nax = fig.add_subplot(111)\nscholarNetwork.plotTree(g,ax)\nplt.show()\n```\n![](https://github.com/chengjun/scholarNetwork/blob/master/tree.png)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchengjun%2Fscholarnetwork","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchengjun%2Fscholarnetwork","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchengjun%2Fscholarnetwork/lists"}