github-streak 0.1.0__tar.gz → 0.1.1__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.
- {github_streak-0.1.0 → github_streak-0.1.1}/PKG-INFO +2 -2
- {github_streak-0.1.0 → github_streak-0.1.1}/README.md +1 -1
- {github_streak-0.1.0 → github_streak-0.1.1}/ghstreak/streak.py +4 -1
- {github_streak-0.1.0 → github_streak-0.1.1}/github_streak.egg-info/PKG-INFO +2 -2
- {github_streak-0.1.0 → github_streak-0.1.1}/pyproject.toml +1 -1
- {github_streak-0.1.0 → github_streak-0.1.1}/ghstreak/__init__.py +0 -0
- {github_streak-0.1.0 → github_streak-0.1.1}/github_streak.egg-info/SOURCES.txt +0 -0
- {github_streak-0.1.0 → github_streak-0.1.1}/github_streak.egg-info/dependency_links.txt +0 -0
- {github_streak-0.1.0 → github_streak-0.1.1}/github_streak.egg-info/entry_points.txt +0 -0
- {github_streak-0.1.0 → github_streak-0.1.1}/github_streak.egg-info/requires.txt +0 -0
- {github_streak-0.1.0 → github_streak-0.1.1}/github_streak.egg-info/top_level.txt +0 -0
- {github_streak-0.1.0 → github_streak-0.1.1}/setup.cfg +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: github-streak
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: CLI tool to track your GitHub contribution streaks
|
|
5
5
|
Author: Deven Mistry
|
|
6
6
|
Project-URL: Homepage, https://github.com/deven367/github-streak
|
|
@@ -25,7 +25,7 @@ A simple CLI tool to track your GitHub contribution streaks.
|
|
|
25
25
|
## Installation
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
|
-
pip install
|
|
28
|
+
pip install github-streak
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
## Usage
|
|
@@ -103,7 +103,10 @@ def main():
|
|
|
103
103
|
result = analyze_streaks(data)
|
|
104
104
|
print(f"Current streak: {result['current_streak']} days")
|
|
105
105
|
if result['previous_streak'] > 0:
|
|
106
|
-
|
|
106
|
+
if result['last_active_day']:
|
|
107
|
+
print(f"Previous streak: {result['previous_streak']} days, ended on {result['last_active_day']}")
|
|
108
|
+
else:
|
|
109
|
+
print(f"Previous streak: {result['previous_streak']} days")
|
|
107
110
|
else:
|
|
108
111
|
print("No previous streak found")
|
|
109
112
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: github-streak
|
|
3
|
-
Version: 0.1.
|
|
3
|
+
Version: 0.1.1
|
|
4
4
|
Summary: CLI tool to track your GitHub contribution streaks
|
|
5
5
|
Author: Deven Mistry
|
|
6
6
|
Project-URL: Homepage, https://github.com/deven367/github-streak
|
|
@@ -25,7 +25,7 @@ A simple CLI tool to track your GitHub contribution streaks.
|
|
|
25
25
|
## Installation
|
|
26
26
|
|
|
27
27
|
```bash
|
|
28
|
-
pip install
|
|
28
|
+
pip install github-streak
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
## Usage
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|