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。
  • Linux 同时覆盖 manylinux(glibc) 与 musllinux(musl)。
  • 目标矩阵:win32win_amd64manylinux_x86_64manylinux_aarch64musllinux_x86_64musllinux_aarch64macosx_x86_64macosx_arm64
  • 不发布 sdist
  • 敏感逻辑统一由 Rust 扩展模块 ixi._core 提供。
  • 若平台不在已发布 wheel 标签内,pip 安装会失败。

运行时行为

  • 启动脚本会先尝试 import ixi
  • 若导入失败,自动执行 python -m pip install --only-binary=:all: ixi,依次尝试默认源、USTC 镜像与官方 PyPI simple 源。
  • 解密前强制请求 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,直接终止执行。
  • 自动安装失败时会输出 machine/libc/python 诊断信息,便于定位 wheel 标签不匹配问题(例如 Alpine/musl 环境缺少 musllinux 产物)。

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.102-cp310-abi3-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.10+Windows x86-64

ixi-1.0.102-cp310-abi3-win32.whl (825.3 kB view details)

Uploaded CPython 3.10+Windows x86

ixi-1.0.102-cp310-abi3-musllinux_1_2_x86_64.whl (1.2 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ x86-64

ixi-1.0.102-cp310-abi3-musllinux_1_2_aarch64.whl (1.1 MB view details)

Uploaded CPython 3.10+musllinux: musl 1.2+ ARM64

ixi-1.0.102-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.102-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.102-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: ixi-1.0.102-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.102-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 d33efcf6eb1fb7cc61eac3cf889609563a9d4b9dc45a367db3881f1d481a138f
MD5 e17c187114023cf53f29709b909052d9
BLAKE2b-256 664bb32a2d6ce3e2239812635cfdfaa29fe6196af650bfb90d53865249cd577c

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ixi-1.0.102-cp310-abi3-win32.whl
  • Upload date:
  • Size: 825.3 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.102-cp310-abi3-win32.whl
Algorithm Hash digest
SHA256 eab96f32f11f57b215c630fad6966b3e59da15a1cca175d58fe6aad5506375c7
MD5 c1097b4d31ade67cb359c111d5c0c0bf
BLAKE2b-256 1f2d9469b478be44dbf31dfe336357bf0e5038586312975b7b9859bfcb809829

See more details on using hashes here.

File details

Details for the file ixi-1.0.102-cp310-abi3-musllinux_1_2_x86_64.whl.

File metadata

File hashes

Hashes for ixi-1.0.102-cp310-abi3-musllinux_1_2_x86_64.whl
Algorithm Hash digest
SHA256 30ff5b2e68af75c05392aa97d8ac5699a3c785bad0956650a9e4c60302a4d8c8
MD5 b2dc3ba9866273ee0db22eb9556bc016
BLAKE2b-256 bc1dc40a01196999dd4a636d38f5cfff8c216af59387702b02fbf53e06b74a03

See more details on using hashes here.

File details

Details for the file ixi-1.0.102-cp310-abi3-musllinux_1_2_aarch64.whl.

File metadata

File hashes

Hashes for ixi-1.0.102-cp310-abi3-musllinux_1_2_aarch64.whl
Algorithm Hash digest
SHA256 484178d5c4dae1bfb79b9dc4e637d35b944b7964cd3c4a5599d8f002c6bdf8ee
MD5 e5bbada56393c5d623b4d62461c11e10
BLAKE2b-256 748df34658cffa0f66d4bd12c8e17a0874aa94161af091eeede92ce90694d6e9

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ixi-1.0.102-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 3f165df1289083f5eb03b930a139932e347a14e88d7d8a18fb080b6e952b772b
MD5 24596ce84a1185543d5d139b201602f1
BLAKE2b-256 2147918a68a872d53b9da4dccf5fdee304fd9d59ce95cfa955eda0fa0eac483c

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for ixi-1.0.102-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 2abf86f67a097c5eb0e30803ba2a20e127fd051a76350066710e84ddae9ccfb7
MD5 d905fd42d4c61a4ed8645752c55368fb
BLAKE2b-256 cfa58e19de9f9861574555cdaa4c1b4cf3b5498738d8548def9f1dfb7a3f6a26

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