A tool used to obfuscate python scripts, bind obfuscated scripts to fixed machine or expire obfuscated scripts.
See the codePyarmor is a command-line tool designed for obfuscating Python scripts, binding obfuscated scripts to specific machines, and setting expiration dates for obfuscated scripts.
.py files, allowing them to seamlessly replace the original Python scripts in most cases.For more information, check out the Pyarmor Environments.
pip install pyarmor
foo.py script:pyarmor gen foo.py
This command generates an obfuscated script like this at dist/foo.py:
from pyarmor_runtime import __pyarmor__
__pyarmor__(__name__, __file__, b'\x28\x83\x20\x58....')
python dist/foo.py
For more information, check out the getting started tutorial.
Pyarmor is published as shareware. The free trial version never expires, but has some limitations.
Refer to Pyarmor licenses for information on license types, features, limitations, and purchasing a Pyarmor license.
Please read the Pyarmor EULA.
There is also one third-party learn platform
中文资源
Each major version comes with a separate changelog file, detailing fixed issues, new features, and compatibility issues between different versions.
Make sure to read the changelog carefully before upgrading Pyarmor:
Full changelogs at releases
Upcoming features at Pyarmor Release Plan
Overall
Maintained
Code review
PyPI
Latest release
Releases this year
(top 24 of 30)
759 followers · starred Jan 2026
534 followers · starred Aug 2021
208 followers · starred Oct 2024
371 followers · starred Jul 2020
A tool used to obfuscate python scripts, bind obfuscated scripts to fixed machine or expire obfuscated scripts.
See the codePyarmor is a command-line tool designed for obfuscating Python scripts, binding obfuscated scripts to specific machines, and setting expiration dates for obfuscated scripts.
.py files, allowing them to seamlessly replace the original Python scripts in most cases.For more information, check out the Pyarmor Environments.
pip install pyarmor
foo.py script:pyarmor gen foo.py
This command generates an obfuscated script like this at dist/foo.py:
from pyarmor_runtime import __pyarmor__
__pyarmor__(__name__, __file__, b'\x28\x83\x20\x58....')
python dist/foo.py
For more information, check out the getting started tutorial.
Pyarmor is published as shareware. The free trial version never expires, but has some limitations.
Refer to Pyarmor licenses for information on license types, features, limitations, and purchasing a Pyarmor license.
Please read the Pyarmor EULA.
There is also one third-party learn platform
中文资源
Each major version comes with a separate changelog file, detailing fixed issues, new features, and compatibility issues between different versions.
Make sure to read the changelog carefully before upgrading Pyarmor:
Full changelogs at releases
Upcoming features at Pyarmor Release Plan
Overall
Maintained
Code review
PyPI
Latest release
Releases this year
(top 24 of 30)
759 followers · starred Jan 2026
534 followers · starred Aug 2021
208 followers · starred Oct 2024
371 followers · starred Jul 2020