Pyarmor

9.2.4 · active · verified Sun Apr 12

Pyarmor is a command-line tool designed for obfuscating Python scripts, binding them to specific machines, and setting expiration dates. It focuses on protecting intellectual property by making Python source code difficult to reverse engineer while maintaining functionality. The library is actively maintained with frequent updates and new features, with its current version being 9.2.4.

Warnings

Install

Imports

Quickstart

Obfuscate a Python script named `foo.py` and then run the obfuscated version located in the `dist` directory. This command creates `dist/foo.py` and an essential `pyarmor_runtime` package (or `pytransform` in older versions) that must be distributed with the obfuscated script.

pyarmor gen foo.py
python dist/foo.py

view raw JSON →