Add 2014-06-21 — 202.3K events, 11 files
Browse files- README.md +50 -77
- data/commit_comments/2014/06/21.parquet +3 -0
- data/creates/2014/06/21.parquet +3 -0
- data/deletes/2014/06/21.parquet +3 -0
- data/forks/2014/06/21.parquet +3 -0
- data/issue_comments/2014/06/21.parquet +3 -0
- data/issues/2014/06/21.parquet +3 -0
- data/public_events/2014/06/21.parquet +3 -0
- data/pull_requests/2014/06/21.parquet +3 -0
- data/pushes/2014/06/21.parquet +3 -0
- data/stars/2014/06/21.parquet +3 -0
- data/wiki_pages/2014/06/21.parquet +3 -0
- stats.csv +2 -1
README.md
CHANGED
|
@@ -61,9 +61,9 @@ configs:
|
|
| 61 |
|
| 62 |
This dataset contains every public event on GitHub: every push, pull request, issue, star, fork, code review, release, and discussion across all public repositories. GitHub is the world's largest software development platform, home to over 200 million repositories and the daily work of tens of millions of developers, from individual open-source contributors to the engineering teams behind the most widely used software on earth.
|
| 63 |
|
| 64 |
-
The archive currently spans from **2011-02-12** to **2015-01-03** (1,
|
| 65 |
|
| 66 |
-
We believe this is the most complete and regularly updated structured mirror of public GitHub activity available on Hugging Face. The original 51.
|
| 67 |
|
| 68 |
The underlying data comes from [GH Archive](https://www.gharchive.org/), created by [Ilya Grigorik](https://www.igvita.com/), which has been recording every public GitHub event via the [Events API](https://docs.github.com/en/rest/activity/events) since 2011. Released under the [Open Data Commons Attribution License (ODC-By) v1.0](https://opendatacommons.org/licenses/by/1-0/).
|
| 69 |
|
|
@@ -119,10 +119,8 @@ Events from today are captured in near-real-time from the GitHub Events API and
|
|
| 119 |
| `payload_json` | string | Full event payload as JSON |
|
| 120 |
|
| 121 |
```python
|
| 122 |
-
# Query today's live events with DuckDB
|
| 123 |
-
# Run: uv run live_events.py
|
| 124 |
import duckdb
|
| 125 |
-
|
| 126 |
duckdb.sql("""
|
| 127 |
SELECT event_type, COUNT(*) as n
|
| 128 |
FROM read_parquet('hf://datasets/open-index/open-github/today/raw/**/*.parquet')
|
|
@@ -136,7 +134,7 @@ duckdb.sql("""
|
|
| 136 |
2011 █████░░░░░░░░░░░░░░░░░░░░░░░░░ 14.1M
|
| 137 |
2012 █████████████░░░░░░░░░░░░░░░░░ 34.3M
|
| 138 |
2013 ██████████████████████████████ 74.5M
|
| 139 |
-
2014 █████████████████████░░░░░░░░░ 54.
|
| 140 |
2015 █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 511.7K
|
| 141 |
```
|
| 142 |
|
|
@@ -145,7 +143,7 @@ duckdb.sql("""
|
|
| 145 |
| 2011 | 243 | 14,096,144 | 58,008 | 2.7 GB | 1.4 GB | 1h06m | 50m30s | 1h55m |
|
| 146 |
| 2012 | 291 | 34,256,841 | 117,721 | 9.2 GB | 3.2 GB | 2h14m | 3h16m | 2h50m |
|
| 147 |
| 2013 | 344 | 74,483,412 | 216,521 | 22.7 GB | 7.0 GB | 3h27m | 10h53m | 4h29m |
|
| 148 |
-
| 2014 |
|
| 149 |
| 2015 | 2 | 511,749 | 255,874 | 166.6 MB | 85.1 MB | 20s | 2m59s | 48s |
|
| 150 |
|
| 151 |
|
|
@@ -157,16 +155,15 @@ Pushes are the most common event type, representing roughly half of all GitHub a
|
|
| 157 |
2011 █████░░░░░░░░░░░░░░░░░░░░░░░░░ 6.7M
|
| 158 |
2012 ████████████░░░░░░░░░░░░░░░░░░ 16.5M
|
| 159 |
2013 ██████████████████████████████ 38.1M
|
| 160 |
-
2014 █████████████████████░░░░░░░░░ 27.
|
| 161 |
2015 █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 274.6K
|
| 162 |
```
|
| 163 |
|
| 164 |
|
| 165 |
```sql
|
| 166 |
-
-- Top 20 repos by push volume this year
|
| 167 |
-
|
| 168 |
-
|
| 169 |
-
FROM read_parquet('hf://datasets/open-index/open-github/data/pushes/2026/**/*.parquet')
|
| 170 |
GROUP BY repo_name ORDER BY pushes DESC LIMIT 20;
|
| 171 |
```
|
| 172 |
|
|
@@ -184,12 +181,11 @@ Issue events track the full lifecycle: opened, closed, reopened, labeled, assign
|
|
| 184 |
|
| 185 |
|
| 186 |
```sql
|
| 187 |
-
-- Repos with the most issues opened
|
| 188 |
-
-- Run: duckdb -c ".read issues_top_repos.sql"
|
| 189 |
SELECT repo_name,
|
| 190 |
COUNT(*) FILTER (WHERE action = 'opened') as opened,
|
| 191 |
COUNT(*) FILTER (WHERE action = 'closed') as closed
|
| 192 |
-
FROM read_parquet('hf://datasets/open-index/open-github/data/issues/
|
| 193 |
GROUP BY repo_name ORDER BY opened DESC LIMIT 20;
|
| 194 |
```
|
| 195 |
|
|
@@ -207,32 +203,30 @@ Pull request events cover the full review cycle: opened, merged, closed, review
|
|
| 207 |
|
| 208 |
|
| 209 |
```sql
|
| 210 |
-
-- Top repos by merged PRs this year
|
| 211 |
-
-- Run: duckdb -c ".read prs_top_merged.sql"
|
| 212 |
SELECT repo_name, COUNT(*) as merged_prs
|
| 213 |
-
FROM read_parquet('hf://datasets/open-index/open-github/data/pull_requests/
|
| 214 |
-
WHERE action = '
|
| 215 |
GROUP BY repo_name ORDER BY merged_prs DESC LIMIT 20;
|
| 216 |
```
|
| 217 |
|
| 218 |
### Stars per year
|
| 219 |
|
| 220 |
-
Stars (WatchEvent in the GitHub API) reflect community interest and discovery. Starring patterns often correlate with Hacker News, Reddit, or Twitter posts.
|
| 221 |
|
| 222 |
```
|
| 223 |
2011 ██████░░░░░░░░░░░░░░░░░░░░░░░░ 1.4M
|
| 224 |
2012 ██████████████░░░░░░░░░░░░░░░░ 3.3M
|
| 225 |
2013 ██████████████████████████████ 7.0M
|
| 226 |
-
2014 █████████████████████░░░░░░░░░
|
| 227 |
2015 █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 50.3K
|
| 228 |
```
|
| 229 |
|
| 230 |
|
| 231 |
```sql
|
| 232 |
-
-- Most starred repos this year
|
| 233 |
-
-- Run: duckdb -c ".read stars_top_repos.sql"
|
| 234 |
SELECT repo_name, COUNT(*) as stars
|
| 235 |
-
FROM read_parquet('hf://datasets/open-index/open-github/data/stars/
|
| 236 |
GROUP BY repo_name ORDER BY stars DESC LIMIT 20;
|
| 237 |
```
|
| 238 |
|
|
@@ -241,48 +235,39 @@ GROUP BY repo_name ORDER BY stars DESC LIMIT 20;
|
|
| 241 |
### Python (`datasets`)
|
| 242 |
|
| 243 |
```python
|
| 244 |
-
# Quick-start: load OpenGitHub data with the Hugging Face datasets library.
|
| 245 |
-
# Run: uv run quickstart_datasets.py
|
| 246 |
from datasets import load_dataset
|
| 247 |
|
| 248 |
-
# Stream all stars
|
| 249 |
ds = load_dataset("open-index/open-github", "stars", streaming=True)
|
| 250 |
for row in ds["train"]:
|
| 251 |
print(row["repo_name"], row["actor_login"], row["created_at"])
|
| 252 |
-
break # remove to stream all
|
| 253 |
|
| 254 |
# Load a specific month of issues
|
| 255 |
ds = load_dataset("open-index/open-github", "issues",
|
| 256 |
-
data_files="data/issues/
|
| 257 |
-
print(f"March 2026 issues: {len(ds['train'])}")
|
| 258 |
|
| 259 |
# Load all pull requests into memory
|
| 260 |
ds = load_dataset("open-index/open-github", "pull_requests")
|
| 261 |
-
print(f"Total PRs: {len(ds['train'])}")
|
| 262 |
|
| 263 |
# Query today's live events
|
| 264 |
ds = load_dataset("open-index/open-github", "live", streaming=True)
|
| 265 |
for row in ds["train"]:
|
| 266 |
print(row["event_type"], row["repo_name"], row["created_at"])
|
| 267 |
-
break # remove to stream all
|
| 268 |
```
|
| 269 |
|
| 270 |
### DuckDB
|
| 271 |
|
| 272 |
```sql
|
| 273 |
-
-- Quick-start DuckDB queries for the OpenGitHub dataset.
|
| 274 |
-
-- Run: duckdb -c ".read quickstart.sql"
|
| 275 |
-
|
| 276 |
-- Top 20 most-starred repos this year
|
| 277 |
SELECT repo_name, COUNT(*) as stars
|
| 278 |
-
FROM read_parquet('hf://datasets/open-index/open-github/data/stars/
|
| 279 |
GROUP BY repo_name ORDER BY stars DESC LIMIT 20;
|
| 280 |
|
| 281 |
-
-- Most active PR reviewers (
|
| 282 |
-
SELECT actor_login, COUNT(*) as
|
| 283 |
-
FROM read_parquet('hf://datasets/open-index/open-github/data/pr_reviews/
|
| 284 |
WHERE review_state = 'approved'
|
| 285 |
-
GROUP BY actor_login ORDER BY
|
| 286 |
|
| 287 |
-- Issue open/close rates by repo
|
| 288 |
SELECT repo_name,
|
|
@@ -290,14 +275,13 @@ SELECT repo_name,
|
|
| 290 |
COUNT(*) FILTER (WHERE action = 'closed') as closed,
|
| 291 |
ROUND(COUNT(*) FILTER (WHERE action = 'closed') * 100.0 /
|
| 292 |
NULLIF(COUNT(*) FILTER (WHERE action = 'opened'), 0), 1) as close_pct
|
| 293 |
-
FROM read_parquet('hf://datasets/open-index/open-github/data/issues/
|
| 294 |
-
WHERE is_pull_request = false
|
| 295 |
GROUP BY repo_name HAVING opened >= 10
|
| 296 |
ORDER BY opened DESC LIMIT 20;
|
| 297 |
|
| 298 |
-
-- Full activity timeline for a repo
|
| 299 |
SELECT event_type, created_at, actor_login
|
| 300 |
-
FROM read_parquet('hf://datasets/open-index/open-github/data/*/
|
| 301 |
WHERE repo_name = 'golang/go'
|
| 302 |
ORDER BY created_at DESC LIMIT 100;
|
| 303 |
```
|
|
@@ -305,20 +289,15 @@ ORDER BY created_at DESC LIMIT 100;
|
|
| 305 |
### Bulk download (`huggingface_hub`)
|
| 306 |
|
| 307 |
```python
|
| 308 |
-
# Download OpenGitHub data locally with huggingface_hub.
|
| 309 |
-
# Run: uv run quickstart_download.py
|
| 310 |
-
# For faster downloads: HF_HUB_ENABLE_HF_TRANSFER=1 uv run quickstart_download.py
|
| 311 |
from huggingface_hub import snapshot_download
|
| 312 |
|
| 313 |
# Download only stars data
|
| 314 |
-
|
| 315 |
-
|
| 316 |
-
|
| 317 |
-
|
| 318 |
-
|
| 319 |
-
|
| 320 |
-
# local_dir="./open-github/",
|
| 321 |
-
# allow_patterns="data/*/2026/03/*.parquet")
|
| 322 |
```
|
| 323 |
|
| 324 |
For faster downloads, install `pip install huggingface_hub[hf_transfer]` and set `HF_HUB_ENABLE_HF_TRANSFER=1`.
|
|
@@ -478,19 +457,13 @@ Line-level comments on pull request diffs. Includes the diff hunk for context an
|
|
| 478 |
|
| 479 |
#### `stars`.WatchEvent
|
| 480 |
|
| 481 |
-
Repository star events.
|
| 482 |
|
| 483 |
-
**Processing:**
|
| 484 |
|
| 485 |
| Column | Type | Description |
|
| 486 |
|---|---|---|
|
| 487 |
-
| `
|
| 488 |
-
| `actor_type` | string | `User` or `Organization` (2012–2014 only) |
|
| 489 |
-
| `repo_description` | string | Repo description at star time (2012–2014 only) |
|
| 490 |
-
| `repo_language` | string | Primary language (2012–2014 only) |
|
| 491 |
-
| `repo_stars_count` | int32 | Star count at star time (2012–2014 only) |
|
| 492 |
-
| `repo_forks_count` | int32 | Fork count at star time (2012–2014 only) |
|
| 493 |
-
| `repo_is_fork` | bool | Whether the starred repo is a fork (2012–2014 only) |
|
| 494 |
|
| 495 |
#### `forks`.ForkEvent
|
| 496 |
|
|
@@ -637,20 +610,20 @@ GitHub Discussions lifecycle: created, answered, category_changed, labeled, and
|
|
| 637 |
|
| 638 |
| Table | GitHub Event | Events | % | Description |
|
| 639 |
|-------|-------------|-------:|---:|-------------|
|
| 640 |
-
| `pushes` | PushEvent | 89,
|
| 641 |
-
| `issues` | IssuesEvent | 9,
|
| 642 |
-
| `issue_comments` | IssueCommentEvent | 15,
|
| 643 |
-
| `pull_requests` | PullRequestEvent | 7,
|
| 644 |
-
| `pr_review_comments` | PullRequestReviewCommentEvent | 1,
|
| 645 |
-
| `stars` | WatchEvent | 16,
|
| 646 |
-
| `forks` | ForkEvent | 6,
|
| 647 |
-
| `creates` | CreateEvent | 22,
|
| 648 |
-
| `deletes` | DeleteEvent | 2,
|
| 649 |
-
| `releases` | ReleaseEvent |
|
| 650 |
-
| `commit_comments` | CommitCommentEvent | 1,
|
| 651 |
-
| `wiki_pages` | GollumEvent | 2,
|
| 652 |
| `members` | MemberEvent | 104,094 | 0.1% | Collaborator additions |
|
| 653 |
-
| `public_events` | PublicEvent | 164,
|
| 654 |
|
| 655 |
## How it's built
|
| 656 |
|
|
|
|
| 61 |
|
| 62 |
This dataset contains every public event on GitHub: every push, pull request, issue, star, fork, code review, release, and discussion across all public repositories. GitHub is the world's largest software development platform, home to over 200 million repositories and the daily work of tens of millions of developers, from individual open-source contributors to the engineering teams behind the most widely used software on earth.
|
| 63 |
|
| 64 |
+
The archive currently spans from **2011-02-12** to **2015-01-03** (1,048 days), totaling **177,761,730 events** across 16 fully structured Parquet tables. New events are fetched directly from the GitHub Events API every few seconds and committed as 5-minute Parquet blocks through an automated live pipeline, so the dataset stays current with GitHub itself.
|
| 65 |
|
| 66 |
+
We believe this is the most complete and regularly updated structured mirror of public GitHub activity available on Hugging Face. The original 51.4 GB of raw GH Archive NDJSON has been parsed, flattened, and compressed into 16.6 GB of Zstd-compressed Parquet. Every nested JSON field is expanded into typed columns — no JSON parsing needed downstream. The data is partitioned as `data/TABLE/YYYY/MM/DD.parquet`, making it straightforward to query with DuckDB, load with the `datasets` library, or process with any tool that reads Parquet.
|
| 67 |
|
| 68 |
The underlying data comes from [GH Archive](https://www.gharchive.org/), created by [Ilya Grigorik](https://www.igvita.com/), which has been recording every public GitHub event via the [Events API](https://docs.github.com/en/rest/activity/events) since 2011. Released under the [Open Data Commons Attribution License (ODC-By) v1.0](https://opendatacommons.org/licenses/by/1-0/).
|
| 69 |
|
|
|
|
| 119 |
| `payload_json` | string | Full event payload as JSON |
|
| 120 |
|
| 121 |
```python
|
| 122 |
+
# Query today's live events with DuckDB
|
|
|
|
| 123 |
import duckdb
|
|
|
|
| 124 |
duckdb.sql("""
|
| 125 |
SELECT event_type, COUNT(*) as n
|
| 126 |
FROM read_parquet('hf://datasets/open-index/open-github/today/raw/**/*.parquet')
|
|
|
|
| 134 |
2011 █████░░░░░░░░░░░░░░░░░░░░░░░░░ 14.1M
|
| 135 |
2012 █████████████░░░░░░░░░░░░░░░░░ 34.3M
|
| 136 |
2013 ██████████████████████████████ 74.5M
|
| 137 |
+
2014 █████████████████████░░░░░░░░░ 54.4M
|
| 138 |
2015 █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 511.7K
|
| 139 |
```
|
| 140 |
|
|
|
|
| 143 |
| 2011 | 243 | 14,096,144 | 58,008 | 2.7 GB | 1.4 GB | 1h06m | 50m30s | 1h55m |
|
| 144 |
| 2012 | 291 | 34,256,841 | 117,721 | 9.2 GB | 3.2 GB | 2h14m | 3h16m | 2h50m |
|
| 145 |
| 2013 | 344 | 74,483,412 | 216,521 | 22.7 GB | 7.0 GB | 3h27m | 10h53m | 4h29m |
|
| 146 |
+
| 2014 | 168 | 54,413,584 | 323,890 | 16.6 GB | 5.0 GB | 1h49m | 9h28m | 2h32m |
|
| 147 |
| 2015 | 2 | 511,749 | 255,874 | 166.6 MB | 85.1 MB | 20s | 2m59s | 48s |
|
| 148 |
|
| 149 |
|
|
|
|
| 155 |
2011 █████░░░░░░░░░░░░░░░░░░░░░░░░░ 6.7M
|
| 156 |
2012 ████████████░░░░░░░░░░░░░░░░░░ 16.5M
|
| 157 |
2013 ██████████████████████████████ 38.1M
|
| 158 |
+
2014 █████████████████████░░░░░░░░░ 27.7M
|
| 159 |
2015 █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 274.6K
|
| 160 |
```
|
| 161 |
|
| 162 |
|
| 163 |
```sql
|
| 164 |
+
-- Top 20 repos by push volume this year
|
| 165 |
+
SELECT repo_name, COUNT(*) as pushes, SUM(push_size) as commits
|
| 166 |
+
FROM read_parquet('hf://datasets/open-index/open-github/data/pushes/2025/**/*.parquet')
|
|
|
|
| 167 |
GROUP BY repo_name ORDER BY pushes DESC LIMIT 20;
|
| 168 |
```
|
| 169 |
|
|
|
|
| 181 |
|
| 182 |
|
| 183 |
```sql
|
| 184 |
+
-- Repos with the most issues opened this year
|
|
|
|
| 185 |
SELECT repo_name,
|
| 186 |
COUNT(*) FILTER (WHERE action = 'opened') as opened,
|
| 187 |
COUNT(*) FILTER (WHERE action = 'closed') as closed
|
| 188 |
+
FROM read_parquet('hf://datasets/open-index/open-github/data/issues/2025/**/*.parquet')
|
| 189 |
GROUP BY repo_name ORDER BY opened DESC LIMIT 20;
|
| 190 |
```
|
| 191 |
|
|
|
|
| 203 |
|
| 204 |
|
| 205 |
```sql
|
| 206 |
+
-- Top repos by merged PRs this year
|
|
|
|
| 207 |
SELECT repo_name, COUNT(*) as merged_prs
|
| 208 |
+
FROM read_parquet('hf://datasets/open-index/open-github/data/pull_requests/2025/**/*.parquet')
|
| 209 |
+
WHERE action = 'closed' AND merged = true
|
| 210 |
GROUP BY repo_name ORDER BY merged_prs DESC LIMIT 20;
|
| 211 |
```
|
| 212 |
|
| 213 |
### Stars per year
|
| 214 |
|
| 215 |
+
Stars (WatchEvent in the GitHub API) reflect community interest and discovery. Starring patterns often correlate with Hacker News, Reddit, or Twitter posts.
|
| 216 |
|
| 217 |
```
|
| 218 |
2011 ██████░░░░░░░░░░░░░░░░░░░░░░░░ 1.4M
|
| 219 |
2012 ██████████████░░░░░░░░░░░░░░░░ 3.3M
|
| 220 |
2013 ██████████████████████████████ 7.0M
|
| 221 |
+
2014 █████████████████████░░░░░░░░░ 5.0M
|
| 222 |
2015 █░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 50.3K
|
| 223 |
```
|
| 224 |
|
| 225 |
|
| 226 |
```sql
|
| 227 |
+
-- Most starred repos this year
|
|
|
|
| 228 |
SELECT repo_name, COUNT(*) as stars
|
| 229 |
+
FROM read_parquet('hf://datasets/open-index/open-github/data/stars/2025/**/*.parquet')
|
| 230 |
GROUP BY repo_name ORDER BY stars DESC LIMIT 20;
|
| 231 |
```
|
| 232 |
|
|
|
|
| 235 |
### Python (`datasets`)
|
| 236 |
|
| 237 |
```python
|
|
|
|
|
|
|
| 238 |
from datasets import load_dataset
|
| 239 |
|
| 240 |
+
# Stream all stars
|
| 241 |
ds = load_dataset("open-index/open-github", "stars", streaming=True)
|
| 242 |
for row in ds["train"]:
|
| 243 |
print(row["repo_name"], row["actor_login"], row["created_at"])
|
|
|
|
| 244 |
|
| 245 |
# Load a specific month of issues
|
| 246 |
ds = load_dataset("open-index/open-github", "issues",
|
| 247 |
+
data_files="data/issues/2024/06/*.parquet")
|
|
|
|
| 248 |
|
| 249 |
# Load all pull requests into memory
|
| 250 |
ds = load_dataset("open-index/open-github", "pull_requests")
|
|
|
|
| 251 |
|
| 252 |
# Query today's live events
|
| 253 |
ds = load_dataset("open-index/open-github", "live", streaming=True)
|
| 254 |
for row in ds["train"]:
|
| 255 |
print(row["event_type"], row["repo_name"], row["created_at"])
|
|
|
|
| 256 |
```
|
| 257 |
|
| 258 |
### DuckDB
|
| 259 |
|
| 260 |
```sql
|
|
|
|
|
|
|
|
|
|
| 261 |
-- Top 20 most-starred repos this year
|
| 262 |
SELECT repo_name, COUNT(*) as stars
|
| 263 |
+
FROM read_parquet('hf://datasets/open-index/open-github/data/stars/2025/**/*.parquet')
|
| 264 |
GROUP BY repo_name ORDER BY stars DESC LIMIT 20;
|
| 265 |
|
| 266 |
+
-- Most active PR reviewers (approved only)
|
| 267 |
+
SELECT actor_login, COUNT(*) as reviews
|
| 268 |
+
FROM read_parquet('hf://datasets/open-index/open-github/data/pr_reviews/2025/**/*.parquet')
|
| 269 |
WHERE review_state = 'approved'
|
| 270 |
+
GROUP BY actor_login ORDER BY reviews DESC LIMIT 20;
|
| 271 |
|
| 272 |
-- Issue open/close rates by repo
|
| 273 |
SELECT repo_name,
|
|
|
|
| 275 |
COUNT(*) FILTER (WHERE action = 'closed') as closed,
|
| 276 |
ROUND(COUNT(*) FILTER (WHERE action = 'closed') * 100.0 /
|
| 277 |
NULLIF(COUNT(*) FILTER (WHERE action = 'opened'), 0), 1) as close_pct
|
| 278 |
+
FROM read_parquet('hf://datasets/open-index/open-github/data/issues/2025/**/*.parquet')
|
|
|
|
| 279 |
GROUP BY repo_name HAVING opened >= 10
|
| 280 |
ORDER BY opened DESC LIMIT 20;
|
| 281 |
|
| 282 |
+
-- Full activity timeline for a repo
|
| 283 |
SELECT event_type, created_at, actor_login
|
| 284 |
+
FROM read_parquet('hf://datasets/open-index/open-github/data/*/2025/03/*.parquet')
|
| 285 |
WHERE repo_name = 'golang/go'
|
| 286 |
ORDER BY created_at DESC LIMIT 100;
|
| 287 |
```
|
|
|
|
| 289 |
### Bulk download (`huggingface_hub`)
|
| 290 |
|
| 291 |
```python
|
|
|
|
|
|
|
|
|
|
| 292 |
from huggingface_hub import snapshot_download
|
| 293 |
|
| 294 |
# Download only stars data
|
| 295 |
+
folder = snapshot_download(
|
| 296 |
+
"open-index/open-github",
|
| 297 |
+
repo_type="dataset",
|
| 298 |
+
local_dir="./open-github/",
|
| 299 |
+
allow_patterns="data/stars/**/*.parquet",
|
| 300 |
+
)
|
|
|
|
|
|
|
| 301 |
```
|
| 302 |
|
| 303 |
For faster downloads, install `pip install huggingface_hub[hf_transfer]` and set `HF_HUB_ENABLE_HF_TRANSFER=1`.
|
|
|
|
| 457 |
|
| 458 |
#### `stars`.WatchEvent
|
| 459 |
|
| 460 |
+
Repository star events. Simple, high-signal data: who starred which repo, and when. The `action` field is always `"started"` (GitHub API naming quirk: `WatchEvent` means starring, not watching).
|
| 461 |
|
| 462 |
+
**Processing:** Minimal flattening: only the `action` field from payload. The event envelope (actor, repo, timestamp) carries all the useful information.
|
| 463 |
|
| 464 |
| Column | Type | Description |
|
| 465 |
|---|---|---|
|
| 466 |
+
| `action` | string | Always `started` |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 467 |
|
| 468 |
#### `forks`.ForkEvent
|
| 469 |
|
|
|
|
| 610 |
|
| 611 |
| Table | GitHub Event | Events | % | Description |
|
| 612 |
|-------|-------------|-------:|---:|-------------|
|
| 613 |
+
| `pushes` | PushEvent | 89,270,793 | 50.2% | Git pushes with commits |
|
| 614 |
+
| `issues` | IssuesEvent | 9,880,790 | 5.6% | Issue lifecycle events |
|
| 615 |
+
| `issue_comments` | IssueCommentEvent | 15,516,274 | 8.7% | Comments on issues/PRs |
|
| 616 |
+
| `pull_requests` | PullRequestEvent | 7,215,059 | 4.1% | PR lifecycle events |
|
| 617 |
+
| `pr_review_comments` | PullRequestReviewCommentEvent | 1,640,130 | 0.9% | Line-level PR comments |
|
| 618 |
+
| `stars` | WatchEvent | 16,643,401 | 9.4% | Repository stars |
|
| 619 |
+
| `forks` | ForkEvent | 6,396,762 | 3.6% | Repository forks |
|
| 620 |
+
| `creates` | CreateEvent | 22,354,491 | 12.6% | Branch/tag/repo creation |
|
| 621 |
+
| `deletes` | DeleteEvent | 2,253,387 | 1.3% | Branch/tag deletion |
|
| 622 |
+
| `releases` | ReleaseEvent | 205,515 | 0.1% | Release publications |
|
| 623 |
+
| `commit_comments` | CommitCommentEvent | 1,661,008 | 0.9% | Comments on commits |
|
| 624 |
+
| `wiki_pages` | GollumEvent | 2,955,155 | 1.7% | Wiki page edits |
|
| 625 |
| `members` | MemberEvent | 104,094 | 0.1% | Collaborator additions |
|
| 626 |
+
| `public_events` | PublicEvent | 164,575 | 0.1% | Repo made public |
|
| 627 |
|
| 628 |
## How it's built
|
| 629 |
|
data/commit_comments/2014/06/21.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:5d06d5799367ef3348500982aa3ecfa7772f7b76b2ca847e771c77382409b9b4
|
| 3 |
+
size 53831
|
data/creates/2014/06/21.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:de44dc423f588de50a14672e0c38e1236a5dbf6d3fdcb1e417af820e055fe2e3
|
| 3 |
+
size 939358
|
data/deletes/2014/06/21.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:bcfef2ca58c5ff4c81bcc010a21eb11c14659db215760d0ea71433123ec9de6d
|
| 3 |
+
size 84544
|
data/forks/2014/06/21.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:474930f3c95c541b1200cef0f7127fc78b6582a0db2c478111fafe84f020ddcf
|
| 3 |
+
size 219523
|
data/issue_comments/2014/06/21.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:b473b63afb62b4ec5bae925fc94cb131410b3a61027aaa04416016cb3fb973eb
|
| 3 |
+
size 359933
|
data/issues/2014/06/21.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:6da5e98b03267492774f60d96d266b20fbf3b7a622a617df08c2f31208ab5e77
|
| 3 |
+
size 229809
|
data/public_events/2014/06/21.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:d1f43f926df3c43f6c1337171e2a7b346bfdb0c28557017f23b9ffcbf0ea1e42
|
| 3 |
+
size 7872
|
data/pull_requests/2014/06/21.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:2c7a93076633f14eab00c31e23825ee8970bf863db1e01f26513e3034f8e55d8
|
| 3 |
+
size 1271529
|
data/pushes/2014/06/21.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:7867bf48645832b3bf133d4fc11608173079499c45c9f991a64651059f85962a
|
| 3 |
+
size 16185428
|
data/stars/2014/06/21.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:900057277093bcc62adc434dbb82491bdd8180adc0481ddcf501e6da5321b309
|
| 3 |
+
size 433323
|
data/wiki_pages/2014/06/21.parquet
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
version https://git-lfs.github.com/spec/v1
|
| 2 |
+
oid sha256:74a11aca80dc7190e7ea70b6c669f84cd82029fc302bc8cdabf6a3f93c9809e0
|
| 3 |
+
size 118080
|
stats.csv
CHANGED
|
@@ -1043,6 +1043,7 @@ date,total_events,parse_errors,pushes,issues,issue_comments,pull_requests,pr_rev
|
|
| 1043 |
2014-06-17,397284,1549,197943,20078,36869,19164,0,6149,36105,14948,47083,8280,989,3492,4249,0,386,0,141915613,278.6,40854501,45.0,278.6,105.1
|
| 1044 |
2014-06-18,395304,1511,198042,21382,36868,18956,0,6619,34722,14658,44196,6699,947,6265,4098,0,341,0,140973432,268.3,39112409,33.3,268.3,48.9
|
| 1045 |
2014-06-19,381455,1435,192403,19393,35171,18377,0,5650,35034,14278,44940,6740,1034,2929,3746,0,325,0,134349068,257.4,38286658,34.7,257.4,47.8
|
| 1046 |
-
2014-06-20,298206,1179,151406,14256,26384,14434,0,4241,27174,11752,34570,6042,812,2566,3126,0,264,0,105692313,195.4,30715112,39.2,195.4,
|
|
|
|
| 1047 |
2015-01-01,218939,0,119242,9843,17045,8735,0,2173,21939,7144,23913,3843,816,1399,2196,474,177,0,73764980,79.7,37810232,15.9,79.7,0.0
|
| 1048 |
2015-01-03,292810,0,155315,15037,26081,11958,0,2946,28410,9430,31862,4560,963,1829,3178,983,258,0,100890756,100.1,51394128,4.6,100.1,48.0
|
|
|
|
| 1043 |
2014-06-17,397284,1549,197943,20078,36869,19164,0,6149,36105,14948,47083,8280,989,3492,4249,0,386,0,141915613,278.6,40854501,45.0,278.6,105.1
|
| 1044 |
2014-06-18,395304,1511,198042,21382,36868,18956,0,6619,34722,14658,44196,6699,947,6265,4098,0,341,0,140973432,268.3,39112409,33.3,268.3,48.9
|
| 1045 |
2014-06-19,381455,1435,192403,19393,35171,18377,0,5650,35034,14278,44940,6740,1034,2929,3746,0,325,0,134349068,257.4,38286658,34.7,257.4,47.8
|
| 1046 |
+
2014-06-20,298206,1179,151406,14256,26384,14434,0,4241,27174,11752,34570,6042,812,2566,3126,0,264,0,105692313,195.4,30715112,39.2,195.4,45.6
|
| 1047 |
+
2014-06-21,202319,920,110092,8322,14263,7193,0,1412,18601,8503,25825,2932,550,1370,2172,0,164,0,63875580,129.4,19903230,32.2,129.4,0.0
|
| 1048 |
2015-01-01,218939,0,119242,9843,17045,8735,0,2173,21939,7144,23913,3843,816,1399,2196,474,177,0,73764980,79.7,37810232,15.9,79.7,0.0
|
| 1049 |
2015-01-03,292810,0,155315,15037,26081,11958,0,2946,28410,9430,31862,4560,963,1829,3178,983,258,0,100890756,100.1,51394128,4.6,100.1,48.0
|