简介
使用cythonize将python代码一键加密为so或pyd。支持单个文件加密,整个项目加密。 (seal your pyfiles or project by using cythonize.)
Git仓库地址: https://github.com/limoncc/sealpy.git
安装
pip install sealpy3
使用方法
使用参数
sealpy -i "xxx project dir" [-o output dir]
加密后的文件默认存储在 dist/project_name/ 下
使用配置文件
; 工作目录下的./.sealpy.cfg
[sealpy]
; the file that will be compiled
paths = test
; files that are ignored at compile time. If an empty string is not used, multiple files and folders are separated by commas
ignores = ''
; The build directory
build_dir = build
; If there is an entry file, it needs to be specified to exclude compilation
main_py = main.py
运行命令
sealpy build
Metadata
Release files for sealpy3 0.1.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| sealpy3-0.1.7.tar.gz | 5.6 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sealpy3-0.1.7-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.4 kB
Release files / sealpy3-0.1.7.tar.gz
| Download URL | sealpy3-0.1.7.tar.gz |
|---|---|
| Size | 5.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ba53a7955dce82be28e8d83e21c9ed6832446521a92ae5590a103efa020610a3
|
|
BLAKE2b-256 checksum How to use checksums |
a3931c4b0906d7b38c4f2632c381073bbc1745b4ab9eb14792338935540e11c5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.9.12 Darwin/24.6.0
|
Release files / sealpy3-0.1.7-py3-none-any.whl
| Download URL | sealpy3-0.1.7-py3-none-any.whl |
|---|---|
| Size | 6.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
239343bb8082729fa2cc20250689272ea111868fda94b55ac5189799ae07b541
|
|
BLAKE2b-256 checksum How to use checksums |
bb43df0b5a56402fa5d9ba80898fb335e0a590ba6b47f4a21efc5761e262e63a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/1.8.3 CPython/3.9.12 Darwin/24.6.0
|