uncompyle6.bin package¶
Submodules¶
uncompyle6.bin.pydisassemble module¶
- Usage:
- %s [OPTIONS]... FILE %s [–help | -h | -V | –version]
- Examples:
- pydisassemble foo.pyc pydisassemble foo.py # same thing as above but find the file pydisassemble foo.pyc bar.pyc # disassemble foo.pyc and bar.pyc
- Options:
- -U | –uncompyle6 show instructions with uncompyle6 mangling -V | –version show version and stop -h | –help show this message
-
uncompyle6.bin.pydisassemble.main()¶
uncompyle6.bin.uncompile module¶
- Usage:
- uncompile [OPTIONS]... [ FILE | DIR]... uncompile [–help | -h | –V | –version]
- Examples:
- uncompile foo.pyc bar.pyc # decompile foo.pyc, bar.pyc to stdout uncompile -o . foo.pyc bar.pyc # decompile to ./foo.pyc_dis and ./bar.pyc_dis uncompile -o /tmp /usr/lib/python1.5 # decompile whole library
- Options:
-o <path> output decompiled files to this path: if multiple input files are decompiled, the common prefix is stripped from these names and the remainder appended to <path>
- uncompyle6 -o /tmp bla/fasel.pyc bla/foo.pyc
- -> /tmp/fasel.pyc_dis, /tmp/foo.pyc_dis
- uncompyle6 -o /tmp bla/fasel.pyc bar/foo.pyc
- -> /tmp/bla/fasel.pyc_dis, /tmp/bar/foo.pyc_dis
- uncompyle6 -o /tmp /usr/lib/python1.5
- -> /tmp/smtplib.pyc_dis ... /tmp/lib-tk/FixTk.pyc_dis
-c <file> attempts a disassembly after compiling <file> -d print timestamps -p <integer> use <integer> number of processes -r recurse directories looking for .pyc and .pyo files --verify compare generated source with input byte-code (requires -o) --help show this message - Debugging Options:
--asm -a include byte-code (disables –verify) –grammar -g show matching grammar –tree -t include syntax tree (disables –verify)
- Extensions of generated files:
- ‘.pyc_dis’ ‘.pyo_dis’ successfully decompiled (and verified if –verify)
- ‘_unverified’ successfully decompile but –verify failed
- ‘_failed’ decompile failed (contact author for enhancement)
-
uncompyle6.bin.uncompile.main_bin()¶
-
uncompyle6.bin.uncompile.usage()¶