Skip to main content

An example Python project.

Project description

# pkmodel-4the-right-side package

A new python package which models different methods of drug delivery and returns a graph showing the drug quantity in each compartment over time. It also provides a reference plot illustrating the dose function. The package can be easily installed using ‘pip’ via the command line.

## Explanation of Pharmacokinetics

“The field of Pharmacokinetics (PK) provides a quantitative basis for describing the delivery of a drug to a patient, the diffusion of that drug through the plasma/body tissue, and the subsequent clearance of the drug from the patient’s system. PK is used to ensure that there is sufficient concentration of the drug to maintain the required efficacy of the drug, while ensuring that the concentration levels remain below the toxic threshold (See Fig 1).” (DTC Software Engineering Course, 2024)

![image](https://github.com/user-attachments/assets/05f30c68-509f-4ad3-86b5-e6dd1e5979ce)

For further technical description of the model, documentation is available at: https://pkmodel-cool.readthedocs.io/en/latest/index.html

## Installation and running package

At the command line, type:

pip install pkmodel-4the-right-side

You may need to add ‘–upgrade’ if you have already tried to install previously.

Once installed, run the following command to see options available and their correct syntax:

python -m pkmodel -h

To run the package, type the following command, adding appropriate settings:

python -m pkmodel

## Interpretation of graphs

Here is an example of the output for the parameters:

‘name’: ‘Intravenous_Bolus_model’, ‘Q_p1’: 1.0, ‘V_c’: 1.0, ‘V_p1’: 1.0, ‘CL’: 1.0, ‘ka’: 0.0, ‘X’: 1.0, ‘Dosing_Type’: ‘Bolus’

![image](pkmodel/tests/Intravenous_Bolus_model.png)

with the input dosing function:

![image](pkmodel/tests/dose_function.png)

## Members 1. Anita 2. Pao 3. Callum 4. Ed

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

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

pkmodel_4the_right_side-1.0.2-py3-none-any.whl (12.2 kB view details)

Uploaded Python 3

File details

Details for the file pkmodel_4the_right_side-1.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for pkmodel_4the_right_side-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 c6443b61df577c7ac9b8f7f2abab4b354137f7817a1669da1aefd5ca096aa26c
MD5 e1fa5bbbb01416d439c8c102b7320448
BLAKE2b-256 4f9f0d81c6e15fea499d0e4e1d1a2a99a64c5120ae42d944b74ad2529f918c80

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