parsecmonkey / repomainforpy Goto Github PK
View Code? Open in Web Editor NEWA sample program for repository mining using GitPython.
License: MIT License
A sample program for repository mining using GitPython.
License: MIT License
コントリビュータ:[人数]
diff
print(commit.author, commit.committed_datetime, commit.hexsha)
diff.log: 100%|███████████████████████████████████████████████████████████████████████| 24/24 [00:01<00:00, 13.84it/s]
_____ _____ _
| _ |___ ___ ___ | |_|___ ___
| _| _| . | . || | | | | | _|
|_|\__|___| _|___||_|_|_|_|_|_|___| for Py
|_|
変更したファイル数:74
・追加した行数:925
・削除した行数:357
・変更行の合計:1282
多い順でランキング
すでにクローン済みです
と、表示される。解析できるのは最後にクローンしたリポジトリ。
英数字と記号を除く
@parsecmonkey
クラス,ファイル,関数,変数の命名規則はありますか?
>> log
みたいな
picフォルダに保存
May とかで
現在,wordcloudの機能ではフォントファイルのパスをWindowsの標準フォント先(C:\Windows\Fonts以下)に指定しています.
これでは,OSが限定されてしまったり,フォントパスを変更しているコンピュータでの実行ができなくなります.
そこで,フリーのフォントファイルを組み込みたいのですが,そのフォントファイルのパスはどこにすれば良いでしょうか?
RepoMainForPyの直下に"data"ディレクトリを作成しておいてよろしいでしょうか?
縦軸:コミット数
横軸:日付
'Contributor',
'Commits(%)',
'+lines',
'-lines',
'First commit',
'Last commit',
'Active days',
'Ranking'
log
commit_no,author,committed_datetime,hexsha,message
コミット履歴からコントリビュータをリスト化
こちらの環境ではseabornで読み込まれている"cmd"モジュールと,RepoMainForPyで読み込まれている,"cmd.py"のモジュールが循環参照します.
ということで,"cmd.py"を別のファイル名に書き換えておいてほしいです.
日本語は名詞のみ出力するように
名詞連結もするように.
cmd_log.pyの作成
$ exit()
終了
赤線とかで重ねる
コマンド一覧を表示
STOP_WORDS = [" ", " ", "[", "]", ",", ".", "、", "。", "#", "-", "_"] # ストップワード
$ plot
縦軸:コミット数
横軸:日付
▼こういうの
Merge pull request #90 from nitta-lab-2021/michishitaEdit
全てのコミット数を表示している
とりあえず "+", "-" が最初にある行のみ
pic/frequency_words.png
commit.message.startswith("Merge pull request")
草
"ように", "修正", "追加", "削除", "作成", "変更", "編集", "更新", "整理", "調整"
標準出力をファイルにする
$ clone [repository url]
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.