dcase_util.containers.PackageMixin

class dcase_util.containers.PackageMixin(*args, **kwargs)[source]

Package mixin to give class basic methods to handle compressed file packages.

__init__(*args, **kwargs)[source]

Methods

__init__(*args, **kwargs)

compress([filename, path, file_list, size_limit])

Compress the package.

extract([target_path, overwrite, ...])

Extract the package.

Attributes

bytes

File size in bytes

logger

md5

Checksum for file.

package_password

Package password