Skip to main content

Encrypt Python scripts and execute decrypted code.

Project description

ixi

ixi 用于加密 Python 脚本,并生成可执行的加密启动脚本。运行时只在内存中解密并执行,不落盘明文。

安装

pip install --only-binary=:all: ixi

命令

  • ixi -v:输出当前版本号
  • ixi -e script.py:加密脚本并输出 script_<timestamp>.py

分发模型

  • 仅发布 abi3 wheel(cp310-abi3),覆盖 Windows / Linux / macOS。
  • 目标矩阵:win_amd64manylinux_x86_64manylinux_aarch64macosx_x86_64macosx_arm64
  • 不发布 sdist
  • 敏感逻辑统一由 Rust 扩展模块 ixi._core 提供。
  • 若平台不在已发布 wheel 标签内,pip 安装会失败。

运行时行为

  • 启动脚本会先尝试 import ixi
  • 若导入失败,自动执行 python -m pip install ixi
  • 解密前强制请求 USTC:
    • GET https://mirrors.ustc.edu.cn/pypi/simple/ixi/
    • Accept: application/vnd.pypi.simple.v1+json
    • TLS 信任根固定为 certifi(Mozilla CA Bundle),不使用系统证书库。
    • 运行时额外要求对端证书签发组织为 Let's Encrypt
  • 本地版本不是最新版时,打印告警并终止执行。
  • 若接口返回 404,直接终止执行。

Project details


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 Distributions

If you're not sure about the file name format, learn more about wheel file names.

ixi-1.0.101-cp310-abi3-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.10+Windows x86-64

ixi-1.0.101-cp310-abi3-win32.whl (824.9 kB view details)

Uploaded CPython 3.10+Windows x86

ixi-1.0.101-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

ixi-1.0.101-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.1 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

File details

Details for the file ixi-1.0.101-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: ixi-1.0.101-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for ixi-1.0.101-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 dfdf76752e6871351adf768d18312413892c584f8f010e577a8446408a2b154a
MD5 136039404e036bb01878d812c4379480
BLAKE2b-256 d8ffc39d378731b363621622a425a64b532168e02c0435bcee0af3ad5fc8e0ea

See more details on using hashes here.

File details

Details for the file ixi-1.0.101-cp310-abi3-win32.whl.

File metadata

  • Download URL: ixi-1.0.101-cp310-abi3-win32.whl
  • Upload date:
  • Size: 824.9 kB
  • Tags: CPython 3.10+, Windows x86
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.12.1

File hashes

Hashes for ixi-1.0.101-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 2e5fd173ef28ad8eca59636db487f303f6d1113fe6e4f1c365570b5581fb2b76
MD5 1d4b691a74ddea87c0152d6bfa8ab407
BLAKE2b-256 23c7c9762bd35183ed94c6f045140b3731814ae844db8279ec1e81b6383ac5b8

See more details on using hashes here.

File details

Details for the file ixi-1.0.101-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for ixi-1.0.101-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 0bfb4269075df80a39cf986a547f5c1903491b09a188624ec99c8da2e4c6be97
MD5 371035a76b1a1fc7bef66d53a187cb1b
BLAKE2b-256 b137334e8377f8574974e40264d3c1c3dada89fd41620f36cd99745a646a43f9

See more details on using hashes here.

File details

Details for the file ixi-1.0.101-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for ixi-1.0.101-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 8cc0a569ee8ccc85a45b772613631ad9959af2bd90ac03287ab0398ed85bcd39
MD5 e64b3b21d10173e2fcaabb9a0e6a7ab5
BLAKE2b-256 6a8639b164d0f1014f72615399078376db5f0af6a29b30a75aa66437b2ed7be7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page