Installation

How to install the package

Install the whole pysmali package (or add it to your requirements.txt file):

$ pip install pysmali

Note

This package comes with one dependency: Python cryptography. The reason why to use this specific library when decrypting ESA files is that it is actively maintained and provides a user-friendly API documentation. These points makes it easier to work with the module in future versions.

Hint

In most cases you want to create a virtual environment as it provides extra security features when working with packages. To create a simple virtual environment, run:

Linux
$ python3 -m venv ./venv && source ./venv/bin/activate
Windows
$ py -m venv ./venv && ./venv/Scripts/activate.bat