Registry / auth-security / pyarmor-cli-core

pyarmor-cli-core

JSON →
library8.1.2pypypi✓ verified 24d ago

Pyarmor-cli-core is the foundational library for Pyarmor, providing the platform-specific extension modules (like `pytransform3`) necessary for obfuscating Python scripts and executing obfuscated code. It serves primarily as a dependency for the main `pyarmor` CLI tool. As of its latest PyPI release, the current version is 8.1.1. Releases for `pyarmor-cli-core` are tightly coupled with `pyarmor` releases, offering updated binaries for new Python versions and features.

pip install pyarmor-cli-core
INSTALL
IMPORT
SIG · PYARMOR-CLI-CORE
P
pyarmor-cli-core
auth-securitypythonv8.1.2
Install
1.8s avg
Import
Disk
17MB
Pass rate
10/ 10
Env Coverage10 / 10
glibc
3.93.13
musl
3.93.13
Install & Compatibility
Where this runs
tested against v8.1.2 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
py 3.103.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 18.9MB
glibc
py 3.103.95 runs
installs and imports cleanly · install 1.8s · import 0.000s · 20MB
17MB installed
● package 17MB
Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

pytransform3
import pyarmor.pytransform3
from pyarmor import pytransform3

This quickstart demonstrates how to verify that the `pytransform3` module, provided by `pyarmor-cli-core`, is correctly installed and accessible. It checks the module's version, confirming its presence in your Python environment.

import pytransform3 try: # Verify the pytransform3 module is loaded and get its version runtime_version = pytransform3.pyarmor_version() print(f"Pytransform3 module loaded successfully. Version: {'.'.join(map(str, runtime_version))}") # Note: pyarmor-cli-core itself does not expose obfuscation functions directly. # It provides the runtime environment and core binaries used by the 'pyarmor' tool. # To obfuscate scripts, you typically use the 'pyarmor' package/CLI: # (Requires: pip install pyarmor) # from pyarmor import pyarmor_build # pyarmor_build.obfuscate('your_script.py') except ImportError: print("Error: pytransform3 module not found. Is pyarmor-cli-core installed correctly?") except Exception as e: print(f"An unexpected error occurred: {e}")
pyarmor --version
Debug
Known issues
breakingFor Pyarmor 8.0+ (and thus `pyarmor-cli-core` 8.x onwards), the `pyarmor init` command has been removed, and the CLI interface has been streamlined to `gen`, `reg`, `cfg` commands only. Old scripts or automation relying on removed commands will fail.
fix
Update CLI usage to the new command set. Refer to the official Pyarmor documentation for `pyarmor 8.x` or newer for updated command syntax.
affects: Pyarmor 8.0+, compatible pyarmor-cli-core versions
breakingUpgrading to Pyarmor 9.2+ (and its compatible `pyarmor-cli-core` backend) requires re-requesting or updating registration files for CI and Group Licenses due to changes in license binding mechanisms. Older registration files will not work with Pyarmor 9.2+.
fix
Follow instructions on the Pyarmor documentation (e.g., 'What need to do after upgrading Pyarmor' section) to obtain new CI or update Group License registration files when upgrading to Pyarmor 9.2 or newer.
affects: Pyarmor 9.2+, compatible pyarmor-cli-core versions
gotchaConfiguration files and project rule files in Pyarmor 9.2.2+ (and compatible `pyarmor-cli-core`) now default to UTF-8 encoding. Scripts or tools relying on different default encodings for these files may encounter `UnicodeDecodeError` or other encoding-related issues.
fix
Ensure all configuration and project rule files are saved in UTF-8 encoding. If a different encoding is strictly necessary, check Pyarmor documentation for options to explicitly specify encoding, if available.
affects: Pyarmor 9.2.2+, compatible pyarmor-cli-core versions
gotcha`pyarmor-cli-core` (as part of the Pyarmor ecosystem) can experience runtime crashes or unexpected behavior with specific Python versions (e.g., 3.12, 3.13) or advanced obfuscation modes (e.g., BCC, RTF) if not kept up-to-date. Many such compatibility and stability issues were fixed in newer `pyarmor` 9.x releases.
fix
Always use the latest compatible `pyarmor-cli-core` package for your specific Pyarmor version and Python interpreter. Refer to Pyarmor release notes for fixes related to specific Python versions or obfuscation modes, and upgrade accordingly.
affects: Older Pyarmor 8.x releases, and compatible pyarmor-cli-core versions (e.g., 8.1.1) when used with newer Python interpreters or advanced modes.
Upgrade
Version history
8.1.2latest on PyPI · released Aug 26, 2026
Audit
Dependencies

No dependency data recorded yet.

Agent activity
21 hits · last 30 days
node
18
OpenAI (training)
1
Resources