git-analytics-cli 0.1.1__tar.gz → 0.1.2__tar.gz

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.
Files changed (18) hide show
  1. {git_analytics_cli-0.1.1/git_analytics_cli.egg-info → git_analytics_cli-0.1.2}/PKG-INFO +8 -13
  2. {git_analytics_cli-0.1.1 → git_analytics_cli-0.1.2}/README.md +6 -10
  3. {git_analytics_cli-0.1.1 → git_analytics_cli-0.1.2/git_analytics_cli.egg-info}/PKG-INFO +8 -13
  4. git_analytics_cli-0.1.2/git_analytics_cli.egg-info/requires.txt +1 -0
  5. {git_analytics_cli-0.1.1 → git_analytics_cli-0.1.2}/pyproject.toml +2 -5
  6. git_analytics_cli-0.1.1/git_analytics_cli.egg-info/requires.txt +0 -3
  7. {git_analytics_cli-0.1.1 → git_analytics_cli-0.1.2}/LICENSE +0 -0
  8. {git_analytics_cli-0.1.1 → git_analytics_cli-0.1.2}/MANIFEST.in +0 -0
  9. {git_analytics_cli-0.1.1 → git_analytics_cli-0.1.2}/gen_share_card.py +0 -0
  10. {git_analytics_cli-0.1.1 → git_analytics_cli-0.1.2}/generate_report.py +0 -0
  11. {git_analytics_cli-0.1.1 → git_analytics_cli-0.1.2}/git_analytics.py +0 -0
  12. {git_analytics_cli-0.1.1 → git_analytics_cli-0.1.2}/git_analytics_cli.egg-info/SOURCES.txt +0 -0
  13. {git_analytics_cli-0.1.1 → git_analytics_cli-0.1.2}/git_analytics_cli.egg-info/dependency_links.txt +0 -0
  14. {git_analytics_cli-0.1.1 → git_analytics_cli-0.1.2}/git_analytics_cli.egg-info/entry_points.txt +0 -0
  15. {git_analytics_cli-0.1.1 → git_analytics_cli-0.1.2}/git_analytics_cli.egg-info/top_level.txt +0 -0
  16. {git_analytics_cli-0.1.1 → git_analytics_cli-0.1.2}/run.py +0 -0
  17. {git_analytics_cli-0.1.1 → git_analytics_cli-0.1.2}/setup.cfg +0 -0
  18. {git_analytics_cli-0.1.1 → git_analytics_cli-0.1.2}/share-card.html +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: git-analytics-cli
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Local-first Git habit analytics — scan your repos, get a developer persona and health report
5
5
  Author: Git Analytics Contributors
6
6
  License-Expression: MIT
@@ -22,8 +22,7 @@ Classifier: Topic :: Software Development :: Version Control :: Git
22
22
  Requires-Python: >=3.8
23
23
  Description-Content-Type: text/markdown
24
24
  License-File: LICENSE
25
- Provides-Extra: share-card
26
- Requires-Dist: Pillow>=8.0; extra == "share-card"
25
+ Requires-Dist: Pillow>=8.0
27
26
  Dynamic: license-file
28
27
 
29
28
  # Git Analytics
@@ -38,12 +37,6 @@ Dynamic: license-file
38
37
  pip install git-analytics-cli
39
38
  ```
40
39
 
41
- 如需生成 PNG 分享卡片(可选,需要 Pillow):
42
-
43
- ```bash
44
- pip install git-analytics-cli[share-card]
45
- ```
46
-
47
40
  ## 30 秒快速开始
48
41
 
49
42
  ```bash
@@ -123,11 +116,13 @@ git-analytics ~/Projects --max-depth 5
123
116
 
124
117
  ## 分享卡片
125
118
 
126
- 使用 `--share-card` 生成一个 HTML 设计器,可以在浏览器中:
119
+ 运行 `git-analytics --share-card` 生成 `share-card.html`,浏览器打开后可预览、选主题、导出 PNG。
127
120
 
128
- - 预览你的开发者画像卡片
129
- - 选择配色主题
130
- - 导出 PNG 图片用于社交分享
121
+ 也可以命令行直接生成 PNG:
122
+
123
+ ```bash
124
+ python3 -m gen_share_card --data data.json --output card.png
125
+ ```
131
126
 
