gitlytics 0.6.1__tar.gz → 0.6.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.
- {gitlytics-0.6.1 → gitlytics-0.6.2}/PKG-INFO +3 -3
- {gitlytics-0.6.1 → gitlytics-0.6.2}/README.md +2 -2
- {gitlytics-0.6.1 → gitlytics-0.6.2}/pyproject.toml +1 -1
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/__init__.py +1 -1
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/core.py +11 -1
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics.egg-info/PKG-INFO +3 -3
- {gitlytics-0.6.1 → gitlytics-0.6.2}/LICENSE +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/setup.cfg +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/__main__.py +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/api.py +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/automation.py +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/cli.py +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/process.py +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/_headers +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/_redirects +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/android-chrome-192x192.png +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/android-chrome-512x512.png +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/apple-touch-icon.png +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/assets/CardModal-9oHMecdc.js +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/assets/ExportModal-M_KmGZ_C.js +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/assets/html2canvas-pro.esm-9xys3ejh.js +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/assets/html2canvas.esm-DXEQVQnt.js +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/assets/index-Bro5YaCJ.css +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/assets/index-wOhawfKi.js +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/assets/index.es-tlOthHFQ.js +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/assets/jspdf.es.min-DD49TTEi.js +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/assets/purify.es-CC4Brkr_.js +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/favicon-16x16.png +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/favicon-32x32.png +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/favicon-48x48.png +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/favicon.ico +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/gitlytics-logo.png +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/google-search-icon-48x48.png +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/google-search-icon.png +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/index.html +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/llms-full.txt +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/llms.txt +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/robots.txt +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/site.webmanifest +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/sitemap.xml +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics.egg-info/SOURCES.txt +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics.egg-info/dependency_links.txt +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics.egg-info/entry_points.txt +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics.egg-info/requires.txt +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics.egg-info/top_level.txt +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/tests/test_api.py +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/tests/test_automation.py +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/tests/test_cli.py +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/tests/test_core.py +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/tests/test_process.py +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/tests/test_star_history.py +0 -0
- {gitlytics-0.6.1 → gitlytics-0.6.2}/tests/test_username.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gitlytics
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.2
|
|
4
4
|
Summary: Monitor and automate your GitHub repository traffic analytics.
|
|
5
5
|
Author-email: Ameya Chopade <ameyaccod171@gmail.com>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -35,7 +35,7 @@ Dynamic: license-file
|
|
|
35
35
|
|
|
36
36
|
<img src="https://raw.githubusercontent.com/ameyac11/gitlytics/main/assets/logo.png" alt="Gitlytics Logo" width="150" />
|
|
37
37
|
|
|
38
|
-
# Gitlytics v0.6.
|
|
38
|
+
# Gitlytics v0.6.2
|
|
39
39
|
### GitHub Traffic Analytics, Dynamic Widgets & Automation
|
|
40
40
|
|
|
41
41
|
[](LICENSE)
|
|
@@ -189,7 +189,7 @@ Explore our official engineering publication at **[blog.gitlytics.dev](https://b
|
|
|
189
189
|
|
|
190
190
|
## 🔑 Flexible Authentication Modes
|
|
191
191
|
|
|
192
|
-
Gitlytics v0.6.
|
|
192
|
+
Gitlytics v0.6.2 supports 3 authentication modes:
|
|
193
193
|
|
|
194
194
|
1. **Token Authentication (PAT)**: Pass your GitHub Personal Access Token (Classic or Fine-Grained) with `repo` scope to fetch private & public repository metrics.
|
|
195
195
|
2. **Demo Mode (Instant Exploration)**: Explore the web dashboard and CLI immediately using curated sample data without entering any credentials.
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
<img src="https://raw.githubusercontent.com/ameyac11/gitlytics/main/assets/logo.png" alt="Gitlytics Logo" width="150" />
|
|
4
4
|
|
|
5
|
-
# Gitlytics v0.6.
|
|
5
|
+
# Gitlytics v0.6.2
|
|
6
6
|
### GitHub Traffic Analytics, Dynamic Widgets & Automation
|
|
7
7
|
|
|
8
8
|
[](LICENSE)
|
|
@@ -156,7 +156,7 @@ Explore our official engineering publication at **[blog.gitlytics.dev](https://b
|
|
|
156
156
|
|
|
157
157
|
## 🔑 Flexible Authentication Modes
|
|
158
158
|
|
|
159
|
-
Gitlytics v0.6.
|
|
159
|
+
Gitlytics v0.6.2 supports 3 authentication modes:
|
|
160
160
|
|
|
161
161
|
1. **Token Authentication (PAT)**: Pass your GitHub Personal Access Token (Classic or Fine-Grained) with `repo` scope to fetch private & public repository metrics.
|
|
162
162
|
2. **Demo Mode (Instant Exploration)**: Explore the web dashboard and CLI immediately using curated sample data without entering any credentials.
|
|
@@ -472,7 +472,7 @@ def fetch_star_history(owner: str, repo: str, token: str | None = None) -> list[
|
|
|
472
472
|
except Exception as exc:
|
|
473
473
|
logger.warning(f"Stargazers fetch failed for {owner}/{repo} page {p}: {exc}")
|
|
474
474
|
continue
|
|
475
|
-
if r.status_code in (403, 429, 404):
|
|
475
|
+
if r.status_code in (401, 403, 429, 404):
|
|
476
476
|
logger.warning(f"Stargazers endpoint restricted/limited (HTTP {r.status_code}) for {owner}/{repo}")
|
|
477
477
|
break
|
|
478
478
|
if r.status_code != 200:
|
|
@@ -559,6 +559,16 @@ def fetch_star_history(owner: str, repo: str, token: str | None = None) -> list[
|
|
|
559
559
|
if not per_day_max or max(per_day_max.values()) < total_stars:
|
|
560
560
|
per_day_max[today_str] = total_stars
|
|
561
561
|
|
|
562
|
+
# Always ensure a start date (repo creation date or 30 days prior at 0 stars)
|
|
563
|
+
# so the timeline renders a clean line graph instead of a single floating dot.
|
|
564
|
+
created_at_raw = meta.get("created_at") if isinstance(meta, dict) else None
|
|
565
|
+
start_date = str(created_at_raw)[:10] if created_at_raw else (now - timedelta(days=30)).strftime("%Y-%m-%d")
|
|
566
|
+
if start_date >= today_str:
|
|
567
|
+
start_date = (now - timedelta(days=30)).strftime("%Y-%m-%d")
|
|
568
|
+
|
|
569
|
+
if start_date not in per_day_max:
|
|
570
|
+
per_day_max[start_date] = 0
|
|
571
|
+
|
|
562
572
|
# Convert raw "max position on this day" into a running cumulative count.
|
|
563
573
|
# Stars are monotone — total can never decrease across dates.
|
|
564
574
|
sorted_dates = sorted(per_day_max.keys())
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gitlytics
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.2
|
|
4
4
|
Summary: Monitor and automate your GitHub repository traffic analytics.
|
|
5
5
|
Author-email: Ameya Chopade <ameyaccod171@gmail.com>
|
|
6
6
|
License: Apache-2.0
|
|
@@ -35,7 +35,7 @@ Dynamic: license-file
|
|
|
35
35
|
|
|
36
36
|
<img src="https://raw.githubusercontent.com/ameyac11/gitlytics/main/assets/logo.png" alt="Gitlytics Logo" width="150" />
|
|
37
37
|
|
|
38
|
-
# Gitlytics v0.6.
|
|
38
|
+
# Gitlytics v0.6.2
|
|
39
39
|
### GitHub Traffic Analytics, Dynamic Widgets & Automation
|
|
40
40
|
|
|
41
41
|
[](LICENSE)
|
|
@@ -189,7 +189,7 @@ Explore our official engineering publication at **[blog.gitlytics.dev](https://b
|
|
|
189
189
|
|
|
190
190
|
## 🔑 Flexible Authentication Modes
|
|
191
191
|
|
|
192
|
-
Gitlytics v0.6.
|
|
192
|
+
Gitlytics v0.6.2 supports 3 authentication modes:
|
|
193
193
|
|
|
194
194
|
1. **Token Authentication (PAT)**: Pass your GitHub Personal Access Token (Classic or Fine-Grained) with `repo` scope to fetch private & public repository metrics.
|
|
195
195
|
2. **Demo Mode (Instant Exploration)**: Explore the web dashboard and CLI immediately using curated sample data without entering any credentials.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{gitlytics-0.6.1 → gitlytics-0.6.2}/src/gitlytics/static/assets/html2canvas-pro.esm-9xys3ejh.js
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|