cabal-version: 2.4
name: dataframe-huggingface
version: 1.0.0.0
synopsis: Read Parquet datasets from HuggingFace into dataframes.
description:
@DataFrame.IO.HuggingFace@ — resolve and download Parquet files from
HuggingFace (@hf://@) datasets and load them as 'DataFrame's, eagerly
or via the lazy/streaming engine. This is the home for the heavier
@aeson@ and @http-conduit@ dependencies that network access requires,
keeping @dataframe-parquet@ and @dataframe-lazy@ free of them.
bug-reports: https://github.com/mchav/dataframe/issues
license: MIT
license-file: LICENSE
author: Michael Chavinda
maintainer: mschavinda@gmail.com
copyright: (c) 2024-2026 Michael Chavinda
category: Data
tested-with: GHC ==9.4.8 || ==9.6.7 || ==9.8.4 || ==9.10.3 || ==9.12.2
common warnings
ghc-options:
-Wincomplete-patterns
-Wincomplete-uni-patterns
-Wunused-imports
-Wunused-local-binds
-Wunused-packages
library
import: warnings
exposed-modules: DataFrame.IO.HuggingFace
build-depends: base >= 4 && < 5,
aeson >= 0.11.0.0 && < 3,
bytestring >= 0.11 && < 0.13,
dataframe-core ^>= 1.1,
dataframe-lazy ^>= 1.1,
dataframe-operations ^>= 1.1.1,
dataframe-parquet ^>= 1.1,
dataframe-parsing ^>= 1.0.2,
directory >= 1.3.0.0 && < 2,
filepath >= 1.4 && < 2,
Glob >= 0.10 && < 1,
http-conduit >= 2.3 && < 3,
temporary >= 1.3 && < 2,
text >= 2.1 && < 3
hs-source-dirs: src
default-language: Haskell2010
test-suite tests
import: warnings
type: exitcode-stdio-1.0
main-is: Main.hs
hs-source-dirs: test
build-depends: base >= 4 && < 5,
dataframe-huggingface
default-language: Haskell2010