Skip to main content

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

Project description

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

Sessions

Use this link to start a session and test PEPPER launch - renku

Related Projects

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pepper_lab-1.2.0.tar.gz (94.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pepper_lab-1.2.0-py3-none-any.whl (105.2 kB view details)

Uploaded Python 3

File details

Details for the file pepper_lab-1.2.0.tar.gz.

File metadata

  • Download URL: pepper_lab-1.2.0.tar.gz
  • Upload date:
  • Size: 94.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pepper_lab-1.2.0.tar.gz
Algorithm Hash digest
SHA256 214c3550e9b48474996380ee8590ab345f0c90c4f3274cc1016d45d1e7cb2da7
MD5 b65d5c59d73f15d5bc8a401870bf24a2
BLAKE2b-256 666251e2066dbd1b72eeaef7a543a4113fdaf0b3bbe5d4b6a1a32f262e834e22

See more details on using hashes here.

Provenance

The following attestation bundles were made for pepper_lab-1.2.0.tar.gz:

Publisher: python-publish.yml on FennerLabs/pepper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pepper_lab-1.2.0-py3-none-any.whl.

File metadata

  • Download URL: pepper_lab-1.2.0-py3-none-any.whl
  • Upload date:
  • Size: 105.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pepper_lab-1.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 f939dd4ed9045253a0ab9fa99b5576f072d951a4869049ba1f6a83b766a2ee56
MD5 078ff9d1620e3b6b4a75ae242dbafe77
BLAKE2b-256 c2409a9f2fd55aa2cae05419d65d0d86a9a9bf84d2f80ef74790e26912029085

See more details on using hashes here.

Provenance

The following attestation bundles were made for pepper_lab-1.2.0-py3-none-any.whl:

Publisher: python-publish.yml on FennerLabs/pepper

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page