{"id":13488352,"url":"https://github.com/dashingsoft/pyarmor","last_synced_at":"2025-05-14T09:06:15.572Z","repository":{"id":37336509,"uuid":"101461719","full_name":"dashingsoft/pyarmor","owner":"dashingsoft","description":"A tool used to obfuscate python scripts, bind obfuscated scripts to fixed machine or expire obfuscated scripts.","archived":false,"fork":false,"pushed_at":"2025-05-02T21:49:36.000Z","size":5507,"stargazers_count":4246,"open_issues_count":7,"forks_count":315,"subscribers_count":44,"default_branch":"master","last_synced_at":"2025-05-14T09:02:40.092Z","etag":null,"topics":["obfuscate","obfuscate-scripts","obfuscation","python","python-script"],"latest_commit_sha":null,"homepage":"http://pyarmor.dashingsoft.com","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dashingsoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2017-08-26T04:11:53.000Z","updated_at":"2025-05-14T07:26:18.000Z","dependencies_parsed_at":"2025-05-06T18:55:48.646Z","dependency_job_id":null,"html_url":"https://github.com/dashingsoft/pyarmor","commit_stats":{"total_commits":4602,"total_committers":35,"mean_commits":131.4857142857143,"dds":"0.012385919165580184","last_synced_commit":"d4e39b5f3ad0d90daa706d3da078bf994a9e93d8"},"previous_names":[],"tags_count":283,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashingsoft%2Fpyarmor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashingsoft%2Fpyarmor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashingsoft%2Fpyarmor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dashingsoft%2Fpyarmor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dashingsoft","download_url":"https://codeload.github.com/dashingsoft/pyarmor/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254110373,"owners_count":22016391,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["obfuscate","obfuscate-scripts","obfuscation","python","python-script"],"created_at":"2024-07-31T18:01:14.233Z","updated_at":"2025-05-14T09:06:15.552Z","avatar_url":"https://github.com/dashingsoft.png","language":"Python","readme":"# Pyarmor\n\nPyarmor is a command-line tool designed for obfuscating Python scripts, binding obfuscated scripts to specific machines, and setting expiration dates for obfuscated scripts.\n\n## Key Features\n\n- **Seamless Replacement**: Obfuscated scripts remain as standard `.py` files, allowing them to seamlessly replace the original Python scripts in most cases.\n- **Balanced Obfuscation**: Offers multiple ways to obfuscate scripts to balance security and performance.\n- **Irreversible Obfuscation**: Renames functions, methods, classes, variables, and arguments.\n- **C Function Conversion**: Converts some Python functions to C functions and compiles them into machine instructions using high optimization options for irreversible obfuscation.\n- **Script Binding**: Binds obfuscated scripts to specific machines or sets expiration dates for obfuscated scripts.\n- **Themida Protection**: Protects obfuscated scripts using Themida (Windows only).\n\n## Supported Platforms\n\n- Python 2 and Python 3[^1]\n- Windows\n- Various Linux distributions, including embedded systems and Raspberry Pi\n- Apple Intel and Apple Silicon\n- Supported architectures: x86_64, aarch64, armv7, etc.[^2]\n\nFor more information, check out the [Pyarmor Environments][encironments].\n\n[^1]: Some features may be exclusive to Python 3.\n[^2]: Some features may be exclusive to specific architectures.\n\n[encironments]: https://pyarmor.readthedocs.io/en/stable/reference/environments.html\n\n## Quick start\n\n1. **Install Pyarmor**:\n```shell\npip install pyarmor\n```\n\n2. **Obfuscate the `foo.py` script**:\n```shell\npyarmor gen foo.py\n```\n\nThis command generates an obfuscated script like this at `dist/foo.py`:\n\n```python\nfrom pyarmor_runtime import __pyarmor__\n__pyarmor__(__name__, __file__, b'\\x28\\x83\\x20\\x58....')\n```\n\n3. **Run the obfuscated script**:\n```shell\npython dist/foo.py\n```\n\nFor more information, check out the [getting started tutorial][tutorial].\n\n[tutorial]: https://pyarmor.readthedocs.io/en/stable/tutorial/getting-started.html\n\n## License\n\nPyarmor is published as shareware. The free trial version never expires, but has some limitations.\n\nRefer to [Pyarmor licenses][licenses] for information on license types, features, limitations, and purchasing a Pyarmor license.\n\nPlease read the [Pyarmor EULA](LICENSE).\n\n[licenses]: https://pyarmor.readthedocs.io/en/latest/licenses.html\n\n## Getting Help\n\n- **[Ask in learning system][askeke] or [look through check list][checklist]**\n- **Consult the [Pyarmor Documentation][doc].**\n- **Check the [FAQ][faq] for answers to common questions.**\n- **Try the documentation [index][genindex] or the [detailed table of contents][mastertoc].**\n- **If you still can't find the information you need, see [asking questions on GitHub][asking].**\n- **[Report bugs][issues] following the issue template.**\n- **For business and security inquiries, send an email to \u003cpyarmor@163.com\u003e.**\n\nThere is also one third-party learn platform\n\n- **[Ask Pyarmor Guru][gurubase], it is a Pyarmor-focused AI to answer your questions** (not made by Pyarmor Team, the answer doesn't stand for Pyarmor Team's opinion)\n\n## Resources\n\n* [Website](https://pyarmor.dashingsoft.com)\n* [Documentation][doc]\n* [Documentation 8.x](https://pyarmor.readthedocs.io/en/v8.5.12/)\n* [Documentation 7.x](https://pyarmor.readthedocs.io/en/v7.7/)\n* [Pyarmor 9.1 new features](https://eke.dashingsoft.com/pyarmor/docs/en/index.html)\n* [Pyarmor Learning System](https://eke.dashingsoft.com/pyarmor/)\n\n中文资源\n\n* [Pyarmor 网站](https://pyarmor.dashingsoft.com/index-zh.html)\n* [Pyarmor 在线文档](https://pyarmor.readthedocs.io/zh/latest/)\n* [Pyarmor 8.x 在线文档](https://pyarmor.readthedocs.io/zh/v8.5.12/)\n* [Pyarmor 7.x 在线文档](https://pyarmor.readthedocs.io/zh/v7.x/)\n* [Pyarmor 9.1 新功能](https://eke.dashingsoft.com/pyarmor/docs/zh/index.html)\n* [Pyarmor 学习系统](https://eke.dashingsoft.com/pyarmor/)\n\n## Changelog\n\nEach major version comes with a separate changelog file, detailing fixed issues, new features, and compatibility issues between different versions.\n\nMake sure to read the changelog carefully before upgrading Pyarmor:\n\n- [Pyarmor 8.x Changelog](docs/ChangeLogs.8)\n- [Pyarmor 9.x Changelog](docs/ChangeLogs.9)\n\n**Full changelogs** at [releases][releases]\n\n**Upcoming features** at [Pyarmor Release Plan](docs/ReleasePlan.md)\n\n[releases]: https://github.com/dashingsoft/pyarmor/releases\n[faq]: https://pyarmor.readthedocs.io/en/latest/questions.html\n[issues]: https://github.com/dashingsoft/pyarmor/issues\n[genindex]: https://pyarmor.readthedocs.io/en/stable/genindex.html\n[mastertoc]: https://pyarmor.readthedocs.io/en/stable/index.html#table-of-contents\n[asking]: https://pyarmor.readthedocs.io/en/latest/questions.html#asking-questions-in-github\n[doc]: https://pyarmor.readthedocs.io/\n[gurubase]: https://gurubase.io/g/pyarmor\n[askeke]: https://eke.dashingsoft.com/pyarmor/ask\n[checklist]: https://pyarmor.readthedocs.io/en/latest/reference/solutions.html\n","funding_links":[],"categories":["资源列表","Python","\u003ca id=\"783f861b9f822127dba99acb55687cbb\"\u003e\u003c/a\u003e工具","Obfuscators","分发","Distribution","分布","Projects","语言资源库","Distribution [🔝](#readme)"],"sub_categories":["分发","\u003ca id=\"85bb0c28850ffa2b4fd44f70816db306\"\u003e\u003c/a\u003e混淆器\u0026\u0026Obfuscate","Manual analysis","Python","python"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashingsoft%2Fpyarmor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdashingsoft%2Fpyarmor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdashingsoft%2Fpyarmor/lists"}