Skip to content

TOMYUE/opendigger-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

image-20230605153711146

OpenDigger CLI

PyPI version built with Codeium

Opendigger command line is designed for CLI enthusiasts who wish to gather diverse information and metrics that evaluate the quality of open-source projects related to a GitHub repository. For detailed information about the index and metrics, please refer to this link.

Prerequisites: python3 environment, other PyPI packages like numpy,plotext and matplotlib is requried to install if error like package not found occur.

pip install opendigger

Usage

Help

opendigger -h截屏2023-06-05 15.52.43

Query openrank

opendigger -repo <owner>/<repo-name> -index openrank ,

e.g.opendigger -repo torvalds/linux -index openrank截屏2023-06-05 15.50.00

Query activity

opendigger -repo <owner>/<repo-name> -index activity

Query attention

opendigger -repo <owner>/<repo-name> -index activity

Query all index info

opendigger -repo <owner>/<repo-name> -index all

Query metrics

Metrics option as follows:

[-metric {active-dates-times,stars,technical_fork,participants,contributors,bus_factor,issues,code_change_line,pr,network,all}]

if you want to show all the metrics, just choose all, then opendigger will retrieve you all the metrics about that repo

⚠️Warning

If you incur error like this or error imply you that program run wrong:

HTTPError: 404 - Not Found
HTTPError: 404 - Not Found

please check your network connection and try again. If still failed, you should consider to check the metrics on opendigger GitHub repo by yourself. Sorry for the inconveniences.

examples

You can see the example of the generated report in the examples directory in the Github Repo. link

About

A command line tool for fetching OpenDigger metrics with ease

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages