Skip to main content

A command line tool used to import or run encrypted python scripts.

Project description

Pyarmor is a command line tool used to import or run encrypted python scripts. Only by a few extra files, pyarmor can run and imported encrypted files in the normal python environments. Here are the basic steps:

  • Generate project capsule
  • Encrypt python scripts with project capsule
  • Copy project capsule and encrypted scripts to runtime environments.

Pyarmor just likes an enhancement which let python could run or import encrypted files.

Main Features

  • Run encrypted script or import encrypted module
  • Run or import encrypted compiled python files (.pyc, .pyo)
  • Mixed encrypted files with normal python files.
  • Expire encrypted files
  • Bind encrypted files to harddisk

Support Platforms

  • Python 2.5, 2.6, 2.7 and Python3
  • Prebuilt Platform: win32, win_amd64, linux_i386, linux_x86_64

Got prebuilt library from github then extract it to src of Pyarmor

The core of Pyarmor is written by C, the only dependency is libc. So it’s not difficult to build for any other platform, even for embeded system. Contact <> if you’d like to run encrypted scripts in other platform.


Got source package from pypi

Pyarmor is a command line tool, main script is After you got source package, unpack it to any path, then run as common python script


For more information, refer to Pyarmor Homepage

Project details

Release history Release notifications

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date (811.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page