5. License Types¶
This documentation is only apply to Pyarmor 8.0 plus.
Pyarmor is published as shareware, free trial version never expires, but there are some limitations:
- Can not obfuscate big scripts 
- Can not use feature mix-str  to obfuscate string constant in scripts
- Can not use RFT Mode , BCC Mode 
- Can not be used for any commercial product without permission
- Can not change runtime package name “pyarmor_runtime_000000”
- Can not be used to provide obfuscation service in any form
- Can not use obf-code > 1
These limitations can be unlocked by different License Types except last one.
5.2. License types¶
Pyarmor has 3 kind of licenses:
- Pyarmor Basic
Basic license could unlock limitations (1) (2) (4) (5) (7).
Each obfuscation need online verify license.
- Pyarmor Pro
Pro license could unlock limitations (1) (2) (3) (4) (5) (7).
Each obfuscation need online verify license.
- Pyarmor Group
Group license could unlock limitations (1) (2) (3) (4) (5) (7).
Offline obfuscation, it need not internet connection when obfuscating the scripts. At this time, this is the only difference between Pyarmor Group and Pyarmor Pro.
Refer to use Pyarmor License
For the obfuscated scripts run in the customer’s device, Pyarmor has no any limitations, it’s totally controlled by users. Pyarmor only cares about build machine.
Each license has an unique number, the format is
pyarmor-vax-xxxxxx, which x stands for a digital.
Each product requires one License No. So any product in global also has an unique number in Pyarmor world.
If user has many products, and has purchased one license for the first product. The second product could use first product license only if sale income of the second product less than 10x license fees. Once greater than 10x license fees, the second product need purchase its own license. It’s same to user’s other products.
One product in Pyarmor world means a product name and everything that makes up this name.
It includes all the devices to develop, build, debug, test product.
It also includes product current version, history versions and all the future versions.
One product may has several variants, each variant name is composed of product name plus feature name. As long as the proportion of the variable part is far less than that of the common part, they’re considered as “one product”.
Pyarmor License could be installed in many machines and devices which belong to licensed product. But there is limitation to be used at the same time.
In 24 hours only less than 100 devices can use one same Pyarmor License. Pyarmor License be used means use any feature of Pyarmor in one machine. Running obfuscated scripts generated by Pyarmor is not considered as Pyarmor License be used.
In details read EULA of Pyarmor
What’s one product
First of all, if not for sale, all the Python scripts are belong to one product “non-profits”.
Pyarmor is one product, it includes:
- Pyarmor basic, Pyarmor pro, and Pyarmor group
- pyarmor-webui which provides graphics interface for pyarmor.
- the order system of Pyarmor is a Django’s app running in cloud-server. This Django’s app also belongs to one product Pyarmor.
- the laptop used to develop Pyarmor, the PCs used to test Pyarmor, the cloud-server to serve order system of Pyarmor, all of them belong to one product Pyarmor.
- Pyarmor 7.x, Pyarmor 8.x and Pyarmor 9.x
Microsoft Office is not one product, because each product in Microsoft Office is functional independence. For example, Microsoft Word and Microsoft Excel belong to Microsoft Office, but they’re totally different.
Microsoft Word is one product, and Microsoft Word 2003，Word 2007 etc. are belong to one product Microsoft word.
5.2.1. License features¶
|obf-code > 1||No||Y||Y||Y|||
|||Big Script means file size exceeds a certain value.|
|||Mix Str: obfuscating string constant in script|
|||RFT Mode: renaming function/class/method/variable in Python scripts|
|||BCC Mode: Transforming some Python functions in scripts to c functions, compile them to machine instructions directly|
|||Basic Obfuscation: obfuscating the scripts by default options|
|||Expired Script: obfuscated scripts has expired date|
|||Bind Device: obfuscated scripts only run in specified devices|
|||JIT Protection: processing some sensitive data by runtime generated binary code|
|||Assert Protection: preventing others from hacking obfuscated scripts|
|||Themedia Protection: using Themedia to protect Windows dlls|
5.3. Purchasing license¶
Open shopping cart in any web browser:
If you have Pyarmor 8.0+ installed, this command also could open shopping cart:
$ pyarmor reg --buy
In the shopping cart, select License Type and complete the payment online.
Please fill reg-name with personal or company name when placing order.
|License Type||Net Price($)||Remark|
An activation file named
pyarmor-regcode-xxxx.txt will be sent by email immediately after payment is completed successfully.
Following the guide in activation file to take the purchased license effects. Or check Using Pyarmor License
There are no additional license fees, apart from the cost of the license. And it only needs to be paid once, not periodically
5.3.1. Refund policy¶
If activation file isn’t used, and purchasing date is in 30 days, refund is acceptable. Please
- Email to Ordersupport@mycommerce.com with order information and ask for refund.
- Or click FindMyOrder page to submit refund request
Out of 30 days, or activation file has been used, refund request will be rejected.
5.4. Upgrading old license¶
Not all the old license could be upgraded to latest version.
The old license could be upgraded to Pyarmor Basic freely only if it matches these conditions:
- Following new EULA of Pyarmor
- The license no. starts with
- The original activation file
pyarmor-regcode-xxxx.txtexists and isn’t used more than 100 times
- The old license is purchased before June 1, 2023. In principle, the old license purchased after Pyarmor 8 is available could not be upgraded to new license.
If failed to upgrade the old license, please purchase new license to use Pyarmor latest version.
The old license can’t be upgraded to Pyarmor Pro and Group.
5.4.1. Upgrading old license to Pyarmor Basic¶
First find the activation file
pyarmor-regcode-xxxx.txt, which is sent to registration email when purchasing the license.
Next install Pyarmor 8.2+, according to new EULA of Pyarmor, each license is only for one product.
Assume this license will be used to obfuscate product
XXX, run this command:
$ pyarmor reg -u -p "XXX" pyarmor-regcode-xxxx.txt
Check the upgraded license information:
$ pyarmor -v
After upgrade successfully, do not use activation file
pyarmor-regcode-xxxx.txt again, it’s invalid now. A new registration file like
pyarmor-regfile-xxxx.zip will be generated at the same time.
In other devices using this new registration file to register Pyarmor by this command:
$ pyarmor reg pyarmor-regfile-xxxx.zip
After successful registration, all obfuscations will automatically apply this license, and each obfuscation requires online license verification.
If old license is used by many products (mainly old personal license), only one product could be used after upgrading. For the others, it need purchase new license.