pyarmor


Namepyarmor JSON
Version 9.1.9 PyPI version JSON
download
home_pagehttps://github.com/dashingsoft/pyarmor
SummaryA tool used to obfuscate python scripts, bind obfuscated scripts to fixed machine or expire obfuscated scripts.
upload_time2025-09-11 03:23:18
maintainerNone
docs_urlNone
authorJondy Zhao
requires_pythonNone
licenseFree To Use But Restricted
keywords protect obfuscate encrypt obfuscation distribute
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            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.13
* 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/e6/14/7439d350af06c391a21c0caaedc424ca64bd81ace90b201e35a3e111c5fe/pyarmor-9.1.9.tar.gz",
    "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.13\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.1.9",
    "project_urls": {
        "Homepage": "https://github.com/dashingsoft/pyarmor"
    },
    "split_keywords": [
        "protect",
        "obfuscate",
        "encrypt",
        "obfuscation",
        "distribute"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "170e6dd1bb4f5c54734780c5e0aad4cfa68ba8bb6448eeae27848cdf1c4914b9",
                "md5": "fe7cf91eee519ced5250aa28a813eed9",
                "sha256": "820d87ebb43da2b6fd4b8705362a7811195f4d9606b7a297cd02f1bcd609bfb3"
            },
            "downloads": -1,
            "filename": "pyarmor-9.1.9-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "fe7cf91eee519ced5250aa28a813eed9",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 2937992,
            "upload_time": "2025-09-11T03:23:42",
            "upload_time_iso_8601": "2025-09-11T03:23:42.193556Z",
            "url": "https://files.pythonhosted.org/packages/17/0e/6dd1bb4f5c54734780c5e0aad4cfa68ba8bb6448eeae27848cdf1c4914b9/pyarmor-9.1.9-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e6147439d350af06c391a21c0caaedc424ca64bd81ace90b201e35a3e111c5fe",
                "md5": "69b379556b1fab470ec2f122c6367449",
                "sha256": "e3565df3a768d009e987679db9783e0c09d9672b7e6312d15d30515116795d60"
            },
            "downloads": -1,
            "filename": "pyarmor-9.1.9.tar.gz",
            "has_sig": false,
            "md5_digest": "69b379556b1fab470ec2f122c6367449",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2879813,
            "upload_time": "2025-09-11T03:23:18",
            "upload_time_iso_8601": "2025-09-11T03:23:18.859922Z",
            "url": "https://files.pythonhosted.org/packages/e6/14/7439d350af06c391a21c0caaedc424ca64bd81ace90b201e35a3e111c5fe/pyarmor-9.1.9.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-09-11 03:23:18",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "dashingsoft",
    "github_project": "pyarmor",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "pyarmor"
}
        
Elapsed time: 2.74338s