- Create and activate a virtual environment:
python3 -m venv .venv
source .venv/bin/activate
- Install the dependencies:
pip3 install -r requirements.txt --upgrade
- Set the
PNGME_TOKEN
environment variable using your API token from admin.pngme.com:
export PNGME_TOKEN="eyJraWQiOiJcL3d..."
- Run the example:
python3 main.py