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 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)
| File | Size | Uploaded | |
|---|---|---|---|
| pkdb-0.11.1.tar.gz | 138.2 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| 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 logRelease 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