gitlytics 0.6.2__tar.gz → 0.6.3__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.2 → gitlytics-0.6.3}/PKG-INFO +3 -3
- {gitlytics-0.6.2 → gitlytics-0.6.3}/README.md +2 -2
- {gitlytics-0.6.2 → gitlytics-0.6.3}/pyproject.toml +1 -1
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/__init__.py +1 -1
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/core.py +19 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics.egg-info/PKG-INFO +3 -3
- {gitlytics-0.6.2 → gitlytics-0.6.3}/LICENSE +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/setup.cfg +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/__main__.py +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/api.py +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/automation.py +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/cli.py +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/process.py +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/_headers +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/_redirects +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/android-chrome-192x192.png +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/android-chrome-512x512.png +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/apple-touch-icon.png +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/assets/CardModal-9oHMecdc.js +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/assets/ExportModal-M_KmGZ_C.js +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/assets/html2canvas-pro.esm-9xys3ejh.js +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/assets/html2canvas.esm-DXEQVQnt.js +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/assets/index-Bro5YaCJ.css +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/assets/index-wOhawfKi.js +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/assets/index.es-tlOthHFQ.js +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/assets/jspdf.es.min-DD49TTEi.js +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/assets/purify.es-CC4Brkr_.js +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/favicon-16x16.png +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/favicon-32x32.png +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/favicon-48x48.png +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/favicon.ico +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/gitlytics-logo.png +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/google-search-icon-48x48.png +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/google-search-icon.png +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/index.html +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/llms-full.txt +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/llms.txt +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/robots.txt +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/site.webmanifest +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics/static/sitemap.xml +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics.egg-info/SOURCES.txt +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics.egg-info/dependency_links.txt +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics.egg-info/entry_points.txt +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics.egg-info/requires.txt +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/src/gitlytics.egg-info/top_level.txt +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/tests/test_api.py +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/tests/test_automation.py +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/tests/test_cli.py +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/tests/test_core.py +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/tests/test_process.py +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/tests/test_star_history.py +0 -0
- {gitlytics-0.6.2 → gitlytics-0.6.3}/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.3
|
|
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.3
|
|
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.3 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.3
|
|
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.3 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.
|
|
@@ -546,6 +546,25 @@ def fetch_star_history(owner: str, repo: str, token: str | None = None) -> list[
|
|
|
546
546
|
except Exception as exc:
|
|
547
547
|
logger.warning("Stargazers history fetch exception for %s/%s: %s", owner, repo, exc)
|
|
548
548
|
|
|
549
|
+
if not points:
|
|
550
|
+
# Fallback: Query repo /events endpoint for WatchEvent timestamps
|
|
551
|
+
try:
|
|
552
|
+
r_ev = requests.get(f"{BASE}/repos/{owner}/{repo}/events", headers=headers, timeout=10)
|
|
553
|
+
if r_ev.status_code == 200 and isinstance(r_ev.json(), list):
|
|
554
|
+
events = r_ev.json()
|
|
555
|
+
watch_dates = sorted([
|
|
556
|
+
str(e.get("created_at"))[:10]
|
|
557
|
+
for e in events
|
|
558
|
+
if isinstance(e, dict) and e.get("type") == "WatchEvent" and e.get("created_at")
|
|
559
|
+
])
|
|
560
|
+
if watch_dates:
|
|
561
|
+
count = 0
|
|
562
|
+
for d in watch_dates:
|
|
563
|
+
count += 1
|
|
564
|
+
points.append({"date": d, "total": count})
|
|
565
|
+
except Exception as ev_exc:
|
|
566
|
+
logger.warning(f"Events fallback failed for {owner}/{repo}: {ev_exc}")
|
|
567
|
+
|
|
549
568
|
if not points:
|
|
550
569
|
return [{"date": today_str, "total": total_stars}]
|
|
551
570
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: gitlytics
|
|
3
|
-
Version: 0.6.
|
|
3
|
+
Version: 0.6.3
|
|
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.3
|
|
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.3 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.2 → gitlytics-0.6.3}/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
|