Popularity
7.2
Declining
Activity
0.0
Stable
19
6
3
Monthly Downloads: 37
Programming language: Haskell
License: MIT License
Latest version: v1.4.3
pipes-csv alternatives and similar packages
Based on the "CSV" category.
Alternatively, view pipes-csv alternatives based on common mentions on social networks and blogs.
-
cassava
A CSV parsing and encoding library optimized for ease of use and high performance -
csv-enumerator
An enumerator-based, flexible, constant-memory and fast CSV parser library for Haskell. -
cassava-streams
io-streams interface for the cassava CSV library.
Build time-series-based applications quickly and at scale.
InfluxDB is the Time Series Platform where developers build real-time applications for analytics, IoT and cloud-native services. Easy to start, it is available in the cloud or on-premises.
Promo
www.influxdata.com
Do you think we are missing an alternative of pipes-csv or a related project?
README
pipes-csv
Constant-space streaming csv parsing with cassava and pipes
Installation
Install with cabal
$ cabal install pipes-csv
Example
{-# LANGUAGE OverloadedStrings #-}
import Pipes.Csv (decode, decodeByName)
import Pipes.ByteString (stdin, ByteString)
import Data.Csv ((.:), FromNamedRecord(..), Record)
import Pipes
import Control.Applicative
data Person = Person String Int
deriving (Show)
instance FromNamedRecord Person where
parseNamedRecord p =
Person <$> p .: "name"
<*> p .: "age"
persons :: Monad m
=> Producer ByteString m ()
-> Producer (Either String Person) m ()
persons = decodeByName
main = runEffect $ for (persons stdin) (lift . print)
License
MIT
*Note that all licence references and agreements mentioned in the pipes-csv README section above
are relevant to that project's source code only.