Skip to main content

PEPPER - Predict Environmental Pollutant PERsistence

PEPPER is a package developed by the Fenner Labs for analyzing and modeling persistence of micropollutants in different environments.

Installation

The PEPPER library may be installed using:

pip install pepper-lab

Projects

Follow these steps to reproduce the workflows and results from previous publications:

Clone the repository

git clone https://github.com/FennerLabs/pepper
cd pepper

Fetch the files from github

git lfs fetch --all
git lfs pull

We also recommend creating a dedicated virtual environment with python 3.12 as base

python -m venv pepper_env
source pepper_env/bin/activate

We have included all requirements in the pyproject.toml file so all dependencies may be installed as follows

pip install .

Bayesian inference for soil biotransformation half-lives - Hafner et al., 2023

Here's how to reproduce the data and the figures from the publication:

cd scripts
python bayesian_inference_main.py

Current Opportunities and Limitations in Predicting Micropollutant Removal in Wastewater Treatment based on Molecular Structure - Cordero et al., 2025

In this project we include methods to model the breakthrough of micropollutants in wastewater treatment plants. Main results can be reproduced as follows:

cd scripts
predict_breakthrough_wwtp.py

Please refer to the main publication for further details

Confidently uncertain: Probabilistic machine learning to predict soil biotransformation half-lives - Salz et al., 2026

Code to reproduce the predictions from the publication:

cd scripts
python predict_soil_halflives.py

The code to reproduce analyses, tables and figures can be found in the jupyter notebook:

jupyter notebook soil_half_lives_additional_analyses.ipynb

We also have a pepper_app launch - streamlit to predict several endpoints of interest related to environmental persistence

Metadata

Release files for pepper-lab 1.2.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for pepper-lab 1.2.2
File Size Uploaded
pepper_lab-1.2.2.tar.gz 99.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pepper-lab 1.2.2
File Interpreter ABI Platform
pepper_lab-1.2.2-py3-none-any.whl Python 3 none any Details

Total release size: 215.7 kB

Release files / pepper_lab-1.2.2.tar.gz

Download URL pepper_lab-1.2.2.tar.gz
Size 99.6 kB
Tags Source
SHA-256 checksum
How to use checksums
98548f5a8090585aa8fa2e23009f5321a141aaf7dc4af861b2571fdeaf9a3c98
BLAKE2b-256 checksum
How to use checksums
0be234fe59bcffafb6cca2063d0163e5f393fc004dc9d907e8e1d1e1cd404462
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 18, 2026.

Transparency log

Release files / pepper_lab-1.2.2-py3-none-any.whl

Download URL pepper_lab-1.2.2-py3-none-any.whl
Size 116.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
94b976bb3116f0d89e089031a8c9a43037d6a3f932274f10d00d898242aa6f74
BLAKE2b-256 checksum
How to use checksums
47d0026669fe0f18c07dfee84eb23e7075a0d08ecfc4607b88d41d52d3246c62
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Sep 18, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.2.2 This release

2 release files

1.2.0

2 release files

1.1.0

2 release files

1.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page