Protect Python Scripts By Pyarmor
=================================
Pyarmor is a command line tool used to obfuscate python scripts, bind obfuscated scripts to fixed machine or expire obfuscated scripts.
Key Features
------------
* The obfuscated scritpt is still a normal `.py` script, in most of cases the original python scripts can be replaced with obfuscated scripts seamlessly.
* Provide many ways to obfuscate the scripts to balance security and performance
* Rename functions/methods/classes/variables/arguments, irreversible obfuscation
* Convert part of Python functions to C function, compile to binary by high optimize option, irreversible obfuscation
* Bind obfuscated scripts to fixed machine or expire obfuscted scripts
* Protect obfuscated scripts by Themida (Only for Windows)
Support Platforms
-----------------
* Python 3.7~3.12
* Windows
* Many linuxs, include embedded systems
* Apple Intel and Apple Silicon
Quick Start
-----------
Install::
pip install pyarmor
Obfuscate the script `foo.py`::
pyarmor gen foo.py
This command generates an obfuscated script `dist/foo.py` like this:
.. code:: python
from pyarmor_runtime import __pyarmor__
__pyarmor__(__name__, __file__, b'\x28\x83\x20\x58....')
Run it::
python dist/foo.py
More Resources
--------------
- `Home <https://github.com/dashingsoft/pyarmor>`_
- `Website <http://pyarmor.dashingsoft.com>`_
- `中文网站 <http://pyarmor.dashingsoft.com/index-zh.html>`_
- `Issues <https://github.com/dashingsoft/pyarmor/issues>`_
- `Documentation <https://pyarmor.readthedocs.io/>`_
Raw data
{
"_id": null,
"home_page": "https://github.com/dashingsoft/pyarmor",
"name": "pyarmor",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": "protect obfuscate encrypt obfuscation distribute",
"author": "Jondy Zhao",
"author_email": "pyarmor@163.com",
"download_url": "https://files.pythonhosted.org/packages/d0/fe/5ce4854dc37646b45df25a0009913022659fa0bbd2ef579ecd6062b6a08f/pyarmor-9.0.6.zip",
"platform": null,
"description": "Protect Python Scripts By Pyarmor\n=================================\n\nPyarmor is a command line tool used to obfuscate python scripts, bind obfuscated scripts to fixed machine or expire obfuscated scripts.\n\nKey Features\n------------\n\n* The obfuscated scritpt is still a normal `.py` script, in most of cases the original python scripts can be replaced with obfuscated scripts seamlessly.\n* Provide many ways to obfuscate the scripts to balance security and performance\n* Rename functions/methods/classes/variables/arguments, irreversible obfuscation\n* Convert part of Python functions to C function, compile to binary by high optimize option, irreversible obfuscation\n* Bind obfuscated scripts to fixed machine or expire obfuscted scripts\n* Protect obfuscated scripts by Themida (Only for Windows)\n\nSupport Platforms\n-----------------\n\n* Python 3.7~3.12\n* Windows\n* Many linuxs, include embedded systems\n* Apple Intel and Apple Silicon\n\nQuick Start\n-----------\n\nInstall::\n\n pip install pyarmor\n\nObfuscate the script `foo.py`::\n\n pyarmor gen foo.py\n\nThis command generates an obfuscated script `dist/foo.py` like this:\n\n.. code:: python\n\n from pyarmor_runtime import __pyarmor__\n __pyarmor__(__name__, __file__, b'\\x28\\x83\\x20\\x58....')\n\nRun it::\n\n python dist/foo.py\n\nMore Resources\n--------------\n\n- `Home <https://github.com/dashingsoft/pyarmor>`_\n- `Website <http://pyarmor.dashingsoft.com>`_\n- `\u4e2d\u6587\u7f51\u7ad9 <http://pyarmor.dashingsoft.com/index-zh.html>`_\n- `Issues <https://github.com/dashingsoft/pyarmor/issues>`_\n- `Documentation <https://pyarmor.readthedocs.io/>`_",
"bugtrack_url": null,
"license": "Free To Use But Restricted",
"summary": "A tool used to obfuscate python scripts, bind obfuscated scripts to fixed machine or expire obfuscated scripts.",
"version": "9.0.6",
"project_urls": {
"Homepage": "https://github.com/dashingsoft/pyarmor"
},
"split_keywords": [
"protect",
"obfuscate",
"encrypt",
"obfuscation",
"distribute"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d6cfe1dbe00ca708ebb0fa026560b1dfaceeb0d8be6cf53d64eab5186558831d",
"md5": "5d0b134f9d9eed557cbc4a83ccebbe8b",
"sha256": "bda6fb51a4df24d8d2ad26cd4ef529dde6bbc977ccb206163fb20caae4b54693"
},
"downloads": -1,
"filename": "pyarmor-9.0.6-py3-none-any.whl",
"has_sig": false,
"md5_digest": "5d0b134f9d9eed557cbc4a83ccebbe8b",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 2764498,
"upload_time": "2024-11-26T04:41:12",
"upload_time_iso_8601": "2024-11-26T04:41:12.825418Z",
"url": "https://files.pythonhosted.org/packages/d6/cf/e1dbe00ca708ebb0fa026560b1dfaceeb0d8be6cf53d64eab5186558831d/pyarmor-9.0.6-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "d0fe5ce4854dc37646b45df25a0009913022659fa0bbd2ef579ecd6062b6a08f",
"md5": "e2523f2218f51ff744ee41b061ed845a",
"sha256": "e740eabd1aa98844e3da003249bd48861e0d7d53d93d5e7d421fd365dbc3cab7"
},
"downloads": -1,
"filename": "pyarmor-9.0.6.zip",
"has_sig": false,
"md5_digest": "e2523f2218f51ff744ee41b061ed845a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 2757804,
"upload_time": "2024-11-26T04:41:06",
"upload_time_iso_8601": "2024-11-26T04:41:06.851147Z",
"url": "https://files.pythonhosted.org/packages/d0/fe/5ce4854dc37646b45df25a0009913022659fa0bbd2ef579ecd6062b6a08f/pyarmor-9.0.6.zip",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-26 04:41:06",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "dashingsoft",
"github_project": "pyarmor",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"lcname": "pyarmor"
}