Skip to content

Solarauser123/Py-Protection

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Py-Protection

by SolaraUser123

A simple Python GUI tool to protect and compile your .py scripts into .exe files using Nuitka or PyArmor + PyInstaller.


Features

  • Nuitka compilation (native binary, harder to reverse)
  • PyArmor + PyInstaller (obfuscate + bundle)
  • Tick box options for all flags
  • Live command preview + copy
  • Auto installs missing dependencies on run
  • Scrollable output log

Requirements

  • Python 3.10+
  • tkinter (included with Python)

All other dependencies (nuitka, pyarmor, pyinstaller, zstandard) are installed automatically when you click Run.


Usage

  1. Download py_protection.py
  2. Open CMD and run:
python "C:\Users\YOURNAME\Downloads\py_protection.py"
  1. Browse for your .py file
  2. Choose a method (Nuitka or PyArmor + PyInstaller)
  3. Tick your options
  4. Click Run Protection

Methods

Nuitka

Compiles your Python script to a native binary .exe. Harder to reverse than PyInstaller. Takes 2–5 minutes.

PyArmor + PyInstaller

Obfuscates your script with PyArmor then bundles it with PyInstaller. Faster, easier, good enough for most use cases.


Output

  • Nuitka → same location as your script, e.g. script.exe
  • PyArmor + PyInstallerdist\script.exe

Notes

  • --disable-console and --noconsole are for GUI apps only — leave unchecked for console scripts
  • Nuitka requires a C compiler — it downloads zig automatically on first run
  • PyArmor free tier has limitations — BCC mode requires a paid license

License

MIT

About

a easy to use menu rather than cmd to use Nuikta or PyArmor + Pyinstaller

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages