Pyobfuscate
obuscate python source code 混淆 python 源代码的小工具
Install / Use
/learn @Lunpopo/PyobfuscateREADME
pyobfuscate
obuscate python source code 混淆 python 源代码的小工具
Description
Origin resource is: https://github.com/astrand/pyobfuscate
This script based on pyobfuscate project. Increasing some awesome function such as support total dir conversion.
Usage
python pyobfuscate.py -h
Usage:
pyobfuscate [options] <file>
Options:
-h, --help Print this help.
-i, --indent <num> Indentation to use. Default is 1.
-s, --seed <seed> Seed to use for name randomization. Default is
system time.
-r, --removeblanks Remove blank lines, instead of obfuscate
-k, --keepblanks Keep blank lines, instead of obfuscate
-f, --firstcomment Remove first block of comments as well
-a, --allpublic When __all__ is missing, assume everything is public.
The default is to assume nothing is public.
Example
eg1: python pyobfuscate test.py
this command can produce a file handled after by the obfuscate handler.
eg2: python pyobfuscate test_folder
this command can handle a total folder that contain python script file and output to obfuscate_output folder. the obfuscate_output folder contain all of python script after handled and others Non-python script file.
Note!: this script can not handle Non-python file.
Disclamer
This script is for education/research purposes only. The author takes NO responsibility ay for how you choose to use any of the tools provided
Related Skills
node-connect
337.4kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
83.2kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
337.4kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
commit-push-pr
83.2kCommit, push, and open a PR
