Skip to content

feat: add Hugging Face dataset source reader behind [hf] extra - #297

Open
ArdaTkn wants to merge 1 commit into
SkyeAv:mainfrom
ArdaTkn:feat/hf-source-reader
Open

ArdaTkn wants to merge 1 commit into
SkyeAv:mainfrom
ArdaTkn:feat/hf-source-reader

Conversation

@ArdaTkn

@ArdaTkn ArdaTkn commented Nov 19, 2026

Copy link
Copy Markdown
Contributor

Closes #268.

Summary

  • Add hf = ["datasets>=3.0.0", "huggingface-hub>=0.25.0"] optional extra in pyproject.toml (relocked uv.lock) and register "hf" in src/tablassert/extras.py.
  • Add Files.HF enum member, HFSource model (kind: hf, repo_id, optional config, split, revision, default url to https://huggingface.co/datasets/<repo_id>), and lib.hf reader with positional column_1.. renaming.
  • Update README.md, docs/installation.md, docs/configuration/table.md, llms.txt, tests/test_docs_source_of_truth.py, tests/test_extras.py, and CHANGELOG.md.
  • Add offline unit tests in tests/test_hf_source.py.

Local gate

  • uv lock --check: PASS
  • scripts/check_changelog.py --base upstream/main: PASS
  • ruff check . / ruff format --check .: clean
  • pyright: 0 errors
  • vulture / deptry .: clean
  • mkdocs build --strict: clean
  • pytest tests/test_hf_source.py tests/test_extras.py tests/test_docs_source_of_truth.py tests/test_docs_style.py tests/test_cover_models.py: 237 passed

@coderabbitai

coderabbitai Bot commented Nov 19, 2026 •

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: e31d1612-2d9b-498b-a30a-9b0b606f1b45
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

@ArdaTkn
ArdaTkn force-pushed the feat/hf-source-reader branch from 702eef9 to 5edd78a Compare November 20, 2026 21:36

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add a Hugging Face dataset source reader

1 participant