Python-Useful-Scripts/PickleCompress
2024-05-11 05:25:03 +07:00
..
PickleCompression.py Add Pickle Compress 2024-05-11 05:13:52 +07:00
README.md Add README.md 2024-05-11 05:25:03 +07:00

Compress Pickle Class

This file contains Variable Dumping with Compression feature.

Avaiable Methods

  • compress_pickle(filename, object, compression_mode) : Dump and Compress on-the-fly Variable using avaiable compression algorithm
  • decompress_pickle(filename) : Load dumped variables from a file

Avaiable Algorithm

  • gz as gzip in script
  • bz2 as bzip2 in script
  • lzma as lzma in script
  • DEFAULT none to dump as normal pickle