dflook / python-minifier

Transform Python source code into its most compact representation
MIT License
558 stars 41 forks source link

Suggestion #26

Closed zawsq closed 3 years ago

zawsq commented 3 years ago

Can we have unreadable like unicode or byte variable renames instead of abc

And also and option for 1 line instead of new lines

amaank404 commented 3 years ago

1 liners is not possible in python for most of the time because of colons and indentation used for blocks. though semicolons in certain blocks is possible.

Check here #25

dflook commented 3 years ago

Obfuscation isn't a goal of this project, so unreadable names is out of scope. It would also be trivial to reverse by running it through python-minifier again.

When renaming, python-minifier already uses the full range of available single byte characters for maximum space saving.