resourcepackage.defaultgenerators | index p:\resourcepackage\defaultgenerators.py |
Objects for doing generic data-as-code encoding
Modules | ||||||
|
Classes | ||||||||||||||||||
|
Functions | ||
|
Data | ||
COMPRESSED = CompressedGenerator (singleton) HEADER = '# -*- coding: ISO-8859-1 -*-\n"""Resource %(modul...gev)r\nsource = %(source)r\npackage = %(packagen)r\n' SIMPLE = SimpleGenerator (singleton) _char_map = {'\x00': r'\000', '\x01': r'\001', '\x02': r'\002', '\x03': r'\003', '\x04': r'\004', '\x05': r'\005', '\x06': r'\006', '\x07': r'\007', '\x08': r'\010', '\t': r'\011', ...} c = 31 generators = {'': SimpleGenerator (singleton), '.htm': CompressedGenerator (singleton), '.html': CompressedGenerator (singleton), '.pdf': CompressedGenerator (singleton), '.txt': CompressedGenerator (singleton)} |