open-github-meta / code /stream_issues.py
tamnd's picture
Sync facebook/react: 5.1K rows (2026-03-28 12:37 UTC)
94d3f22 verified
raw
history blame contribute delete
411 Bytes
# /// script
# requires-python = ">=3.11"
# dependencies = ["datasets"]
# ///
"""Stream issues from the dataset without downloading everything."""
from datasets import load_dataset
ds = load_dataset("open-index/open-github-meta", "issues", streaming=True)
for i, row in enumerate(ds["train"]):
print(f"#{row['number']}: [{row['state']}] {row['title']} (by {row['author']})")
if i >= 19:
break