-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #32 from fabianhe/dev
Release 0.5.0
- Loading branch information
Showing
11 changed files
with
187 additions
and
92 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[tool.poetry] | ||
name = "pyrepositoryminer" | ||
version = "0.4.0" | ||
version = "0.5.0" | ||
description = "Efficient Repository Mining in Python" | ||
license = "GPL-3.0-or-later" | ||
authors = ["Fabian Heseding <[email protected]>"] | ||
|
@@ -17,6 +17,7 @@ python = "^3.9" | |
pygit2 = "^1.5.0" | ||
typer = {extras = ["all"], version = "^0.3.2"} | ||
radon = "^4.5.0" | ||
uvloop = "^0.15.2" | ||
|
||
[tool.poetry.dev-dependencies] | ||
pytest = "^5.2" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
__version__ = "0.4.0" | ||
__version__ = "0.5.0" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
from cProfile import Profile | ||
from pathlib import Path | ||
from pstats import Stats | ||
|
||
from typer import FileText | ||
|
||
from pyrepositoryminer.main import AvailableMetrics, analyze | ||
|
||
|
||
def main() -> None: | ||
p = Path("/Users/fabian/bare-repos/numpy.git") | ||
with open("commits copy.txt", "rb") as f: | ||
c = FileText(f) | ||
analyze(p, [AvailableMetrics["filecount"]], c) | ||
|
||
|
||
if __name__ == "__main__": | ||
profile = Profile() | ||
profile.enable() | ||
main() | ||
profile.disable() | ||
profile_stats = Stats(profile).sort_stats("tottime") | ||
profile_stats.print_stats() |
Oops, something went wrong.