Skip to main content

pkpdutils: pharmacokinetic and pharmacodynamic analysis

GitHub Actions CI/CD Status Documentation Version Python Versions MIT License DOI

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

DOI

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

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

pkpdutils-1.0.0.tar.gz (608.3 kB view details)

Uploaded Source

Built Distribution

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

pkpdutils-1.0.0-py3-none-any.whl (129.2 kB view details)

Uploaded Python 3

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

Hashes for pkpdutils-1.0.0.tar.gz
Algorithm Hash digest
SHA256 eb66cc06257f5411d40c552a547e11085a966b71734d45dd7b3ba3eea4877b5b
MD5 4cb4674a587dcc158f7a648cdac0acbc
BLAKE2b-256 4de49cf16728c8cf036797fbbd28a869a692ec00fb93201ad639b9f8191fd48a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pkpdutils-1.0.0.tar.gz:

Publisher: ci-cd.yml on matthiaskoenig/pkpdutils

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

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

Hashes for pkpdutils-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 2c1af3a16bba95e3ec6bd7e7a23863d28bc7016b371ab9caceedd46f1ed251d7
MD5 d81ebcf0e0b1eb678fed0ed97696b87c
BLAKE2b-256 e34f31091fdadab4c4eb61ee91bf846384b890f51ed1a3c119ce015f33faf791

See more details on using hashes here.

Provenance

The following attestation bundles were made for pkpdutils-1.0.0-py3-none-any.whl:

Publisher: ci-cd.yml on matthiaskoenig/pkpdutils

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

Release history Release notifications | RSS feed

1.2.0

2 files

1.1.0

2 files

This release

1.0.0 This release

2 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