Skip to main content

PK-DB Python client

PyPI Python versions

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

Install pkdb from PyPI with python -m pip install pkdb. For source installation, see Development.

Existing pkdb_data study folders work directly:

pkdb prepare studies/ExampleStudy
pkdb validate studies/ExampleStudy --offline
pkdb upload studies/ExampleStudy --endpoint https://alpha.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.

Metadata

Release files for pkdb 0.11.1

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.1
File Size Uploaded
pkdb-0.11.1.tar.gz 138.2 kB Details

Built distribution (wheel)

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

Total release size: 225.0 kB

Release files / pkdb-0.11.1.tar.gz

Download URL pkdb-0.11.1.tar.gz
Size 138.2 kB
Tags Source
SHA-256 checksum
How to use checksums
94e6d637afb7e560e7958db95ff7f72fe94bfdde9fe6a456d9a381d22426bd1a
BLAKE2b-256 checksum
How to use checksums
7f726e996e504bc6a6dc4a3abb0a2e705de31ae61e075b508523c5de07935798
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 24, 2026.

Transparency log

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

Download URL pkdb-0.11.1-py3-none-any.whl
Size 86.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
612b6f425881a1c293fddbe8c4ba58f4bba7425d8738c17c4f90d567113d8370
BLAKE2b-256 checksum
How to use checksums
060c404f76f20b98ea47c76c51c5d0d62c441ee9e8f5b9830ef606a68af31417
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 24, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.11.1 This release

2 release files

0.11.0

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