Ein einfaches Python -Paket mit einer CLI zum Vergleich von Github -Benutzern und -Recories, indem sie einen git_score mit jedem Eintrag verknüpfen, bei dem es sich um eine gewichtete Summe von Funktionen handelt, die einer Punktzahl zugeordnet sind. git_score für einen Benutzer wird auf der Grundlage von Followern, Followern zu folgenden Verhältnis, Anzahl der öffentlichen GISTs und der Anzahl von Organisationen berechnet, zu denen ein Benutzer gehört. Für ein öffentliches Repository sind die entscheidenden Faktoren die Anzahl der Gabeln, wenn das Repository selbst gegabelt ist oder nicht, die Anzahl der Sterne und die Anzahl der Beobachter .
Installieren Sie über 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.txtSiehe Versionshinweise für Änderungen https://github.com/avaish1409/gitcomp/releases
main und dem Titel gemäß Ihrem Beitrag nennt. Erstellen Sie eine neue Zweig documentation-fixes .GitComp ist unter der MIT -Lizenz lizenziert.