pyretrace icon indicating copy to clipboard operation
pyretrace copied to clipboard

Can this package be used for obfuscating Python code and then de-obfuscating?

Open monocongo opened this issue 2 years ago • 0 comments

I want to obfuscate my code (change the names of fields and functions to nonsense) so I can submit it (reasonably) safely to services such as StackOverflow, ChatGPT, and Claude. Once I get an answer I want to be able to translate that code's fields and function names back to the original names. Can we use this tool for that, or modify it to behave like that? I've found pyminify which does the obfuscation but nothing there looks like it allows you to translate code back to the original names.

Thanks in advance for any suggestions.

monocongo avatar Aug 23 '23 18:08 monocongo