Installation
Requirements
Passthrough works with Python 3.6 or newer, and depends on the lxml and NumPy packages.
Setting up a virtual environment
If you want to follow along with the tutorial, we recommend creating a virtual
environment for your project. We will be using venv
, but you are of course free to use
Poetry or similar if you want.
Navigate to a fresh directory and execute:
python3 -m venv env
source env/bin/activate
It is generally a good idea to ensure that pip
is up to date:
pip install --upgrade pip
Installing Passthrough
The Passthrough library lives on PyPI and can be installed with
pip
:
pip install passthrough
from passthrough import Template
.