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許可證的許可。