-
Notifications
You must be signed in to change notification settings - Fork 41
/
Copy pathFrames.cabal
268 lines (250 loc) · 9.27 KB
/
Frames.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
name: Frames
version: 0.7.4.2
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: [email protected]
copyright: Copyright (C) 2014-2018 Anthony Cowley
category: Data
build-type: Simple
extra-source-files: benchmarks/*.hs benchmarks/*.py
demo/framestack/app/Main.hs CHANGELOG.md README.md
data/GetData.hs
test/examples.toml
test/data/managers.csv test/data/employees.csv
test/data/mpg.csv test/data/issue114.csv
test/data/latinManagers.csv
test/data/prestige.csv
test/data/prestigeNoHeader.csv
test/data/prestigePartial.csv
test/data/catSmall.csv test/data/catLarge.csv
test/data/multiline.csv
test/data/issue145.csv
data/left1.csv data/right1.csv data/left_summary.csv
data/FL2.csv
cabal-version: >=1.10
tested-with: GHC == 8.6.5 || == 8.8.4 || == 8.10.7 || == 9.0.1 || == 9.2.1 || == 9.4.6
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.Categorical
Frames.Col
Frames.ColumnTypeable
Frames.ColumnUniverse
Frames.CSV
Frames.Exploration
Frames.Frame
Frames.InCore
Frames.Melt
Frames.Rec
Frames.RecF
Frames.ShowCSV
Frames.TH
Frames.TypeLevel
Frames.Joins
Frames.ExtraInstances
Frames.Utils
other-extensions: DataKinds, GADTs, KindSignatures, TypeFamilies,
TypeOperators, ConstraintKinds, StandaloneDeriving,
UndecidableInstances, ScopedTypeVariables,
OverloadedStrings, TypeApplications
build-depends: base >=4.10 && <4.20,
ghc-prim >=0.3 && <0.12,
primitive >= 0.6 && < 0.10,
text >= 1.1.1.0 && < 2.2,
template-haskell >= 2.10 && < 2.22,
transformers >= 0.5.6 && < 0.7,
vector < 0.14,
readable >= 0.3.1 && < 0.4,
pipes >= 4.1 && < 5,
pipes-bytestring >= 2.1.6 && < 2.2,
pipes-group >= 1.0.8 && < 1.1,
pipes-parse >= 3.0 && < 3.1,
pipes-safe >= 2.2.6 && < 2.4,
bytestring < 0.13,
vinyl >= 0.13.0 && < 0.15,
discrimination >= 0.4 && < 0.6,
contravariant < 1.6,
hashable >= 1.3 && < 1.5,
deepseq >= 1.4 && < 1.6,
containers < 0.8,
vector-th-unbox >= 0.2.1.6 && < 0.3
hs-source-dirs: src
default-language: Haskell2010
ghc-options: -Wall
-- Get the largeish 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,
http-client-tls,
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,
pipes-safe,
Chart >= 1.5 && < 2.0,
Chart-diagrams >= 1.5 && < 2.0,
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 && < 2.0,
Chart-diagrams >= 1.5 && < 2.0,
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
hs-source-dirs: demo/framestack/app
default-language: Haskell2010
ghc-options: -O2 -fsimpl-tick-factor=200
-- 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, pipes, vinyl
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.3 && < 1.5,
pipes >= 4.1.5 && < 4.4
hs-source-dirs: benchmarks
default-language: Haskell2010
-- ghc-options: -O2
ghc-options: -O2 -fllvm -fsimpl-tick-factor=200
-- 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, pipes-safe
hs-source-dirs: demo
default-language: Haskell2010
-- Demo the joins feature
benchmark joins
type: exitcode-stdio-1.0
main-is: JoinsBench.hs
hs-source-dirs: benchmarks
build-depends: base, Frames, criterion
ghc-options: -O2
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
executable modcsv
if !flag(demos)
buildable: False
main-is: ModifyCSV.hs
if flag(demos)
build-depends: base, Frames, microlens, pipes
hs-source-dirs: demo
default-language: Haskell2010
executable timezones
if !flag(demos)
buildable: False
main-is: Main.hs
other-modules: TimeIn Columns
if flag(demos)
build-depends: base, Frames, tz, text, time, readable,
pipes, pipes-safe, template-haskell
hs-source-dirs: demo/TimeZones/src
default-language: Haskell2010
test-suite spec
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Spec.hs
other-modules: DataCSV PrettyTH Temp LatinTest Issue114 NoHeader
UncurryFold UncurryFoldNoHeader UncurryFoldPartialData
Categorical Chunks Issue145
build-depends: base, text, hspec, Frames, template-haskell,
temporary, directory, tomland, regex-applicative, pretty,
unordered-containers, pipes, HUnit, vinyl,
foldl >= 1.3 && < 1.5, validation-selective,
attoparsec, lens, bytestring
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