zip-archive: Library for creating and modifying zip archives.
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]
Flags
Automatic Flags
Name | Description | Default |
---|---|---|
executable | Build the Zip executable. | Disabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- zip-archive-0.4.3.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
For package maintainers and hackage trustees
Candidates
Versions [RSS] | 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, 0.4.2, 0.4.2.1, 0.4.2.2, 0.4.3, 0.4.3.1, 0.4.3.2 (info) |
---|---|
Change log | changelog |
Dependencies | array, base (>=4.5 && <5), binary (>=0.7.2), 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] |
Tested with | ghc ==8.6.5, ghc ==8.8.1, ghc ==8.10.4, ghc ==9.0.1, ghc ==8.8.3, ghc ==9.2.1 |
License | BSD-3-Clause |
Author | John MacFarlane |
Maintainer | jgm@berkeley.edu |
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 2023-03-04T06:27:44Z |
Distributions | Arch:0.4.3.2, Debian:0.4.1, Fedora:0.4.3, FreeBSD:0.2.3.7, LTSHaskell:0.4.3.2, NixOS:0.4.3.2, Stackage:0.4.3.2, openSUSE:0.4.3.2 |
Reverse Dependencies | 42 direct, 190 indirect [details] |
Executables | zip-archive |
Downloads | 164194 total (659 in the last 30 days) |
Rating | (no votes yet) [estimated by Bayesian average] |
Your Rating | |
Status | Docs available [build log] Last success reported on 2023-03-04 [all 1 reports] |