python代码一键加密
Project description
pyencrypt3
简介
将python代码一键加密为pyc/so或pyd。支持单个文件加密,整个项目加密。
安装
pip install pyencrypt3
使用方法
pyencrypt3 -i "xxx project dir" [-o output dir]
参数说明: -i | --input_file_path 待加密文件或文件夹路径,可是相对路径或绝对路径 -o | --output_file_path 加密后的文件输出路径,默认在input_file_path下创建dist文件夹,存放加密后的文件 -I | --ignore_files 不需要加密的文件或文件夹,逗号分隔 -m | --except_main_file 不加密包含__main__的文件(主文件加密后无法启动), 值为0、1。 默认为0 -p | --pyc 编译为pyc格式,值为0、1。 默认为0
加密后的文件默认存储在 dist/project_name/ 下
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file pyencrypt3-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: pyencrypt3-1.0.1-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a782a500724913ce1781836e06ec47dd6694cbcaa1318e510b212b065a9ace43 |
|
MD5 | 3838538523dd8270e4adab6a7ef08bcc |
|
BLAKE2b-256 | de5a6edef33381bc97828825dfbf6e8cf9dd79c0f3fa0fbac17707dc323731e5 |