gitcomp
v1.0.4: Prepare for release (#29)
一个带有CLI的简单Python软件包,通过将git_score与每个条目相关联,可以比较GitHub用户和存储库,这是映射到得分的加权功能的加权总和。用户的git_score是根据关注者,关注者与以下比率,公共观点数量和用户的一部分进行计算的。对于公共存储库,确定因素是叉子数,如果存储库本身是叉子,则恒星数量和观察者数量。
通过PIP安装:
pip install gitcomp usage: gitcomp [-h] [-u user_name [user_name ...] | -r repo [repo ...]] [-t output_t] [-o out]
gitcomp A CLI utility to compare the vital stats of GitHub repositories
optional arguments:
-h, --help show this help message and exit
-u user_name [user_name ...], --user user_name [user_name ...]
-u, --user <username...> The GitHub username(s) to query against.
Multiple usernames can be queried at a time by providing a space
separated argument list.
-r repo [repo ...], --repo repo [repo ...]
-r, --repo <repo> The public GitHub repository to query against
where repo takes the form: <user/repo>
Example: -r octocat/Spoon-Knife
-t output_t, --type output_t
-t, --type <type> Default: ascii. Choose the format of output.
All output is dumped to STDOUT unless output file is specified
using -o, --output flag.
The types available are: json: Show the result as JSON
csv: Format the output to CSV
ascii: Show the result as an ASCII Table
html: Show output as HTML Table
-o out, --output out -o, --output <out_file> Output to out_file, defaults to STDOUT.
gitcomp -u Rohitrajak1807 avaish1409gitcomp -r avaish1409/VideoChatBot Rohitrajak1807/algorithmsgitcomp -u Rohitrajak1807 avaish1409 -t ASCIIgitcomp -u Rohitrajak1807 avaish1409 -t jsongitcomp -u Rohitrajak1807 avaish1409 -t csvgitcomp -u Rohitrajak1807 avaish1409 -t htmlgitcomp -u Rohitrajak1807 avaish1409 -t json -o res.jsongitcomp -u Rohitrajak1807 avaish1409 -t csv -o res.csvgitcomp -u Rohitrajak1807 avaish1409 -t html -o res.htmlgitcomp -u Rohitrajak1807 avaish1409 -o res.txt有关更改的发行说明https://github.com/avaish1409/gitcomp/releases
main不同的东西,并按照您的贡献为标题,例如创建一个新的分支documentation-fixes 。GitComp已获得MIT许可证的许可。