Skip to main content

PK-DB Python client

Prepare, validate, query, and upload pharmacokinetic studies with the same scientific validation engine used by the PK-DB server. Python 3.14 is supported on Linux, macOS, and Windows.

Install a published release with pip install pkdb, or install this checkout with pip install ./python from the repository root.

Existing pkdb_data study folders work directly:

pkdb prepare studies/ExampleStudy
pkdb validate studies/ExampleStudy --offline
pkdb upload studies/ExampleStudy --endpoint https://pk-db.com

Preparation and validation work offline using the bundled vocabulary. Upload validates locally first and then the server validates the original files again. Set PKDB_API_KEY for authenticated operations and optionally PKDB_ENDPOINT for the default endpoint.

from pkdb import prepare

prepared = prepare("studies/ExampleStudy")
print(prepared.study.sid)

See the client documentation for vocabulary snapshots, structured reports, authentication, queries, and downloads. The source repository contains the separate pkdb-server distribution, which depends on the exact matching public client release.

Metadata

Release files for pkdb 0.11.0

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

Source distribution (sdist)

Source distribution for pkdb 0.11.0
File Size Uploaded
pkdb-0.11.0.tar.gz 97.6 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for pkdb 0.11.0
File Interpreter ABI Platform
pkdb-0.11.0-py3-none-any.whl Python 3 none any Details

Total release size: 169.9 kB

Release files / pkdb-0.11.0.tar.gz

Download URL pkdb-0.11.0.tar.gz
Size 97.6 kB
Tags Source
SHA-256 checksum
How to use checksums
6898e59ab8800352e43e98b2a025b1049cbc48e22963c3dcc11887397c5549c1
BLAKE2b-256 checksum
How to use checksums
dde3a41cba4b4b421232b306972a3b5c58e7e79b725c2bb1ef25c9ae5d98b59d
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 23, 2026.

Transparency log

Release files / pkdb-0.11.0-py3-none-any.whl

Download URL pkdb-0.11.0-py3-none-any.whl
Size 72.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
485931d11174fe4943b7158849ad9104bd4862079d3421f212296eb253998891
BLAKE2b-256 checksum
How to use checksums
01f733c02c8781970820c95c0139c998cbd7aa4f4ce9f17df11b98e52ec77dc4
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 23, 2026.

Transparency log

Release history Release notifications | RSS feed

0.11.1

2 release files

This release

0.11.0 This release

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