# /// script # requires-python = ">=3.11" # dependencies = ["huggingface-hub"] # /// """Download dataset files from Hugging Face Hub.""" from huggingface_hub import snapshot_download # Download only issues snapshot_download( "open-index/open-github-meta", repo_type="dataset", local_dir="./open-github-meta/", allow_patterns="data/issues/**/*.parquet", ) print("Downloaded issues parquet files to ./open-github-meta/")