Frames-beam-0.1.0.0: Frames-beam.cabal
cabal-version: >=1.10
name: Frames-beam
version: 0.1.0.0
license: BSD3
license-file: LICENSE
copyright: 2018 Gagandeep Bhatia
maintainer: gagandeepbhatia.in@gmail.com
author: Gagandeep Bhatia
homepage: https://github.com/gagandeepb/Frames-beam
synopsis: A library for accessing Postgres tables as in-memory data structures.
description:
This library provides a way to access Postgres tables as data frames by providing helpers for generating
types (at compile time) corresponding to a database schema and canned queries to execute against a database
instance. Additionally, provides utilities to convert plain Haskell records (i.e. the format of query results)
to vinyl records (upon which the Frames library is based). Can be used for interactive exploration by loading
all data in-memory at once (and converting to a data frame), and also in a constant memory streaming mode.
Start here: "Frames.SQL.Beam.Postgres".
category: Data, Database, Data Science
build-type: Simple
extra-source-files:
README.md
data/users.sql
CHANGELOG.md
source-repository head
type: git
location: https://github.com/gagandeepb/Frames-beam
library
exposed-modules:
Frames.SQL.Beam.Postgres
Frames.SQL.Beam.Postgres.BeamSchemaGen
Frames.SQL.Beam.Postgres.Vinylize
Frames.SQL.Beam.Postgres.Query
Frames.SQL.Beam.Postgres.Streaming
hs-source-dirs: src
other-modules:
Frames.SQL.Beam.Postgres.Helpers
default-language: Haskell2010
ghc-options: -Wall
build-depends:
base >=4.7 && <5,
beam-core >=0.7.2.1 && <0.8,
beam-postgres >=0.3.2.0 && <0.4,
beam-migrate >=0.3.2.1 && <0.4,
text >=1.2.3.0 && <1.3,
postgresql-simple >=0.5.3.0 && <0.6,
Frames >=0.3.0.2 && <0.4,
template-haskell >=2.12.0.0 && <2.13,
generics-sop >=0.3.2.0 && <0.4,
vinyl >=0.7.0 && <0.8,
process >=1.6.1.0 && <1.7,
conduit >=1.3.0.2 && <1.4,
monad-control >=1.0.2.3 && <1.1,
bytestring >=0.10.8.2 && <0.11,
scientific >=0.3.5.3 && <0.4,
time >=1.8.0.2 && <1.9,
uuid-types >=1.0.3 && <1.1
test-suite spec
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
other-modules:
LibSpec
NewBeamSchema
default-language: Haskell2010
ghc-options: -Wall
build-depends:
base >=4.10.1.0 && <4.11,
Frames-beam -any,
hspec >=2.4.8 && <2.5,
hspec-core >=2.4.8 && <2.5,
QuickCheck >=2.10.1 && <2.11,
conduit >=1.3.0.2 && <1.4,
generics-sop >=0.3.2.0 && <0.4,
text >=1.2.3.0 && <1.3,
vinyl >=0.7.0 && <0.8,
Frames >=0.3.0.2 && <0.4,
beam-core >=0.7.2.1 && <0.8,
beam-postgres >=0.3.2.0 && <0.4,
beam-migrate >=0.3.2.1 && <0.4,
bytestring >=0.10.8.2 && <0.11