gh-space-shooter 0.0.5__py3-none-any.whl → 1.0.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.
- gh_space_shooter/github_client.py +1 -1
- {gh_space_shooter-0.0.5.dist-info → gh_space_shooter-1.0.1.dist-info}/METADATA +6 -2
- {gh_space_shooter-0.0.5.dist-info → gh_space_shooter-1.0.1.dist-info}/RECORD +6 -6
- {gh_space_shooter-0.0.5.dist-info → gh_space_shooter-1.0.1.dist-info}/WHEEL +0 -0
- {gh_space_shooter-0.0.5.dist-info → gh_space_shooter-1.0.1.dist-info}/entry_points.txt +0 -0
- {gh_space_shooter-0.0.5.dist-info → gh_space_shooter-1.0.1.dist-info}/licenses/LICENSE +0 -0
|
@@ -122,7 +122,7 @@ class GitHubClient:
|
|
|
122
122
|
if "errors" in data:
|
|
123
123
|
errors = data["errors"]
|
|
124
124
|
error_messages = [error.get("message", str(error)) for error in errors]
|
|
125
|
-
raise GitHubAPIError(
|
|
125
|
+
raise GitHubAPIError(', '.join(error_messages))
|
|
126
126
|
|
|
127
127
|
# Check if user exists
|
|
128
128
|
if not data.get("data", {}).get("user"):
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gh-space-shooter
|
|
3
|
-
Version:
|
|
3
|
+
Version: 1.0.1
|
|
4
4
|
Summary: A CLI tool that visualizes GitHub contribution graphs as gamified GIFs
|
|
5
5
|
Author-email: zane <czl970721@gmail.com>
|
|
6
6
|
License-File: LICENSE
|
|
7
|
-
Requires-Python: >=3.
|
|
7
|
+
Requires-Python: >=3.12
|
|
8
8
|
Requires-Dist: httpx>=0.27.0
|
|
9
9
|
Requires-Dist: pillow>=10.1.0
|
|
10
10
|
Requires-Dist: python-dotenv>=1.0.0
|
|
@@ -22,6 +22,10 @@ Transform your GitHub contribution graph into an epic space shooter game!
|
|
|
22
22
|
|
|
23
23
|
## Usage
|
|
24
24
|
|
|
25
|
+
### Onetime Generation
|
|
26
|
+
|
|
27
|
+
A [web interface](https://gh-space-shooter.kiyo-n-zane.com) is available for on-demand GIF generation without installing anything locally.
|
|
28
|
+
|
|
25
29
|
### GitHub Action
|
|
26
30
|
|
|
27
31
|
Automatically update your game GIF daily using GitHub Actions! Add this workflow to your repository at `.github/workflows/update-game.yml`:
|
|
@@ -2,7 +2,7 @@ gh_space_shooter/__init__.py,sha256=jBFfHY3YC8-3m-eVPIo3CWoQLsy5Yvd0vcbHVbUDTWY,
|
|
|
2
2
|
gh_space_shooter/cli.py,sha256=jmMwTGA_Xq80vBdWOurv6wcksmke6mtrHNBm9LQUpRQ,6340
|
|
3
3
|
gh_space_shooter/console_printer.py,sha256=opT5vITkPJ_9BCPNMDays6EtXez9m86YXY9pK5_Hdh8,2345
|
|
4
4
|
gh_space_shooter/constants.py,sha256=jMEaDAO1xdo9Bu4SN0vcOZfoESl3IAfF8r8OS8CSuwM,1399
|
|
5
|
-
gh_space_shooter/github_client.py,sha256=
|
|
5
|
+
gh_space_shooter/github_client.py,sha256=tR2yeDCvq2i5XE1_QvVXcd1S9qzo2AuK8HHJ9gfK6Mw,4676
|
|
6
6
|
gh_space_shooter/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
7
7
|
gh_space_shooter/game/__init__.py,sha256=bIc-S0hOiYqYBtdmd9_CedqYY07Il6XiV__TqcbtJNA,707
|
|
8
8
|
gh_space_shooter/game/animator.py,sha256=k0BTcWFlKq3fUi9hVn2f0btMakbgn8CZEMGvs8un9tg,3540
|
|
@@ -21,8 +21,8 @@ gh_space_shooter/game/strategies/base_strategy.py,sha256=IwPdthCWkgsFdUsMjQgifpS
|
|
|
21
21
|
gh_space_shooter/game/strategies/column_strategy.py,sha256=AQHXVTRe5BEjc4QHRL9QLtkkelTzGUGf2531POGtkG0,1728
|
|
22
22
|
gh_space_shooter/game/strategies/random_strategy.py,sha256=l0GKMkGJa_QEvNrN57R_KgWDBafGebP926fZJqpdghc,2215
|
|
23
23
|
gh_space_shooter/game/strategies/row_strategy.py,sha256=8izcioSGrVYGdQ__GrdfAQxnJt1BLhwNdumeuQiDhpg,1426
|
|
24
|
-
gh_space_shooter-
|
|
25
|
-
gh_space_shooter-
|
|
26
|
-
gh_space_shooter-
|
|
27
|
-
gh_space_shooter-
|
|
28
|
-
gh_space_shooter-
|
|
24
|
+
gh_space_shooter-1.0.1.dist-info/METADATA,sha256=6dN0oIyXrNuKpSMBn7QsXxrS68KKRscHg4-wKUbuEkM,4462
|
|
25
|
+
gh_space_shooter-1.0.1.dist-info/WHEEL,sha256=WLgqFyCfm_KASv4WHyYy0P3pM_m7J5L9k2skdKLirC8,87
|
|
26
|
+
gh_space_shooter-1.0.1.dist-info/entry_points.txt,sha256=SmK2ET5vz62eaMC4mhxmLJ1f_H9qSTXOvFOHNo-qwCk,62
|
|
27
|
+
gh_space_shooter-1.0.1.dist-info/licenses/LICENSE,sha256=teCrgzzcmjYCQ-RqXkDmICcHMN1AfaabrjZsW6O3KEk,1075
|
|
28
|
+
gh_space_shooter-1.0.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|