ActiveState homepage
docs.activestate.com
ActivePython 3.7.4 Documentation
  • Get ActivePython
      Release notes Windows installation Linux Installaton macOS Installation License
  • Get Started
      What's included Windows Linux/Unix Package Reference Python 3.7.4 docs
  • Contact Us

Data Compression and Archiving — Python 3.7.4 documentation

Navigation

  • index
  • modules |
  • next |
  • previous |
  • Python »
  • en 3.7.4 Documentation »
  • The Python Standard Library »
  • |

Data Compression and Archiving¶

The modules described in this chapter support data compression with the zlib, gzip, bzip2 and lzma algorithms, and the creation of ZIP- and tar-format archives. See also Archiving operations provided by the shutil module.

  • zlib — Compression compatible with gzip
  • gzip — Support for gzip files
    • Examples of usage
  • bz2 — Support for bzip2 compression
    • (De)compression of files
    • Incremental (de)compression
    • One-shot (de)compression
    • Examples of usage
  • lzma — Compression using the LZMA algorithm
    • Reading and writing compressed files
    • Compressing and decompressing data in memory
    • Miscellaneous
    • Specifying custom filter chains
    • Examples
  • zipfile — Work with ZIP archives
    • ZipFile Objects
    • PyZipFile Objects
    • ZipInfo Objects
    • Command-Line Interface
      • Command-line options
  • tarfile — Read and write tar archive files
    • TarFile Objects
    • TarInfo Objects
    • Command-Line Interface
      • Command-line options
    • Examples
    • Supported tar formats
    • Unicode issues

Previous topic

sqlite3 — DB-API 2.0 interface for SQLite databases

Next topic

zlib — Compression compatible with gzip

This Page

  • Report a Bug
  • Show Source

Navigation

  • index
  • modules |
  • next |
  • previous |
  • Python »
  • en 3.7.4 Documentation »
  • The Python Standard Library »
  • |
© Copyright 2001-2019, Python Software Foundation.
The Python Software Foundation is a non-profit corporation. Please donate.
Last updated on Jul 30, 2019. Found a bug?
Created using Sphinx 2.0.1.
Documentation built with Hugo using the Material theme.
ActiveState Platform   Downloads   Community   Code Recipes  
© 2020 ActiveState Software Inc. All rights reserved. Trademarks. Privacy Policy.