132
127
  ## 为什么不是全盘扫描
133
128
 
@@ -10,12 +10,6 @@
10
10
  pip install git-analytics-cli
11
11
  ```
12
12
 
13
- 如需生成 PNG 分享卡片(可选,需要 Pillow):
14
-
15
- ```bash
16
- pip install git-analytics-cli[share-card]
17
- ```
18
-
19
13
  ## 30 秒快速开始
20
14
 
21
15
  ```bash
@@ -95,11 +89,13 @@ git-analytics ~/Projects --max-depth 5
95
89
 
96
90
  ## 分享卡片
97
91
 
98
- 使用 `--share-card` 生成一个 HTML 设计器,可以在浏览器中:
92
+ 运行 `git-analytics --share-card` 生成 `share-card.html`,浏览器打开后可预览、选主题、导出 PNG。
99
93
 
100
- - 预览你的开发者画像卡片
101
- - 选择配色主题
102
- - 导出 PNG 图片用于社交分享
94
+ 也可以命令行直接生成 PNG:
95
+
96
+ ```bash
97
+ python3 -m gen_share_card --data data.json --output card.png
98
+ ```
103
99
 
104
100
  ## 为什么不是全盘扫描
105
101
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: git-analytics-cli
3
- Version: 0.1.1
3
+ Version: 0.1.2
4
4
  Summary: Local-first Git habit analytics — scan your repos, get a developer persona and health report
5
5
  Author: Git Analytics Contributors
6
6
  License-Expression: MIT
@@ -22,8 +22,7 @@ Classifier: Topic :: Software Development :: Version Control :: Git
22
22
  Requires-Python: >=3.8
23
23
  Description-Content-Type: text/markdown
24
24
  License-File: LICENSE
25
- Provides-Extra: share-card
26
- Requires-Dist: Pillow>=8.0; extra == "share-card"
25
+ Requires-Dist: Pillow>=8.0
27
26
  Dynamic: license-file
28
27
 
29
28
  # Git Analytics
@@ -38,12 +37,6 @@ Dynamic: license-file
38
37
  pip install git-analytics-cli
39
38
  ```
40
39
 
41
- 如需生成 PNG 分享卡片(可选,需要 Pillow):
42
-
43
- ```bash
44
- pip install git-analytics-cli[share-card]
45
- ```
46
-
47
40
  ## 30 秒快速开始
48
41
 
49
42
  ```bash
@@ -123,11 +116,13 @@ git-analytics ~/Projects --max-depth 5
123
116
 
124
117
  ## 分享卡片
125
118
 
126
- 使用 `--share-card` 生成一个 HTML 设计器,可以在浏览器中:
119
+ 运行 `git-analytics --share-card` 生成 `share-card.html`,浏览器打开后可预览、选主题、导出 PNG。
127
120
 
128
- - 预览你的开发者画像卡片
129
- - 选择配色主题
130
- - 导出 PNG 图片用于社交分享
121
+ 也可以命令行直接生成 PNG:
122
+
123
+ ```bash
124
+ python3 -m gen_share_card --data data.json --output card.png
125
+ ```
131
126
 
132
127
  ## 为什么不是全盘扫描
133
128
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "git-analytics-cli"
7
- version = "0.1.1"
7
+ version = "0.1.2"
8
8
  description = "Local-first Git habit analytics — scan your repos, get a developer persona and health report"
9
9
  readme = "README.md"
10
10
  requires-python = ">=3.8"
@@ -24,10 +24,7 @@ classifiers = [
24
24
  "Programming Language :: Python :: 3.13",
25
25
  "Topic :: Software Development :: Version Control :: Git",
26
26
  ]
27
- dependencies = []
28
-
29
- [project.optional-dependencies]
30
- share-card = ["Pillow>=8.0"]
27
+ dependencies = ["Pillow>=8.0"]
31
28
 
32
29
  [project.urls]
33
30
  Homepage = "https://github.com/mark-618/git-analytics"
@@ -1,3 +0,0 @@
1
-
2
- [share-card]
3
- Pillow>=8.0