Skip to main content

A package for pharmacokinetic modeling

Project description

ModelPK

ModelPK is a package designed to extract basic information about the pharmacokinetic profile of a drug from experimental data.

Target users: for bench scientists who have little experience with PK modeling

Background

What is PK?

Pharmacokinetics (PK) is the study of how a drug moves through the body. More specifically, it examines:

  • Absorption: How does a drug get into the body?
  • Distribution: Where does the drug go? For example, does it remain in the bloodstream, or does it partition into certain tissues?
  • Metabolism: Does it get broken down by the body?
  • Excretion: How does it leave the body? At any given point, the concentration of a drug in the body will be impacted by its absorption, distribution, metabolism, and excretion.

Why does it matter?

PK is crucial to understanding the safety and efficacy of a drug. Every drug has a concentration above which it can have serious side effects or be toxic to patients. Likewise, every drug has a concentration below which it no longer has a therapeutic effect. As such, every drug has a therapeutic window in which it actually has a therapeutic effect for patients. Understanding PK profile of a drug allows clinicians and physicians to understand how to keep drug concentrations within this therapeutic window.

Installation and Use

Installation

To install ModelPK run the following command:

!pip install ModelPK

This should also install any required dependencies listed in the requirements.txt file.

Use

  1. The dependencies below are required for ModelPK:
    • numpy
    • pandas
    • sci-kitlearn
    • tellurium

All required dependencies should be included when ModelPK or any of its modules is imported.

  1. Import ModelPK as entire package:

    import ModelPK

    OR import each module separately:

    from ModelPK import extractPKparam as extract from ModelPK import simulatePK as sim

  2. See "examples" folder for sample code.

Author’s note:

This package is currently only supports a 1 compartment model for a drug administered as an IV bolus. In other words, the drug must: i) have been administered intravenously as a single, large dose AND ii) remain in the bloodstream and do not partition into other tissues.

Future work will expand the number of PK models supported.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

modelpk-0.4.tar.gz (8.0 kB view details)

Uploaded Source

Built Distribution

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

ModelPK-0.4-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file modelpk-0.4.tar.gz.

File metadata

  • Download URL: modelpk-0.4.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.20

File hashes

Hashes for modelpk-0.4.tar.gz
Algorithm Hash digest
SHA256 fa20303a6c70337a3bc55a44e6f565018e917d8fcff269b7c3d15ed6016c9603
MD5 5e029053e81db240db051e873adf586f
BLAKE2b-256 b227fb5618014996c9d944f0065547fd7e2fb8e5720f64e52325b732b5ed1075

See more details on using hashes here.

File details

Details for the file ModelPK-0.4-py3-none-any.whl.

File metadata

  • Download URL: ModelPK-0.4-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.0.1 CPython/3.9.20

File hashes

Hashes for ModelPK-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 0d13126814f3a809575bf821b2c9e5f4dc1ef6257c0f0173d4a6dea6f64e6027
MD5 fe08714c682cac4d693a659659c90192
BLAKE2b-256 d2dc4cdc00aee0c6df305f35771ca8c3975df67b122599eba4695381dcd1f31f

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page