Skip to main content

A python package could import/run encrypted python scripts.

Project description

Pyarmor, Guard your python scripts

Do you worry about how to protect your python scripts? Now, it’s easy with the coming of Pyarmor.

What’s Pyarmor

A python package could import/run encrypted python scripts.

Pyarmor is designed for developers who do not want distribute literal python scripts to their customers.

Here are the main differences of using Pyarmor to run/import encrypted python scripts:

  • transform python script to encrypted one with extension “.pye”
  • add a few of auxiliary files

It means Pyarmor almost doesn’t change anything, you can run/import encrypted pythons scripts just as they’re not encrypted. So you can run/import encrypted python scripts in any environment which python can run. For example, in a web framework, or as cgi scripts.

Besides, Pyarmor could run/import encrypted python scripts in target machine as one of the following ways:

  • Any target machine, or
  • only in a special machine (bind to hard disk serial number), or
  • expired on some day

Get it

Download the source package from Python Package Index

then extract the downloaded package to any path.

Quick Start

Pyarmor is command line tool, the main script is “”, you can run it by python2.6 later:

$ python

There is a gui wizard to show how to use pyarmor, be sure you have installed python and tkinter, start pyarmor wizard:

$ python

The wizard is tested in Python2.7/Python3.2. There are many examples introduced in this wizard, it’s useful to understand all of the featuers of Pyarmor.

For more information, see Pyarmor homepage

Project details

Release history Release notifications

This version
History Node


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
pyarmor-2.5.2.tar.bz2 (7.7 MB) Copy SHA256 hash SHA256 Source None
pyarmor-2.5.2.tar.gz (8.9 MB) Copy SHA256 hash SHA256 Source None (9.0 MB) 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