zendock
zendock is a focused Python package for the molecular docking workflow sketched in notebooks/zendock_colab_demo.ipynb.
This package provides the stack needed to perform molecular docking for scientific use, prioritizing access and ease of use.
The base package keeps imports lightweight. Install extras for ligand/receptor preparation, docking, and visualization workflows.
Demo
Try the interactive Google Colab notebook:
Open the Zendock demo in Colab
Philosophy
- Lightweight import by default, optional extras for full workflows
- Notebook prototype, package implementation
uvfor developmentpipworks for end users
Install
Users
Install from PyPI with regular pip:
pip install zendock
Install the complete workflow stack with:
pip install "zendock[all]"
Targeted extras are also available:
pip install "zendock[prep]" # ligand/receptor preparation
pip install "zendock[dock]" # Vina docking
pip install "zendock[viz]" # 3D/interaction visualization
Development with uv
Create an environment and install the package in editable mode:
uv venv
source .venv/bin/activate
uv pip install -e ".[all]"
Install developer tools too:
uv pip install -e ".[dev]"
Development Workflow
Typical loop:
uv venv
source .venv/bin/activate
uv pip install -e ".[all,dev]"
pytest
python -m build
Project Layout
src/zendock/
__init__.py
docking.py
exceptions.py
fetching.py
ligand.py
models.py
receptor.py
result_store.py
results.py
tools.py
utils.py
workspace.py
tests/
Docking.ipynb
pyproject.toml
Current Public API
from zendock import DockingRunner, Ligand, OutputLayout, Receptor
DockingRunner is the notebook-friendly facade. New code can pass an
OutputLayout to centralize output directories and use the typed result objects
cached on runner.last_result after docking.
After run_docking(), cached results can be inspected as a Polars table:
results = runner.display_docking_results(ligand_name="ligand", n_poses=5)
# Prints the pose table plus mean lRMSD and mean uRMSD for those five poses.
rmsd_means = runner.get_docking_rmsd_means(ligand_name="ligand", n_poses=5)
# One-row Polars table: mean lRMSD, mean uRMSD
Interaction outputs are generated from saved docking results. Export methods return paths, while display helpers render the generated files in notebooks (or print a fallback in non-notebook environments):
runner.display_2d_interaction_map(ligand_name="ligand")
runner.display_3d_interaction_map(ligand_name="ligand")
runner.display_interaction_table(ligand_name="ligand")
The equivalent export methods are export_2d_interaction_diagram,
export_3d_interaction_diagram, and export_interaction_table.
Notes
- Polars is used for tabular docking-result display.
- The package is licensed under MIT.
Metadata
Release files for zendock 0.2.5
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 |
|---|---|---|---|---|
| zendock-0.2.5.tar.gz | 105.0 kB | Without provenance | Details for zendock-0.2.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zendock-0.2.5-py3-none-any.whl | Python 3 | none | any | Details for zendock-0.2.5-py3-none-any.whl |
Total release size: 127.8 kB
Release files / zendock-0.2.5.tar.gz
| Download URL | zendock-0.2.5.tar.gz |
|---|---|
| Size | 105.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e0d2fc1e3617e710f0af96730b9bba35ebbfcfe565bef1cf35bc5aafb27ad470
|
|
BLAKE2b-256 checksum How to use checksums |
4c7705814194f96d97ad58d200c458fd3721ecee896b2de143c66fda0bcda20c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / zendock-0.2.5-py3-none-any.whl
| Download URL | zendock-0.2.5-py3-none-any.whl |
|---|---|
| Size | 22.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4f5c78647c10916eb7860fbcb547bbbac0636ab4bac0fbf92d946519a0ba596c
|
|
BLAKE2b-256 checksum How to use checksums |
6c2051bf2f9a4ca8181e3ede4062a1c1607f1cfd2f1ca3cefc64caf718ad0a63
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Security for zendock 0.2.5
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.