mirror of
https://github.com/jehna/humanify.git
synced 2026-04-27 01:26:00 +03:00
[GH-ISSUE #112] ask for python version #41
Labels
No labels
bug
enhancement
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/humanify#41
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ghost on GitHub (Sep 21, 2024).
Original GitHub issue: https://github.com/jehna/humanify/issues/112
Is there any version for python?
@jehna commented on GitHub (Sep 21, 2024):
Not anymore. You can still find v1 from the version history that had some python components, but as far as I know there's not an easy way to parse and manipulate Javascript with Python.
@ghost commented on GitHub (Sep 22, 2024):
i mean version for decode code encrypt for python
@jehna commented on GitHub (Sep 22, 2024):
No Python version at the moment. You should be able to wrap the CLI to Python wrapper if needed, but don't know if that serves your use case
@0xdevalias commented on GitHub (Sep 24, 2024):
@jehna @Galkurta If I understand this question properly, it's to be able to run
humanifyagainst mangled python code, not to be able to call it from python.@Galkurta The way
humanifyis currently written, it relies on webcrack to do the 'heavy lifting' of the code unminification / AST manipulation, and thenhumanifyjust sprinkles some 'rename variables nicely with AI' on top of that.webcrackis specifically written for unminifying JavaScript code. If you wanted something similar tohumanifyfor python, you would basically need to find an appropriate python unminifier/decompiler that could replacewebcrack.I'm curious, what is your usecase/workflow, as my understanding is that reversing python code would likely be a pretty different method than reversing JavaScript.
@jehna commented on GitHub (Oct 18, 2024):
Right, sorry I misunderstood. Thanks @0xdevalias for clarifying!
I'm sure this same technique could be done in a language-agnostic way too, e.g. using a language server from VSCode or other means to support renaming multiple different languages.
Unfortunately humanity is specifically focusing at javascript at the moment, and there's no plans on supporting other languages at the moment.
@Galkurta would love to hear your use case though!