Skip to content

openscilab/drux

Drux: Drug Release Analysis Framework


PyPI version built with Python3 GitHub repo size

Overview

Drux is a Python-based framework for simulating drug release profiles using mathematical models. It offers a reproducible and extensible platform to model, analyze, and visualize time-dependent drug release behavior, making it ideal for pharmaceutical research and development. By combining simplicity with scientific rigor, Drux provides a robust foundation for quantitative analysis of drug delivery kinetics.

PyPI Counter
Github Stars
Branch main dev
CI

Installation

PyPI

Source code

Supported Models

Higuchi

The Higuchi model describes the release of a drug from a matrix system, where the drug diffuses through a porous medium. The Higuchi equation addressed important aspects of drug transport and release from planar devices. According to this model, the cumulative amount of drug released at time $t$ is given by:

$$ M_t = \sqrt{D(2c_0 - c_s)c_st} $$

where:

  • $M_t (\frac{mg}{cm^2})$ is the cumulative absolute amount of drug released at time $t$
  • $D ({\frac{cm^2}{s}})$ is the drug diffusivity in the polymer carrier
  • $c_0 (\frac{mg}{cm^3})$ is the initial drug concentration (total concentration of drug in the matrix)
  • $c_s (\frac{mg}{cm^3})$ is the solubility of the drug in the polymer (carrier)

⚠️ The Higuchi model assumes that $c_0 \ge c_s$

Applications

  1. Matrix Tablets
  2. Hydrophilic polymer matrices
  3. Controlled - Release Microspheres
  4. Semisolid Systems
  5. Implantable Drug delivery systems

Usage

Higuchi Model

from drux import HiguchiModel
model = HiguchiModel(D=1e-6, c0=1, cs=0.5)
model.simulate(duration=1000, time_step=10)
model.plot(show=True)

Higuchi Plot

Issues & bug reports

Just fill an issue and describe it. We'll check it ASAP! or send an email to [email protected].

  • Please complete the issue template

References

1- T. Higuchi, "Rate of release of medicaments from ointment bases containing drugs in suspension," Journal of Pharmaceutical Sciences, vol. 50, no. 10, pp. 874–875, 1961.
2- D. R. Paul, "Elaborations on the Higuchi model for drug delivery," International Journal of Pharmaceutics, vol. 418, no. 1, pp. 13–17, 2011.
3- R. T. Medarametla, K. V. Gopaiah, J. N. Suresh Kumar, G. Anand Babu, M. Shaggir, G. Raghavendra, D. Naveen Reddy, and B. Venkamma, "Drug Release Kinetics and Mathematical Models," International Journal of Science and Research Methodology, vol. 27, no. 9, pp. 12–19, Sep. 2024.

Show your support

Star this repo

Give a ⭐️ if this project helped you!

Donate to our project

If you do like our project and we hope that you do, can you please support us? Our project is not and is never going to be working for profit. We need the money just so we can continue doing what we do ;-) .

Drux Donation