better-git-of-theseus 0.5.0__py3-none-any.whl → 0.5.1__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: better-git-of-theseus
3
- Version: 0.5.0
3
+ Version: 0.5.1
4
4
  Summary: Plot stats on Git repositories with interactive Plotly charts
5
5
  Home-page: https://github.com/onewesong/better-git-of-theseus
6
6
  Author: Erik Bernhardsson
@@ -35,6 +35,7 @@ Dynamic: summary
35
35
  [![PyPI - Python Version](https://img.shields.io/pypi/pyversions/better-git-of-theseus)](https://pypi.org/project/better-git-of-theseus/)
36
36
  [![GitHub License](https://img.shields.io/github/license/onewesong/better-git-of-theseus)](https://github.com/onewesong/better-git-of-theseus/blob/master/LICENSE)
37
37
  [![Ask DeepWiki](https://deepwiki.com/badge.svg)](https://deepwiki.com/onewesong/better-git-of-theseus)
38
+ <a href="https://llmapis.com?source=https%3A%2F%2Fgithub.com%2Fonewesong%2Fbetter-git-of-theseus" target="_blank"><img src="https://llmapis.com/api/badge/onewesong/better-git-of-theseus" alt="LLMAPIS" width="20" /></a>
38
39
 
39
40
  [中文版](README_zh.md)
40
41
 
@@ -1,15 +1,15 @@
1
- better_git_of_theseus-0.5.0.dist-info/licenses/LICENSE,sha256=yNNDAWUe1WLKnuUcRp9X95C-yP2lfGl69m97Ftw-DUw,11345
1
+ better_git_of_theseus-0.5.1.dist-info/licenses/LICENSE,sha256=yNNDAWUe1WLKnuUcRp9X95C-yP2lfGl69m97Ftw-DUw,11345
2
2
  git_of_theseus/__init__.py,sha256=LeG5tCOgvZMmKOjmO_HRg54sWF2K3-lTBf8H_vHMFio,273
3
3
  git_of_theseus/analyze.py,sha256=78E1G2FdSS9VZd0jKSnO5gpXwzNCjtzkSAxSzadYM3A,21547
4
4
  git_of_theseus/app.py,sha256=6GuBWC3WaN0VkwHAmKM_6ZNalf7NcXgXYq3ZP6XMDvY,8463
5
- git_of_theseus/cmd.py,sha256=kvi3sgC0ICj7PvXuzCQsijU5swS3JkfAtIT5yZRNbFo,550
5
+ git_of_theseus/cmd.py,sha256=y0ML5YtCSGZ1Qp9XNTnfZyAkuWY_3j_e3-eVx-3pLpo,597
6
6
  git_of_theseus/line_plot.py,sha256=LegoVy0VEFT4sM5fYCES-I_2H9UaerCopDI3J2dyHeU,3117
7
- git_of_theseus/plotly_plots.py,sha256=Ru-Xwj8c4XdDJfzjDUqU0CxddmLq76LTtX5r0VqSYvs,7267
7
+ git_of_theseus/plotly_plots.py,sha256=jO1ix0B17t5ytejlTBX01xbqTDs_N9Ia-qzZsrfq76A,7359
8
8
  git_of_theseus/stack_plot.py,sha256=q4-YlW3PyiwbIBFeHBA3dsdR1I_XKUQD74hAuSfhIR4,3150
9
9
  git_of_theseus/survival_plot.py,sha256=NEITAa0pMD9uJVsPd7JA71ucavnG1RxgC-F6Jk-K5bE,4868
10
10
  git_of_theseus/utils.py,sha256=Xw2udch9ixSgFInGhIC4_RJ_9IB3E8MmV1dmznavCWc,1026
11
- better_git_of_theseus-0.5.0.dist-info/METADATA,sha256=I4B84JL2IDJ-ICFiK3Su4uxkcqumW-h4PAWQdl0h1BI,3602
12
- better_git_of_theseus-0.5.0.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
13
- better_git_of_theseus-0.5.0.dist-info/entry_points.txt,sha256=dEBL6oCDAozY13Y_qxS_6-qkyCA7R2TpjoLH6QJR72g,66
14
- better_git_of_theseus-0.5.0.dist-info/top_level.txt,sha256=2kpp8WgiBzqVLxua_mBS00Nj4cUORaRbJi121THJ_0o,15
15
- better_git_of_theseus-0.5.0.dist-info/RECORD,,
11
+ better_git_of_theseus-0.5.1.dist-info/METADATA,sha256=Q_9TmvZZmFgj5Ym_73oOK6AHNqYnyNsUkzO7w_ocaDo,3821
12
+ better_git_of_theseus-0.5.1.dist-info/WHEEL,sha256=wUyA8OaulRlbfwMtmQsvNngGrxQHAvkKcvRmdizlJi0,92
13
+ better_git_of_theseus-0.5.1.dist-info/entry_points.txt,sha256=dEBL6oCDAozY13Y_qxS_6-qkyCA7R2TpjoLH6QJR72g,66
14
+ better_git_of_theseus-0.5.1.dist-info/top_level.txt,sha256=2kpp8WgiBzqVLxua_mBS00Nj4cUORaRbJi121THJ_0o,15
15
+ better_git_of_theseus-0.5.1.dist-info/RECORD,,
git_of_theseus/cmd.py CHANGED
@@ -15,6 +15,7 @@ def main():
15
15
  subprocess.run([
16
16
  sys.executable, "-m", "streamlit", "run",
17
17
  app_path,
18
+ "--browser.gatherUsageStats", "false",
18
19
  "--", repo_path
19
20
  ])
20
21
 
@@ -68,8 +68,8 @@ def plotly_stack_plot(data, max_n=20, normalize=False, title=None):
68
68
  ),
69
69
  xaxis=dict(title="Date", gridcolor='rgba(128,128,128,0.2)'),
70
70
  hovermode="x unified",
71
- margin=dict(l=20, r=20, t=60, b=20),
72
- legend=dict(orientation="h", yanchor="bottom", y=1.02, xanchor="right", x=1),
71
+ margin=dict(l=20, r=20, t=60, b=100),
72
+ legend=dict(orientation="h", yanchor="top", y=-0.15, xanchor="center", x=0.5),
73
73
  plot_bgcolor='rgba(0,0,0,0)',
74
74
  paper_bgcolor='rgba(0,0,0,0)'
75
75
  )
@@ -97,8 +97,8 @@ def plotly_line_plot(data, max_n=20, normalize=False, title=None):
97
97
  ),
98
98
  xaxis=dict(title="Date", gridcolor='rgba(128,128,128,0.2)'),
99
99
  hovermode="x unified",
100
- margin=dict(l=20, r=20, t=60, b=20),
101
- legend=dict(orientation="h", yanchor="bottom", y=1.02, xanchor="right", x=1),
100
+ margin=dict(l=20, r=20, t=60, b=100),
101
+ legend=dict(orientation="h", yanchor="top", y=-0.15, xanchor="center", x=0.5),
102
102
  plot_bgcolor='rgba(0,0,0,0)',
103
103
  paper_bgcolor='rgba(0,0,0,0)'
104
104
  )
@@ -169,7 +169,8 @@ def plotly_survival_plot(commit_history, exp_fit=False, years=5, title=None):
169
169
  yaxis=dict(title="Lines still present (%)", range=[0, 105], gridcolor='rgba(128,128,128,0.2)'),
170
170
  xaxis=dict(title="Years", range=[0, years], gridcolor='rgba(128,128,128,0.2)'),
171
171
  hovermode="x unified",
172
- margin=dict(l=20, r=20, t=50, b=20),
172
+ margin=dict(l=20, r=20, t=50, b=100),
173
+ legend=dict(orientation="h", yanchor="top", y=-0.15, xanchor="center", x=0.5),
173
174
  plot_bgcolor='rgba(0,0,0,0)',
174
175
  paper_bgcolor='rgba(0,0,0,0)'
175
176
  )