<commit_before>homepage: https://github.com/ananthakumaran/hopfli
changelog-type: ''
hash: 9523299d0e5991b98d8ea2b287541e67349a68b717a569df9f410a5d255627af
test-bench-deps:
  bytestring: ! '>=0.9 && <0.12'
  base: ! '>=4 && <5'
  hspec: ==1.7.2.1
  hopfli: ==0.2.1.0
  zlib: ! '>=0.5.4'
  QuickCheck: ==2.6
maintainer: <EMAIL>
synopsis: zlib compatible compression using Zopfli Compression Algorithm
changelog: ''
basic-deps:
  bytestring: ! '>=0.9 && <0.12'
  base: ! '>=4 && <5'
  zlib: ! '>=0.5.4'
all-versions:
- '0.1.0.0'
- '0.2.0.0'
- '0.2.1.0'
author: <NAME>
latest: '0.2.1.0'
description-type: haddock
description: Hopfli provides a pure interface to compress data using Zopfli algorithm.
license-name: Apache-2.0<commit_msg>Update from Hackage at 2017-03-02T15:25:46Z<commit_after>homepage: https://github.com/ananthakumaran/hopfli
changelog-type: ''
hash: 6d521102ec4024b0a92e573ff8c956d2dc6bde2792ea84c56b7121951a92d88a
test-bench-deps:
  bytestring: ! '>=0.9 && <0.12'
  base: ! '>=4 && <5'
  hspec: ! '>=1.7.2.1 && <2.5'
  hopfli: -any
  zlib: ! '>=0.5.4 && <0.7'
  QuickCheck: ! '>=2.6 && <2.10'
maintainer: <NAME> <<EMAIL>>
synopsis: Bidings to Google's Zopfli compression library
changelog: ''
basic-deps:
  bytestring: ! '>=0.9 && <0.12'
  base: ! '>=4 && <5'
  zlib: ! '>=0.5.4 && <0.7'
all-versions:
- '0.1.0.0'
- '0.2.0.0'
- '0.2.1.0'
- '0.2.1.1'
author: <NAME> <<EMAIL>>
latest: '0.2.1.1'
description-type: markdown
description: ! 'Hopfli - Haskell bindings to the Zopfli library

  ===

  [![Build Status](https://secure.travis-ci.org/ananthakumaran/hopfli.png)](http://travis-ci.org/ananthakumaran/hopfli)

  [![Hackage-Deps](https://img.shields.io/hackage-deps/v/hopfli.svg)](http://packdeps.haskellers.com/specific?package=hasmin)

  [![Hackage](https://img.shields.io/hackage/v/hopfli.svg)](https://hackage.haskell.org/package/hopfli)

  [![License](https://img.shields.io/badge/License-Apache%202.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)


  Hopfli provides a pure interface to compress data using the Zopfli library.


  *Zopfli is a compression library released by Google in 2013, which can output

  either a raw DEFLATE stream, or one wrapped into zlib or gzip formats. Under

  default settings, the output produced by Zopfli is 3.7–8.3% smaller than that of

  `gzip -9`, though the algorithm is 81 times slower.*


  ## Example


  ````haskell

  import           Codec.Compression.Hopfli

  import           Data.ByteString

  import           System.IO                (stdin, stdout)


  main :: IO ()

  main = hGetContents stdin >>= hPut stdout . compressWith defaultCompressOptions
  GZIP

  ````


  ````

  runGhc example.hs < README.md > README.md.gz

  ````

'
license-name: Apache-2.0
{'fraction_non_alphanumeric': 0.17419825072886297, 'fraction_numerical': 0.08163265306122448, 'mean_word_length': 3.56738768718802, 'pattern_counts': {'":': 0, '<': 24, '<?xml version=': 0, '>': 28, 'https://': 8, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 12, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7355923', 'n_tokens_mistral': 1259, 'n_tokens_neox': 1127, 'n_words': 223}