fixtures / README.md
Cameron Smith
docs: add DuckDB + HuggingFace hf:// protocol references
187f6a7 unverified
metadata
license: apache-2.0
pretty_name: SciExp Fixtures
tags:
  - test-fixtures
  - duckdb
  - ducklake
size_categories:
  - n<1K

sciexp/fixtures

Test fixtures and example datasets for sciexp.

Quick start

git clone https://huggingface.co/datasets/sciexp/fixtures
cd fixtures
git lfs pull

Datasets

Space dataset

A relational dataset about space exploration demonstrating DuckLake workflows. Contains tables for astronauts, missions, spacecraft, and mission crew assignments.

duckdb -box < queries/space.sql
Manual DuckDB session

DuckDB can access Hugging Face datasets directly via the hf:// protocol. See also Access 150k+ datasets from Hugging Face with DuckDB.

Attach directly from Hugging Face:

INSTALL ducklake;
LOAD ducklake;
ATTACH 'ducklake:hf://datasets/sciexp/fixtures/lakes/frozen/space.db' AS space;
SHOW TABLES FROM space.main;

Or from a local clone:

ATTACH 'ducklake:lakes/frozen/space.db' AS space;

Attribution

The space missions dataset originates from:

Repository layout

Directory structure
lakes/frozen/                DuckLake databases
  space.db                   Metadata database
  space/                     Parquet data files
queries/                     SQL scripts

Contributing

Authentication and push workflow

Push access requires Hugging Face authentication:

hf auth login --token "${HF_TOKEN}" --add-to-git-credential

Push changes:

git lfs push --all origin
git push