pkpdutils: pharmacokinetic and pharmacodynamic analysis
pkpdutils is a python library for the pharmacokinetic (PK) and pharmacodynamic (PD) analysis of timecourses and parameters. It was formerly published as pkdb-analysis, the analysis toolbox of PK-DB; version 1.0.0 is a rewrite without any PK-DB dependency.
Features include
- non-compartmental analysis - exposure, peak, terminal phase, clearance and volume parameters of concentration and effect timecourses, single dose and steady state, with units
- uncertainty - bootstrap and delta method propagation for group timecourses (mean ± SD), summary statistics over individuals
- curve fitting - exponential, Bateman, Emax, dose proportionality and covariate models with standard errors, confidence intervals and model comparison
- statistics on parameters - significance tests, geometric mean ratios, bioequivalence, classification of drug–drug interactions, meta-analysis
- figures - timecourses, NCA diagnostics, fits, parameter distributions, forest and ratio plots
All data structures are xarray datasets with pint units, so many timecourses are analysed in one vectorized call.
The documentation is available at https://matthiaskoenig.github.io/pkpdutils.
If you have any questions or issues please open an issue.
How to cite
If you use pkpdutils please cite the archived software on Zenodo:
König, M. & Grzegorzewski, J. (2026). pkpdutils: pharmacokinetic and pharmacodynamic analysis of timecourses and parameters [Computer software]. Zenodo. https://doi.org/10.5281/zenodo.3997539
Installation
pkpdutils requires python >= 3.13 and is available from pypi:
uv add pkpdutils
or with pip
pip install pkpdutils
See Installation for details and Development for working on the repository.
License
- Source Code: MIT
- Documentation: CC BY-SA 4.0
Funding
Matthias König is supported by the German Research Foundation (DFG) within the Research Unit Programme FOR 5151 "QuaLiPerF (Quantifying Liver Perfusion-Function Relationship in Complex Resection - A Systems Medicine Approach)" by grant number 436883643 and by grant number 465194077 (Priority Programme SPP 2311, Subproject SimLivA).
Matthias König was supported by the Federal Ministry of Education and Research (BMBF, Germany) within the research network Systems Medicine of the Liver (LiSyM, grant number 031L0054).
© 2018-2026 Matthias König & Jan Grzegorzewski.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pkpdutils-1.0.0.tar.gz.
File metadata
- Download URL: pkpdutils-1.0.0.tar.gz
- Upload date:
- Size: 608.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eb66cc06257f5411d40c552a547e11085a966b71734d45dd7b3ba3eea4877b5b
|
|
| MD5 |
4cb4674a587dcc158f7a648cdac0acbc
|
|
| BLAKE2b-256 |
4de49cf16728c8cf036797fbbd28a869a692ec00fb93201ad639b9f8191fd48a
|
Provenance
The following attestation bundles were made for pkpdutils-1.0.0.tar.gz:
Publisher:
ci-cd.yml on matthiaskoenig/pkpdutils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pkpdutils-1.0.0.tar.gz -
Subject digest:
eb66cc06257f5411d40c552a547e11085a966b71734d45dd7b3ba3eea4877b5b - Sigstore transparency entry: 2846994699
- Sigstore integration time:
-
Permalink:
matthiaskoenig/pkpdutils@467eb5a28afa8ef6653c239d92a33c5289f1956c -
Branch / Tag:
refs/tags/1.0.0 - Owner: https://github.com/matthiaskoenig
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci-cd.yml@467eb5a28afa8ef6653c239d92a33c5289f1956c -
Trigger Event:
push
-
Statement type:
File details
Details for the file pkpdutils-1.0.0-py3-none-any.whl.
File metadata
- Download URL: pkpdutils-1.0.0-py3-none-any.whl
- Upload date:
- Size: 129.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2c1af3a16bba95e3ec6bd7e7a23863d28bc7016b371ab9caceedd46f1ed251d7
|
|
| MD5 |
d81ebcf0e0b1eb678fed0ed97696b87c
|
|
| BLAKE2b-256 |
e34f31091fdadab4c4eb61ee91bf846384b890f51ed1a3c119ce015f33faf791
|
Provenance
The following attestation bundles were made for pkpdutils-1.0.0-py3-none-any.whl:
Publisher:
ci-cd.yml on matthiaskoenig/pkpdutils
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pkpdutils-1.0.0-py3-none-any.whl -
Subject digest:
2c1af3a16bba95e3ec6bd7e7a23863d28bc7016b371ab9caceedd46f1ed251d7 - Sigstore transparency entry: 2846995044
- Sigstore integration time:
-
Permalink:
matthiaskoenig/pkpdutils@467eb5a28afa8ef6653c239d92a33c5289f1956c -
Branch / Tag:
refs/tags/1.0.0 - Owner: https://github.com/matthiaskoenig
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
ci-cd.yml@467eb5a28afa8ef6653c239d92a33c5289f1956c -
Trigger Event:
push
-
Statement type: