Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(1)  |  Call(0)  |  Derive(0)  |  Import(1)
Decorator to support saving to compressed files for functions
whose first argument is the targetPath

If the first argument ends with a recognized extension,
the decorator runs the function in a temporary folder and
compresses the resulting output to targetPath.

Archive format is determined by file extension:
.zip .tar.gz .tar.bz2 .tar

src/a/r/archiveIO-0.4.4/archiveIO/tests.py   archiveIO(Download)
from unittest import TestCase
from archiveIO import Archive, ArchiveError, save, load, select_extensions, walk_paths, EXTENSION_PACKS