Skip to main content

a focused Python package for molecular preparation, docking simulation, visualization, and analysis workflows

Project description

zendock

Open demo in Colab

zendock is a focused Python package for the molecular docking workflow sketched in notebooks/zendock_colab_demo.ipynb.

This package aims to provede the entire stack needed to perform molecular docking for scientific use, sacrificing performance and flexibility for 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
  • uv for development
  • pip works 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 remains 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.

Notes

  • The package is licensed under MIT.

Project details


Download files

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

Source Distribution

zendock-0.2.3.tar.gz (95.0 kB view details)

Uploaded Source

Built Distribution

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

zendock-0.2.3-py3-none-any.whl (22.4 kB view details)

Uploaded Python 3

File details

Details for the file zendock-0.2.3.tar.gz.

File metadata

  • Download URL: zendock-0.2.3.tar.gz
  • Upload date:
  • Size: 95.0 kB
  • Tags: Source
  • Uploaded using 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}

File hashes

Hashes for zendock-0.2.3.tar.gz
Algorithm Hash digest
SHA256 02ac629e270f63759a5efd77581f92c47659a1f8e0b9dbfe5e34efe5671ddc32
MD5 10b7a6082d612179d5e4243042f88eee
BLAKE2b-256 96de164a23b7292e67bf3b153578a552064a1776bd988b99b1423c40aa553876

See more details on using hashes here.

File details

Details for the file zendock-0.2.3-py3-none-any.whl.

File metadata

  • Download URL: zendock-0.2.3-py3-none-any.whl
  • Upload date:
  • Size: 22.4 kB
  • Tags: Python 3
  • Uploaded using 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}

File hashes

Hashes for zendock-0.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 f2ccb9d8160e068e0bf100afb5077e58de79e16ad6eca996a465116aeb916c9f
MD5 f71bb28718399d7183e8a86f0d5b8d2c
BLAKE2b-256 d90146de02ca7dce1b29cea090d30e337d365558a5c75fd917138a683a31da5b

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