back to home

dashingsoft / pyarmor

A tool used to obfuscate python scripts, bind obfuscated scripts to fixed machine or expire obfuscated scripts.

4,988 stars
353 forks
16 issues
PythonShellMakefile

AI Architecture Analysis

This repository is indexed by RepoMind. By analyzing dashingsoft/pyarmor in our AI interface, you can instantly generate complete architecture diagrams, visualize control flows, and perform automated security audits across the entire codebase.

Our Agentic Context Augmented Generation (Agentic CAG) engine loads full source files into context on-demand, avoiding the fragmentation of traditional RAG systems. Ask questions about the architecture, dependencies, or specific features to see it in action.

Source files are only loaded when you start an analysis to optimize performance.

Embed this Badge

Showcase RepoMind's analysis directly in your repository's README.

[![Analyzed by RepoMind](https://img.shields.io/badge/Analyzed%20by-RepoMind-4F46E5?style=for-the-badge)](https://repomind.in/repo/dashingsoft/pyarmor)
Preview:Analyzed by RepoMind

Repository Overview (README excerpt)

Crawler view

Pyarmor Pyarmor is a command-line tool designed for obfuscating Python scripts, binding obfuscated scripts to specific machines, and setting expiration dates for obfuscated scripts. Key Features • **Seamless Replacement**: Obfuscated scripts remain as standard files, allowing them to seamlessly replace the original Python scripts in most cases. • **Balanced Obfuscation**: Offers multiple ways to obfuscate scripts to balance security and performance. • **Irreversible Obfuscation**: Renames functions, methods, classes, variables, and arguments. • **C Function Conversion**: Converts some Python functions to C functions and compiles them into machine instructions using high optimization options for irreversible obfuscation. • **Script Binding**: Binds obfuscated scripts to specific machines or sets expiration dates for obfuscated scripts. • **Themida Protection**: Protects obfuscated scripts using Themida (Windows only). Supported Platforms • Python 2 and Python 3[^1] • Windows • Various Linux distributions, including embedded systems and Raspberry Pi • Apple Intel and Apple Silicon • Supported architectures: x86_64, aarch64, armv7, etc.[^2] For more information, check out the [Pyarmor Environments][encironments]. [^1]: Some features may be exclusive to Python 3. [^2]: Some features may be exclusive to specific architectures. [encironments]: https://pyarmor.readthedocs.io/en/stable/reference/environments.html Quick start • **Install Pyarmor**: • **Obfuscate the script**: This command generates an obfuscated script like this at : • **Run the obfuscated script**: For more information, check out the [getting started tutorial][tutorial]. [tutorial]: https://pyarmor.readthedocs.io/en/stable/tutorial/getting-started.html License Pyarmor is published as shareware. The free trial version never expires, but has some limitations. Refer to [Pyarmor licenses][licenses] for information on license types, features, limitations, and purchasing a Pyarmor license. Please read the Pyarmor EULA. [licenses]: https://pyarmor.readthedocs.io/en/latest/licenses.html Getting Help • **[Ask in learning system][learning] or [look through check list][checklist]** • **Consult the [Pyarmor Documentation][doc].** • **Check the [FAQ][faq] for answers to common questions.** • **Try the documentation [index][genindex] or the [detailed table of contents][mastertoc].** • **If you still can't find the information you need, see [asking questions on GitHub][asking].** • **[Report bugs][issues] following the issue template.** • **For business and security inquiries, send an email to .** There is also one third-party learn platform • **[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) Resources • Website • [Documentation][doc] • Documentation 8.x • Documentation 7.x • Pyarmor 9.1 new features • [Pyarmor Learning System][learning] 中文资源 • Pyarmor 网站 • Pyarmor 在线文档 • Pyarmor 8.x 在线文档 • Pyarmor 7.x 在线文档 • Pyarmor 9.1 新功能 • [Pyarmor 学习系统][learning] Changelog 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: • Pyarmor 8.x Changelog • Pyarmor 9.x Changelog **Full changelogs** at [releases][releases] **Upcoming features** at Pyarmor Release Plan [releases]: https://github.com/dashingsoft/pyarmor/releases [faq]: https://pyarmor.readthedocs.io/en/latest/questions.html [issues]: https://github.com/dashingsoft/pyarmor/issues [genindex]: https://pyarmor.readthedocs.io/en/stable/genindex.html [mastertoc]: https://pyarmor.readthedocs.io/en/stable/index.html#table-of-contents [asking]: https://pyarmor.readthedocs.io/en/latest/questions.html#asking-questions-in-github [doc]: https://pyarmor.readthedocs.io/ [gurubase]: https://gurubase.io/g/pyarmor [learning]: https://pyarmor.eke.org.cn/ [checklist]: https://pyarmor.readthedocs.io/en/latest/reference/solutions.html