class documentation

class Compressor(object):

View In Hierarchy

Undocumented

Method __init__ Undocumented
Method __repr__ No summary
Method cmdline No summary
Method is_known Undocumented
Class Variable Aliases Undocumented
Class Variable Exts Undocumented
Class Variable Opts Undocumented
Property level Undocumented
Property type Undocumented
Instance Variable _level Undocumented
Instance Variable _type Undocumented
Property _level_opt Undocumented
Property _more_opts Undocumented
def __init__(self, type_, level=None):

Undocumented

def __repr__(self):
>>> Compressor('gzip').__repr__()
"<compressor type='gzip' >"
>>> Compressor('gzip', 9).__repr__()
"<compressor type='gzip' level=9>"
def cmdline(self, stdout=True):
>>> Compressor('gzip', level=9).cmdline()
'gzip -9 -n -c'
>>> Compressor('gzip').cmdline(True)
'gzip  -n -c'
def is_known(self):

Undocumented

Aliases: dict[str, str] =

Undocumented

Exts: dict[str, str] =

Undocumented

Opts: dict[str, str] =

Undocumented

@property
level =

Undocumented

@property
type =

Undocumented

_level =

Undocumented

_type =

Undocumented

@property
_level_opt =

Undocumented

@property
_more_opts =

Undocumented