ermak (Python)
Python bindings for ermak, a
Brownian-dynamics engine for ligand diffusion and dissociation kinetics in
crowded environments. The core integrates the overdamped Langevin equation with
the Ermak-McCammon propagator; particles are coarse-grained spheres in implicit
solvent, in reduced Lennard-Jones units (kB T = 1, sigma = 1, bare D0 = 1).
pip install ermak
import ermak
# Free diffusion recovers D0.
ermak.free_diffusion_deff(d0=1.0, dt=0.01, steps=200, replicas=4000)
# Crowders slow it down.
box = 8.0
crowders = ermak.cubic_lattice(box, 4) # 4^3 obstacles
ermak.crowded_diffusion_deff(
d0=1.0, dt=0.01, steps=200, replicas=2000,
box_l=box, crowders=crowders, sigma=1.0, eps=1.0,
)
# Residence time (1/k_off) climbs with the pocket barrier (Kramers).
ermak.mean_residence_time(barrier=4.0, r_b=2.0, d0=1.0, dt=1e-3,
max_steps=80_000, replicas=400)
# tauRAMD egress times rank the true residence times.
ermak.tauramd_egress_time(barrier=2.0, r_b=2.0, d0=1.0, dt=1e-3, accel=6.0,
reorient_steps=100, max_steps=200_000, replicas=400)
# Predict log k_off from descriptors with a random forest.
forest = ermak.Forest.fit(rows, log_koff, n_trees=200)
forest.predict_many(rows)
GPU
The Linux x86-64 wheel is GPU-accelerated through the CUDA driver API. It needs
no CUDA toolkit to install (the driver is loaded at runtime); gpu_available()
reports whether a usable device is present.
import ermak
if ermak.gpu_available():
box = 8.0
crowders = ermak.cubic_lattice(box, 5)
deff = ermak.crowded_diffusion_deff_gpu(
d0=1.0, dt=2e-4, steps=10_000, replicas=200_000,
box_l=box, crowders=crowders, sigma=1.0, eps=1.0,
precision="f32", # "f64" for the reference path
)
gpu_available() and crowded_diffusion_deff_gpu(...) exist on every wheel; on a
build or machine without GPU support the latter raises a clear RuntimeError, so
calling code can branch on gpu_available(). Dual-licensed under MIT or
Apache-2.0.
Metadata
Release files for ermak 0.3.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distributions (wheels)
| File | Reset | |||
|---|---|---|---|---|
| ermak-0.3.0-cp39-abi3-win_amd64.whl | CPython 3.9 | abi3 | Windows x86-64 | Details |
| ermak-0.3.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl | CPython 3.9 | abi3 | Linux glibc 2.17+ x86-64 | Details |
| ermak-0.3.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl | CPython 3.9 | abi3 | Linux glibc 2.17+ ARM64 | Details |
| ermak-0.3.0-cp39-abi3-macosx_11_0_arm64.whl | CPython 3.9 | abi3 | macOS 11.0+ ARM64 | Details |
| ermak-0.3.0-cp39-abi3-macosx_10_12_x86_64.whl | CPython 3.9 | abi3 | macOS 10.12+ x86-64 | Details |
Total release size: 1.7 MB
Release files / ermak-0.3.0-cp39-abi3-win_amd64.whl
| Download URL | ermak-0.3.0-cp39-abi3-win_amd64.whl |
|---|---|
| Size | 212.8 kB |
| Tags | CPython 3.9 Windows x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
13dd5d95793df6961252166679e7f1596cf93035b91a1e6dc7b601cf3804981a
|
|
BLAKE2b-256 checksum How to use checksums |
5368d1994811516e394aef65db2b4f1b070f0100ab1b1b8a1571afb9fe2aaeb6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 3, 2026.
Transparency logRelease files / ermak-0.3.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
| Download URL | ermak-0.3.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl |
|---|---|
| Size | 464.4 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ x86-64 abi3 |
|
SHA-256 checksum How to use checksums |
19270d8f8d80e8cec930bdd1b5f55d8a3722db48d19c712c4a94faf12d62a92a
|
|
BLAKE2b-256 checksum How to use checksums |
7d5bb2c38060fbf47631b244cd412659586351cbb8b631b5e46b4f39d344e845
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 3, 2026.
Transparency logRelease files / ermak-0.3.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
| Download URL | ermak-0.3.0-cp39-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl |
|---|---|
| Size | 373.5 kB |
| Tags | CPython 3.9 Linux glibc 2.17+ ARM64 abi3 |
|
SHA-256 checksum How to use checksums |
b92bdfe9606a98589d63bf33d09d93fee2c1a256b9e6d2f7cb6877bf7a472913
|
|
BLAKE2b-256 checksum How to use checksums |
966c965c40f4763f1af0f19e8afb601acb85dc06bddb6036eb6f3090631991a0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 3, 2026.
Transparency logRelease files / ermak-0.3.0-cp39-abi3-macosx_11_0_arm64.whl
| Download URL | ermak-0.3.0-cp39-abi3-macosx_11_0_arm64.whl |
|---|---|
| Size | 330.7 kB |
| Tags | CPython 3.9 abi3 macOS 11.0+ ARM64 |
|
SHA-256 checksum How to use checksums |
8c0b20219388dbe2faa099a36a0b271c817f61ac9c79579cb11a04357173e133
|
|
BLAKE2b-256 checksum How to use checksums |
d73bcfc66a0d625c5819f556ed595acef211783d7e55c545722983ab7e666fdc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 3, 2026.
Transparency logRelease files / ermak-0.3.0-cp39-abi3-macosx_10_12_x86_64.whl
| Download URL | ermak-0.3.0-cp39-abi3-macosx_10_12_x86_64.whl |
|---|---|
| Size | 329.2 kB |
| Tags | CPython 3.9 abi3 macOS 10.12+ x86-64 |
|
SHA-256 checksum How to use checksums |
d1546a2d908106843826a375e13aacd054dc469ce6e392944fe756b7e701b8dd
|
|
BLAKE2b-256 checksum How to use checksums |
9d3f4603d0aaad5137fa5559ccde4f399975233ec23bcfd3dafd6d7738bdbbd2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
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 Jun 3, 2026.
Transparency log