IPWorks OpenPGP 2020 Python Edition

Questions / Feedback?

compression_method Property

The compression algorithm used.


def get_compression_method() -> str: ...
def set_compression_method(value: str) -> None: ...

compression_method = property(get_compression_method, set_compression_method)

Default Value



This property specifies which compression method is used when generating output. Possible values are:

  • zip (default)
  • zlib
  • bzip2
  • none or uncompressed
Note: The level of compression is controlled by the CompressionLevel setting.

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks OpenPGP 2020 Python Edition - Version 20.0 [Build 8161]