PK!L std_encode/__init__.py__version__ = '0.1.0' import fileinput START_ENCODING = '>>>>>>>>>> START' END_ENCODING = '<<<<<<<<<< END' def run_se(): ''' Read from the standard input to filter ''' display = True for line in fileinput.input(): if line.startswith(START_ENCODING): # Decode the start file filename = line.split(START_ENCODING)[-1].strip() fp = open(filename, 'w') display = False elif line.startswith(END_ENCODING): display = True fp.close() elif display: print(line, end='') else: fp.write(line) def run_es(): ''' Read and dump a file with the proper format so it will be encoded back with se ''' pass PK!std_encode/console_se.pyimport fileinput START_ENCODING = '>>>>>>>>>> START' END_ENCODING = '<<<<<<<<<< END' def run_se(): ''' Read from the standard input to filter ''' display = True for line in fileinput.input(): if line.startswith(START_ENCODING): # Decode the start file filename = line.split(START_ENCODING)[-1].strip() fp = open(filename, 'w') display = False elif line.startswith(END_ENCODING): display = True fp.close() elif display: print(line, end='') else: fp.write(line) if __name__ == '__main__': run_se() PK!H%Y)5+std_encode-0.1.0.dist-info/entry_points.txtN+I/N.,()*.IOKOIE0JPK!H$TT std_encode-0.1.0.dist-info/WHEEL = 0 нR \C HCoo~ \B"|lchлYh|hzWٓ7}|v }PK!HX2B#std_encode-0.1.0.dist-info/METADATA;O1{-AWNNɂGrGg;Qܿ![}33LckX\XCʽd߅ŏpJsG bjnVll>%Ꭼc)%GL_W۪?/ee0$%yB7r.$5zt,+;YKp[T  E9E|4C*GjP H})iŮdʋ(,opE~;`F6w'&>A{ú xE ښnyJ) kۛ7c\Pɿ!TDn"=B;({N:cc-J`fv$^%.moF$M@)dIFG,PK!L std_encode/__init__.pyPK!/std_encode/console_se.pyPK!H%Y)5+std_encode-0.1.0.dist-info/entry_points.txtPK!H$TT estd_encode-0.1.0.dist-info/WHEELPK!HX2B#std_encode-0.1.0.dist-info/METADATAPK!H_/! std_encode-0.1.0.dist-info/RECORDPKw