Frames-0.2.0: Frames.cabal
name: Frames
version: 0.2.0
synopsis: Data frames For working with tabular data files
description: User-friendly, type safe, runtime efficient tooling for
working with tabular data deserialized from
comma-separated values (CSV) files. The type of
each row of data is inferred from data, which can
then be streamed from disk, or worked with in
memory.
license: BSD3
license-file: LICENSE
author: Anthony Cowley
maintainer: acowley@gmail.com
copyright: Copyright (C) 2014-2015 Anthony Cowley
category: Data
build-type: Simple
extra-source-files: benchmarks/*.hs benchmarks/*.py
demo/Main.hs CHANGELOG.md
data/GetData.hs
test/examples.toml
test/data/managers.csv test/data/employees.csv
cabal-version: >=1.10
tested-with: GHC == 7.10.3, GHC == 8.0.1
source-repository head
type: git
location: http://github.com/acowley/Frames.git
flag demos
description: Build demonstration programs
default: False
manual: True
library
exposed-modules: Frames
Frames.Col
Frames.ColumnTypeable
Frames.ColumnUniverse
Frames.CSV
Frames.Exploration
Frames.Frame
Frames.InCore
Frames.Melt
Frames.Rec
Frames.RecF
Frames.RecLens
Frames.TypeLevel
other-extensions: DataKinds, GADTs, KindSignatures, TypeFamilies,
TypeOperators, ConstraintKinds, StandaloneDeriving,
UndecidableInstances, ScopedTypeVariables,
OverloadedStrings
build-depends: base >=4.8 && <4.11,
ghc-prim >=0.3 && <0.6,
primitive >= 0.6 && < 0.7,
text >= 1.1.1.0,
template-haskell,
transformers,
vector,
readable >= 0.3.1,
pipes >= 4.1 && < 5,
vinyl >= 0.6 && < 0.7
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
-- Get the large-ish data files used in the demo and benchmark
executable getdata
if !flag(demos)
buildable: False
main-is: GetData.hs
if flag(demos)
build-depends: base, bytestring, http-client >= 0.4.3, zip-archive, directory
hs-source-dirs: data
default-language: Haskell2010
ghc-options: -Wall
-- Demonstrate using the Chart library to produce figures
executable plot
if !flag(demos)
buildable: False
main-is: Plot.hs
if flag(demos)
build-depends: base, Frames,
microlens, vector, text,
template-haskell,
pipes >= 4.1.5 && < 4.4,
Chart >= 1.5 && < 1.9,
Chart-diagrams >= 1.5 && < 1.9,
diagrams-rasterific >= 1.3 && < 1.5,
diagrams-lib >= 1.3 && < 1.5,
readable, containers, statistics
hs-source-dirs: demo
default-language: Haskell2010
executable plot2
if !flag(demos)
buildable: False
main-is: Plot2.hs
if flag(demos)
build-depends: base, Frames,
microlens, vector, text, template-haskell,
pipes >= 4.1.5 && < 4.4,
Chart >= 1.5 && < 1.9,
Chart-diagrams >= 1.5 && < 1.9,
diagrams-rasterific >= 1.3 && < 1.5,
diagrams-lib >= 1.3 && < 1.5,
readable, containers, statistics
hs-source-dirs: demo
default-language: Haskell2010
-- Miscellaneous tooling around a data file
executable demo
if !flag(demos)
buildable: False
main-is: Main.hs
if flag(demos)
build-depends: base, list-t, microlens, transformers, Frames,
vector, text, template-haskell, ghc-prim, readable,
pipes >= 4.1.5 && < 4.4
hs-source-dirs: demo
default-language: Haskell2010
ghc-options: -O2
-- ghc-options: -O2 -fllvm
executable tutorial
if !flag(demos)
buildable: False
main-is: TutorialMain.hs
if flag(demos)
build-depends: base, Frames,
microlens, vector, text, template-haskell, readable,
foldl >= 1.1.0 && < 1.3,
pipes >= 4.1.5 && < 4.4
hs-source-dirs: demo
default-language: Haskell2010
-- A short demo to compare with Pandas
executable benchdemo
if !flag(demos)
buildable: False
main-is: BenchDemo.hs
if flag(demos)
build-depends: base, Frames,
foldl >= 1.1.0 && < 1.3,
pipes >= 4.1.5 && < 4.4
hs-source-dirs: benchmarks
default-language: Haskell2010
-- ghc-options: -O2
-- Use opt and llc found on PATH rather than the GHC settings file
ghc-options: -O2 -pgmlo opt -pgmlc llc -fllvm
-- A demonstration of dealing with missing data. Provided for source
-- code and experimentation rather than a useful executable.
executable missing
if !flag(demos)
buildable: False
main-is: MissingData.hs
if flag(demos)
build-depends: base, Frames, vinyl, pipes
hs-source-dirs: demo
default-language: Haskell2010
-- Benchmark showing tradeoffs of differing processing needs
benchmark insurance
type: exitcode-stdio-1.0
hs-source-dirs: benchmarks
main-is: InsuranceBench.hs
build-depends: base, criterion, Frames, transformers,
pipes >= 4.1.5 && < 4.4
ghc-options: -O2
default-language: Haskell2010
-- Demonstration of tab-separated value parsing
executable kata04
if !flag(demos)
buildable: False
main-is: Kata04.hs
if flag(demos)
build-depends: base, Frames, vinyl, text, readable
hs-source-dirs: demo
default-language: Haskell2010
test-suite spec
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules: DataCSV PrettyTH Temp
build-depends: base, text, hspec, Frames, template-haskell,
temporary, directory, htoml, regex-applicative, pretty,
unordered-containers, pipes, HUnit
ghc-options: -threaded -rtsopts -with-rtsopts=-N -Wall
default-language: Haskell2010
test-suite overlap
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Overlap.hs
build-depends: base, Frames
default-language: Haskell2010
test-suite mpg
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Mpg.hs
build-depends: base, Frames
default-language: Haskell2010