1. Introduction

In order to get high performance after the scripts are obfuscated, Pyarmor 9.1 introduces 2 new scripts:

  • Mini Script

    The main purpose is to improve performance, and the obfuscated scripts is designed to provide web services

    Compared to previous obfuscated scripts

    • Using a simplified extension pyarmor_mini

    • So no features like expired scripts, binding scripts to devices

    • Support freethreading in Python 3.13+

  • RFT Script

    RFT Scripts simply rename functions, variables, classes, and methods within the script while keep the original script structure

    Mini Script still need binary extension which make running obfuscated scripts more complex

    But RFT scripts need not binary extension, they can be used wherever normal Python scripts can be used

    For example, use it in WASM, pass it to Nuitka, CPython, even Pyarmor to continue processing

New scripts need refactor to prevent scripts from be reversed. If no refactor, the security level is almost same as .pyc file

Pyarmor 9.1 uses Project to manage all the scripts to handle the complex relations between modules and packages, so that the scripts could be reformed correctly.