PyBindingCurve
Shave, Steven, et al. "PyBindingCurve, simulation, and curve fitting to complex binding systems at equilibrium." Journal of Chemical Information and Modeling (2021). https://doi.org/10.1021/acs.jcim.1c00216
PyBindingCurve is a Python package for simulation, plotting and fitting of experimental parameters to protein-ligand binding systems at equilibrium. In simple terms, the most basic functionality allows simulation of a two species binding to each other as a function of their concentrations and the dissociation constant (KD) between the two species. A number of systems are built in and can be solved using direct analytical, kinetic, or Langrange multiplier based techniques. User-defined custom systems can also be specified using a simple syntax.
Try without installing on Google colab! https://colab.research.google.com/drive/1upxm56mGYWo8jvTTJjZLOEq6DT0lRy8d
Installation
PyBindingCurve may be installed from source present in the GitHub repository https://github.com/stevenshave/pybindingcurve via git pull, or from the Python Package Index (https://pypi.org/project/pybindingcurve/) using the command :
pip install pybindingcurve
Requirements
PyBindingCurve requires Python 3.9 or later. The following packages are also required
- numpy>=1.26
- matplotlib>=3.8
- lmfit>=1.2.2
- mpmath>=1.3.0
- autograd>=1.6.2
License
Usage
A tutorial and API documentation can be found here
A quickstart example for simulation of protein-ligand binding is as follows:
import numpy as np
import pybindingcurve as pbc
my_system = pbc.BindingCurve("1:1")
system_parameters = {"p": np.linspace(0, 20), "l": 10, "kdpl": 1}
my_system.add_curve(system_parameters)
my_system.show_plot()
Tests written using the pytest framework may be run with 'pytest' (ensure pytest is installed in your python environment, or pip install it)
Authors
PyBindingCurve was written by Steven Shave
Please get in contact for custom solutions, integration to existing workflows and training.
Metadata
Release files for pybindingcurve 1.2.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pybindingcurve-1.2.3.tar.gz | 33.7 kB | Without provenance | Details for pybindingcurve-1.2.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pybindingcurve-1.2.3-py3-none-any.whl | Python 3 | none | any | Details for pybindingcurve-1.2.3-py3-none-any.whl |
Total release size: 69.1 kB
Release files / pybindingcurve-1.2.3.tar.gz
| Download URL | pybindingcurve-1.2.3.tar.gz |
|---|---|
| Size | 33.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
21d929cd72f403300ff4bb8da00694c2d59c2401b3f74178c0137a01f6ac0e31
|
|
BLAKE2b-256 checksum How to use checksums |
9ae2d14385223948350d68066da6d62931debbd64e0693859f4637c958045a91
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.14
|
Release files / pybindingcurve-1.2.3-py3-none-any.whl
| Download URL | pybindingcurve-1.2.3-py3-none-any.whl |
|---|---|
| Size | 35.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b355daaaa3ad0b8fd467b68eb03b081f034d8ca58dfa3c07106e36a396f7c573
|
|
BLAKE2b-256 checksum How to use checksums |
1deec42f4f69d3740f4e0835e73a90bd4c504a011e72ea8761dc5f1dece3c193
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.0 CPython/3.10.14
|
Security for pybindingcurve 1.2.3
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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.