zip-archive: Library for creating and modifying zip archives.

[ bsd3, codec, library ] [ Propose Tags ]

The zip-archive library provides functions for creating, modifying, and extracting files from zip archives. The zip archive format is documented in http://www.pkware.com/documents/casestudies/APPNOTE.TXT.

Certain simplifying assumptions are made about the zip archives: in particular, there is no support for strong encryption, zip files that span multiple disks, ZIP64, OS-specific file attributes, or compression methods other than Deflate. However, the library should be able to read the most common zip archives, and the archives it produces should be readable by all standard unzip programs.

Archives are built and extracted in memory, so manipulating large zip files will consume a lot of memory. If you work with large zip files or need features not supported by this library, a better choice may be zip, which uses a memory-efficient streaming approach. However, zip can only read and write archives inside instances of MonadIO, so zip-archive is a better choice if you want to manipulate zip archives in "pure" contexts.

As an example of the use of the library, a standalone zip archiver and extracter is provided in the source distribution.


[Skip to Readme]
Versions [faq] 0.1, 0.1.1, 0.1.1.1, 0.1.1.2, 0.1.1.3, 0.1.1.4, 0.1.1.5, 0.1.1.6, 0.1.1.7, 0.1.1.8, 0.1.2.1, 0.1.3, 0.1.3.1, 0.1.3.2, 0.1.3.3, 0.1.3.4, 0.1.4, 0.2, 0.2.1, 0.2.2, 0.2.2.1, 0.2.3, 0.2.3.1, 0.2.3.2, 0.2.3.3, 0.2.3.4, 0.2.3.5, 0.2.3.6, 0.2.3.7, 0.3, 0.3.0.1, 0.3.0.2, 0.3.0.4, 0.3.0.5, 0.3.0.6, 0.3.0.7, 0.3.1, 0.3.1.1, 0.3.2, 0.3.2.1, 0.3.2.2, 0.3.2.3, 0.3.2.4, 0.3.2.5, 0.3.3, 0.4, 0.4.1 (info)
Change log changelog
Dependencies array, base (>=4.5 && <5), binary (>=0.6), bytestring (>=0.10.0), containers, digest (>=0.0.0.1), directory (>=1.2.0), filepath, mtl, pretty, text (>=0.11), time, unix, zip-archive, zlib [details]
License BSD-3-Clause
Author John MacFarlane
Maintainer jgm@berkeley.edu
Revised Revision 1 made by HerbertValerioRiedel at Wed Apr 24 19:42:27 UTC 2019
Category Codec
Home page http://github.com/jgm/zip-archive
Source repo head: git clone git://github.com/jgm/zip-archive.git
Uploaded by JohnMacFarlane at Tue Apr 23 06:10:43 UTC 2019
Distributions Arch:0.4.1, Debian:0.3.3, Fedora:0.3.3, FreeBSD:0.2.3.7, LTSHaskell:0.4.1, NixOS:0.4.1, Stackage:0.4.1, openSUSE:0.4.1
Executables zip-archive
Downloads 114286 total (1040 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Hackage Matrix CI
Docs available [build log]
Last success reported on 2019-04-23 [all 1 reports]

Modules

[Index] [Quick Jump]

Flags

NameDescriptionDefaultType
executable

Build the Zip executable.

DisabledAutomatic

Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info

Downloads

Note: This package has metadata revisions in the cabal description newer than included in the tarball. To unpack the package including the revisions, use 'cabal get'.

Maintainer's Corner

For package maintainers and hackage trustees


Readme for zip-archive-0.4.1

[back to package description]

zip-archive

The zip-archive library provides functions for creating, modifying, and extracting files from zip archives. The zip archive format is documented in http://www.pkware.com/documents/casestudies/APPNOTE.TXT.

Certain simplifying assumptions are made about the zip archives: in particular, there is no support for strong encryption, zip files that span multiple disks, ZIP64, OS-specific file attributes, or compression methods other than Deflate. However, the library should be able to read the most common zip archives, and the archives it produces should be readable by all standard unzip programs.

Archives are built and extracted in memory, so manipulating large zip files will consume a lot of memory. If you work with large zip files or need features not supported by this library, a better choice may be zip, which uses a memory-efficient streaming approach. However, zip can only read and write archives inside instances of MonadIO, so zip-archive is a better choice if you want to manipulate zip archives in "pure" contexts.

As an example of the use of the library, a standalone zip archiver and extracter is provided in the source distribution.