streaming-utils
http, attoparsec, pipes and other utilities for the streaming libraries
This package includes http-client, aeson, attoparsec, zlib and pipes utilities for use with
the <http://hackage.haskell.org/package/streaming streaming> and
<http://hackage.haskell.org/package/streaming-bytestring streaming bytestring> libraries.
The modules generally closely follow similarly named modules in the pipes
\'ecosystem\', using similar function names, where possible.
Thus, for example, using the http client module, we might number the lines
of a remote document thus:
> import Streaming
> import Streaming.Prelude (with, each)
> import qualified Streaming.Prelude as S
> import Data.ByteString.Streaming.HTTP
> import qualified Data.ByteString.Streaming.Char8 as Q
>
> main = runResourceT $ do
> let output = numbers <|> Q.lines (simpleHTTP "http://lpaste.net/raw/146542")
> Q.putStrLn $ Q.unlines output
>
> numbers :: Monad m => Stream (Q.ByteString m) m ()
> numbers = with (each [1..]) $ \n -> Q.pack (each (show n ++ ". "))
> -- ["1. ", "2. " ..]
The memory requirements of this @Prelude@-ish program will not be
affected by the fact that, say, the third \'line\' is 10 terabytes long.
This package of course heaps together a number of dependencies, as it
seemed best not to spam hackage with numerous packages. If it seems
reasonable to detach some of it, please raise an issue on the github page.
Questions about usage can be raised as issues, or addressed to the
<https://groups.google.com/forum/#!forum/haskell-pipes pipes list>.
| version | uploaded | uploader | changes | |
|---|---|---|---|---|
| 0.2.6.0 | 2024-09-20 11:02 UTC | OliverCharles | +52/−46 lines, 3 filesdep +attoparsec-aesondep ~aesondep ~bytestringdep ~resourcetPVP: major bump suggested | |
| 0.2.5.0 | 2023-08-01 09:56 UTC | OliverCharles | +8/−3 lines, 2 filesdep ~mtldep ~transformersPVP ok | |
| 0.2.4.0 | 2023-05-11 12:40 UTC | OliverCharles | +6/−2 lines, 2 filesdep ~streaming-bytestringPVP ok | |
| 0.2.3.0 | 2022-09-08 08:11 UTC | OliverCharles | +6/−2 lines, 2 filesdep ~bytestring | |
| 0.2.2.0 | 2022-09-05 08:13 UTC | OliverCharles | +11/−7 lines, 3 filesdep ~aeson | |
| 0.2.1.0 | 2021-09-02 14:41 UTC | OliverCharles | +35/−25 lines, 2 filesdep ~attoparsecdep ~http-clientdep ~streaming-bytestringnew-uploaderPVP: major bump suggested | |
| 0.2.0.0 | 2019-02-14 00:07 UTC | chessai | 1 revisions | +17/−18 lines, 2 filesdep ~aesondep ~attoparsecdep ~basenew-uploaderPVP ok |
| 0.1.4.7 | 2017-01-23 20:51 UTC | MichaelThompson | +6/−6 lines, 3 filesdep ~streaming-commons | |
| 0.1.4.6 | 2017-01-17 09:43 UTC | MichaelThompson | +8/−23 lines, 2 filesdep ~aesondep ~pipes | |
| 0.1.4.5 | 2017-01-17 09:00 UTC | MichaelThompson | +5/−3 lines, 1 files | |
| 0.1.4.4 | 2017-01-17 08:43 UTC | MichaelThompson | +326/−69 lines, 5 filesdep +streaming-commonsdep ~attoparsecdep ~http-clientdep ~http-client-tls | |
| 0.1.4.3 | 2016-06-01 15:10 UTC | MichaelThompson | +400/−15 lines, 3 filesdep +networkdep +network-simpledep ~aesondep ~basedep ~json-stream | |
| 0.1.4.2 | 2016-01-21 06:06 UTC | MichaelThompson | +119/−29 lines, 4 files | |
| 0.1.4.1 | 2016-01-02 03:56 UTC | MichaelThompson | +101/−32 lines, 2 files | |
| 0.1.4.0 | 2015-12-26 23:43 UTC | MichaelThompson | +93/−23 lines, 2 filesdep +resourcetdep ~aesondep ~bytestringdep ~streaming | |
| 0.1.3.0 | 2015-12-03 18:30 UTC | MichaelThompson | +19/−4 lines, 2 filesdep ~streamingdep ~streaming-bytestring | |
| 0.1.2.2 | 2015-11-03 04:32 UTC | MichaelThompson | +29/−17 lines, 3 filesdep ~json-streamdep ~streamingdep ~streaming-bytestring | |
| 0.1.2.0 | 2015-10-22 18:19 UTC | MichaelThompson | +41/−14 lines, 2 filesdep ~streamingdep ~streaming-bytestring | |
| 0.1.1.1 | 2015-10-07 05:13 UTC | MichaelThompson | +34/−2 lines, 2 files | |
| 0.1.1.0 | 2015-10-05 01:23 UTC | MichaelThompson | +160/−8 lines, 2 filesdep +aesondep +json-streamdep ~attoparsecdep ~basedep ~streaming | |
| 0.1.0.1 | 2015-09-19 17:34 UTC | MichaelThompson | +18/−3 lines, 1 files | |
| 0.1.0.0 | 2015-09-19 16:29 UTC | MichaelThompson | +672/−0 lines, 6 filesdep +attoparsecdep +basedep +bytestringsetup-changed |
Dependencies of streaming-utils-0.2.6.0
aeson >=2.2 && <2.3 2.2.5.1 → 2.3.3.0 newer than bounds
| 2026-11-23 21:23 UTC | 2.3.3.0 newer than bounds | +124/−38 lines, 10 filesPVP ok |
| 2026-09-12 18:04 UTC | 2.3.2.0 newer than bounds | +97/−60 lines, 13 filesPVP ok |
| 2026-07-05 10:37 UTC | 2.3.1.0 newer than bounds | +101/−42 lines, 17 filesdep ~text-iso8601PVP ok |
| 2026-05-21 08:35 UTC | 2.3.0.0 newer than bounds | +54/−41 lines, 17 filesdep ~nothunksdep ~text-iso8601new-uploaderPVP ok |
| 2026-08-29 13:20 UTC | 2.2.5.1 | +36/−24 lines, 4 filesnew-uploaderPVP ok |
showing 5 of 106 versions
attoparsec >0.13.0.0 && <0.15 0.14.3 → 0.14.4
| 2022-01-10 18:41 UTC | 0.14.4 | +736/−940 lines, 30 filesdep +attoparsecdep +tasty-benchdep −criteriondep ~QuickCheckdep ~bytestringdep ~ghc-primPVP ok |
| 2021-12-09 02:44 UTC | 0.14.3 | +107/−39 lines, 5 filesPVP ok |
| 2021-10-30 15:07 UTC | 0.14.2 | +10/−9 lines, 3 filesdep ~basedep ~ghc-primdep ~semigroupsPVP ok |
| 2021-03-22 21:21 UTC | 0.14.1 | +172/−34 lines, 10 filesPVP ok |
| 2021-02-10 01:00 UTC | 0.13.2.5 | +53/−15 lines, 4 filesdep ~QuickCheckdep ~bytestringdep ~ghc-primPVP: major bump suggested |
showing 5 of 61 versions
attoparsec-aeson >=0 2.2.0.1 → 2.2.2.0
| 2024-05-17 00:08 UTC | 2.2.2.0 | +45/−120 lines, 3 filesdep +character-psdep ~aesondep ~basePVP ok |
| 2023-10-16 15:56 UTC | 2.2.0.1 | +9/−8 lines, 2 filesdep ~bytestringdep ~primitivedep ~textPVP ok |
| 2023-06-27 18:52 UTC | 2.2.0.0 | +778/−13 lines, 6 filesdep +attoparsecdep +bytestringdep +integer-conversiondep ~aesondep ~base |
| 2023-07-09 14:51 UTC | 2.1.0.0 | +71/−0 lines, 2 filesdep +aesondep +base |
base >=4.8 && <5.0 4.22.0.0 → 4.22.1.0
| 2026-12-01 12:38 UTC | 4.22.1.0 | +388/−6 lines, 9 filesdep ~ghc-internalPVP: major bump suggested |
| 2025-12-19 11:52 UTC | 4.22.0.0 | +886/−215 lines, 28 filesdep ~ghc-internalPVP ok |
| 2026-03-27 12:26 UTC | 4.21.2.0 | +10/−3 lines, 4 filesdep ~ghc-internalPVP ok |
| 2025-12-27 10:31 UTC | 4.21.1.0 | +17/−5 lines, 4 filesdep ~ghc-internalPVP ok |
| 2024-12-16 09:24 UTC | 4.21.0.0 | +1170/−396 lines, 39 filesdep ~ghc-internalPVP ok |
showing 5 of 61 versions
bytestring >0.10 && <0.13 0.12.1.0 → 0.12.2.0
| 2024-12-06 21:41 UTC | 0.12.2.0 | +538/−437 lines, 44 filesdep ~QuickCheckdep ~basePVP ok |
| 2024-02-16 03:27 UTC | 0.12.1.0 | +3398/−1642 lines, 37 filesdep +sybdep ~basePVP: major bump suggested |
| 2023-08-16 01:53 UTC | 0.12.0.2 | +16/−2 lines, 3 files |
| 2023-08-05 00:03 UTC | 0.12.0.1 | +47/−9 lines, 3 files |
| 2023-07-07 01:45 UTC | 0.12.0.0 | +1459/−520 lines, 21 filesdep +data-array-bytePVP ok |
showing 5 of 49 versions
http-client >=0.2 && <0.8 0.7.18 → 0.7.19
| 2025-03-21 14:16 UTC | 0.7.19 | +84/−57 lines, 3 filesnew-uploaderPVP ok |
| 2024-12-19 07:03 UTC | 0.7.18 | +94/−26 lines, 11 filesPVP: major bump suggested |
| 2024-03-20 04:42 UTC | 0.7.17 | +11/−1 lines, 3 filesPVP ok |
| 2023-12-31 07:19 UTC | 0.7.16 | +139/−23 lines, 10 filesPVP: major bump suggested |
| 2023-10-30 08:14 UTC | 0.7.15 | +98/−10 lines, 8 filesPVP: major bump suggested |
showing 5 of 137 versions
http-client-tls >=0 0.3.6.4 → 0.4.0
| 2026-03-11 03:24 UTC | 0.4.0 | +33/−10 lines, 4 filesdep +base16dep +cryptohash-md5dep −cryptondep −memorydep ~tlsnew-uploaderPVP ok |
| 2024-10-27 07:49 UTC | 0.3.6.4 | +7/−3 lines, 3 filesdep +data-defaultdep −data-default-classdep ~tlsPVP ok |
| 2023-08-17 04:45 UTC | 0.3.6.3 | +12/−1 lines, 3 filesdep ~tlsPVP ok |
| 2023-06-06 13:09 UTC | 0.3.6.2 | +7/−6 lines, 3 filesdep +cryptondep +crypton-connectiondep −connectiondep −cryptonitedep ~tlsPVP ok |
| 2022-02-11 03:01 UTC | 0.3.6.1 | +7/−2 lines, 2 filesPVP ok |
showing 5 of 30 versions
json-stream >0.4 && <0.5 0.4.6.0 → 0.4.6.1
| 2026-05-31 21:26 UTC | 0.4.6.1 | +6/−2 lines, 2 filesdep ~aesonPVP: major bump suggested |
| 2024-09-11 06:35 UTC | 0.4.6.0 | +66/−33 lines, 7 filesPVP ok |
| 2023-06-30 10:15 UTC | 0.4.5.3 | +6/−2 lines, 2 filesdep ~aesonPVP ok |
| 2023-02-21 12:01 UTC | 0.4.5.2 | +22/−13 lines, 3 filesPVP ok |
| 2023-02-21 11:23 UTC | 0.4.5.1 | +72/−24 lines, 5 filesPVP ok |
showing 5 of 34 versions
mtl >=2.2 && <2.4 2.3.1 → 2.3.2
| 2025-12-08 04:58 UTC | 2.3.2 | +112/−21 lines, 12 filesdep ~basenew-uploaderPVP: major bump suggested |
| 2022-10-31 21:28 UTC | 2.3.1 | +188/−33 lines, 8 filesdep ~basePVP: major bump suggested |
| 2022-05-07 20:34 UTC | 2.3 | +1284/−520 lines, 29 filesdep ~basedep ~transformersnew-uploaderPVP ok |
| 2018-02-24 22:15 UTC | 2.2.2 | +152/−36 lines, 14 filesdep ~basePVP: major bump suggested |
| 2014-06-02 02:22 UTC | 2.2.1 | +179/−4 lines, 8 filesdep ~basedep ~transformersPVP: major bump suggested |
showing 5 of 20 versions
network >=0 3.2.15.0 → 3.2.16.0
| 2026-11-23 03:48 UTC | 3.2.16.0 | +24/−4 lines, 5 filesPVP ok |
| 2026-11-22 04:23 UTC | 3.2.15.0 | +71/−3 lines, 6 filesPVP ok |
| 2026-11-15 10:59 UTC | 3.2.14.0 | +74/−33 lines, 10 filesPVP ok |
| 2026-11-13 00:50 UTC | 3.2.13.0 | +75/−68 lines, 7 filesPVP ok |
| 2026-11-05 05:55 UTC | 3.2.12.0 | +1133/−106 lines, 21 filesPVP: major bump suggested |
showing 5 of 101 versions
network-simple >=0 0.4.4 → 0.4.5
| 2019-06-12 22:20 UTC | 0.4.5 | +12/−2 lines, 2 filesdep +network-bsddep ~network |
| 2019-06-08 08:42 UTC | 0.4.4 | +15/−4 lines, 4 filesdep ~basedep ~networkdep ~socks |
| 2018-09-26 17:28 UTC | 0.4.3 | +120/−15 lines, 4 filesdep +socksdep −exceptionsdep ~bytestringdep ~networkdep ~transformersPVP ok |
| 2018-07-31 18:02 UTC | 0.4.2 | +137/−95 lines, 3 filesdep +safe-exceptionsPVP: major bump suggested |
| 2018-05-15 12:37 UTC | 0.4.1 | +118/−75 lines, 7 filesdep ~basedep ~bytestringdep ~exceptionssetup-changedPVP: major bump suggested |
showing 5 of 18 versions
pipes >=4.0 && <4.4 4.3.15 → 4.3.16
| 2021-05-07 02:43 UTC | 4.3.16 | +39/−5 lines, 3 filesdep ~criteriondep ~mmorphdep ~mtlPVP ok |
| 2021-02-10 00:29 UTC | 4.3.15 | +45/−19 lines, 4 filesdep ~criteriondep ~optparse-applicativePVP: major bump suggested |
| 2020-08-02 19:00 UTC | 4.3.14 | +67/−5 lines, 3 filesPVP ok |
| 2019-11-29 20:46 UTC | 4.3.13 | +10/−2 lines, 4 filesPVP ok |
| 2019-08-27 15:41 UTC | 4.3.12 | +16/−1 lines, 3 filesPVP ok |
showing 5 of 44 versions
resourcet >1.0 && <1.4 1.2.6 → 1.3.0
| 2022-10-23 07:13 UTC | 1.3.0 | +52/−16 lines, 6 filesPVP ok |
| 2022-06-30 06:16 UTC | 1.2.6 | +17/−1 lines, 3 filesPVP ok |
| 2022-05-10 13:16 UTC | 1.2.5 | +11/−4 lines, 3 filesdep ~basedep ~mtlPVP ok |
| 2021-08-05 02:22 UTC | 1.2.4.3 | +29/−4 lines, 4 filesPVP ok |
| 2020-06-25 13:48 UTC | 1.2.4.2 | +9/−5 lines, 3 filesPVP ok |
showing 5 of 61 versions
streaming >=0.2 && <0.3 0.2.3.1 → 0.2.4.0
| 2023-07-06 15:25 UTC | 0.2.4.0 | +21/−15 lines, 4 filesdep ~basedep ~mtldep ~transformersnew-uploaderPVP: major bump suggested |
| 2021-12-20 20:05 UTC | 0.2.3.1 | +382/−24 lines, 6 filesdep +QuickCheckdep +hspecdep +streamingdep ~basedep ~mmorphPVP: major bump suggested |
| 2019-09-24 16:28 UTC | 0.2.3.0 | +486/−499 lines, 7 filesdep +faildep ~basedep ~transformersPVP: major bump suggested |
| 2018-10-03 01:15 UTC | 0.2.2.0 | +225/−19 lines, 4 filesdep ~semigroupsnew-uploaderPVP: major bump suggested |
| 2018-03-08 21:40 UTC | 0.2.1.0 | +67/−9 lines, 5 filesdep +semigroupsdep −exceptionsdep ~basePVP: major bump suggested |
showing 5 of 41 versions
streaming-bytestring >=0.1 && <0.4 0.3.3 → 0.3.4
| 2025-02-11 09:33 UTC | 0.3.4 | +9/−2 lines, 2 filesdep ~ghc-primPVP ok |
| 2024-10-01 05:33 UTC | 0.3.3 | +32/−18 lines, 4 filesPVP ok |
| 2023-11-17 04:41 UTC | 0.3.2 | +14/−8 lines, 2 filesdep ~bytestringdep ~deepseqdep ~ghc-primPVP ok |
| 2023-06-28 01:11 UTC | 0.3.1 | +10/−3 lines, 2 filesdep ~ghc-primPVP ok |
| 2023-04-24 00:26 UTC | 0.3.0 | +29/−30 lines, 3 filesdep −bytestring-builderdep ~basedep ~bytestringdep ~deepseqPVP ok |
showing 5 of 32 versions
streaming-commons >0.2 && <0.3 0.2.3.0 → 0.2.3.1
| 2025-10-28 07:24 UTC | 0.2.3.1 | +13/−6 lines, 5 filesnew-uploaderPVP ok |
| 2025-01-19 12:26 UTC | 0.2.3.0 | +27/−50 lines, 5 filesPVP: major bump suggested |
| 2023-04-03 13:00 UTC | 0.2.2.6 | +3/−3136 lines, 12 filesdep ~textPVP ok |
| 2022-10-23 07:27 UTC | 0.2.2.5 | +12/−2 lines, 3 filesPVP ok |
| 2022-02-06 09:23 UTC | 0.2.2.4 | +7/−3 lines, 3 filesPVP ok |
showing 5 of 54 versions
transformers >=0.4 && <0.7 0.6.2.0 → 0.6.3.0
| 2026-01-12 12:42 UTC | 0.6.3.0 | +28/−1 lines, 4 filesPVP: major bump suggested |
| 2025-04-06 22:39 UTC | 0.6.2.0 | +41/−42 lines, 8 filesdep ~ghc-primPVP: major bump suggested |
| 2024-09-25 11:37 UTC | 0.6.1.2 | +70/−21 lines, 19 filesPVP: minor bump suggested |
| 2023-08-01 19:13 UTC | 0.6.1.1 | +281/−42 lines, 11 filesPVP ok |
| 2023-02-04 08:15 UTC | 0.6.1.0 | +64/−4 lines, 8 filesPVP ok |
showing 5 of 42 versions
Reverse dependencies
7 packages depend on streaming-utils