vdw-surfgen
vdw-surfgen is a Python CLI tool to generate points on the van der Waals (VDW) surface of a molecule using its XYZ geometry file.
Surface points are generated at a scaled VDW radius and can be used for visualization, machine learning, or molecular modeling.
It is inspired by Robert T. McGibbon's pyvdwsurface.
🔧 Features
- 🧬 Read atomic coordinates from
.xyzfiles - ⚛️ Compute VDW surface points using Fibonacci sphere sampling
- 🔬 Set surface density (points per Ų)
- 💾 Save results as:
.xyzpseudo-atom file (always saved).txtcoordinate file (optional).png3D scatter plot (optional)
- 🎨 Beautiful colored terminal output with progress bars
- ⚡ Command-line interface (CLI) with full control
🚀 Installation
pip install vdw-surfgen
🔨Usage
# Basic usage (XYZ file always saved)
vsg molecule.xyz
# With additional formats and custom parameters
vsg molecule.xyz --scale 1.2 --density 2.0 --txt --img
Options:
--scale: Scale factor for VDW radii (default: 1.0)--density: Point density per Ų (default: 1.0)--txt: Save as TXT coordinate file--img: Save 3D visualization as PNG
Metadata
Release files for vdw-surfgen 0.5.7
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 |
|---|---|---|---|---|
| vdw_surfgen-0.5.7.tar.gz | 7.4 kB | With provenance | Details for vdw_surfgen-0.5.7.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| vdw_surfgen-0.5.7-py3-none-any.whl | Python 3 | none | any | Details for vdw_surfgen-0.5.7-py3-none-any.whl |
Total release size: 15.0 kB
Release files / vdw_surfgen-0.5.7.tar.gz
| Download URL | vdw_surfgen-0.5.7.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2ec3f000bbbf604a28c04477e25315885b6cbd72f8f89f73a0ccb182bb43ed8f
|
|
BLAKE2b-256 checksum How to use checksums |
a592a27853bf6cccac111597bcb430c5686c4c42e284489ad0b9fc89bc036543
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 9, 2026.
Transparency logRelease files / vdw_surfgen-0.5.7-py3-none-any.whl
| Download URL | vdw_surfgen-0.5.7-py3-none-any.whl |
|---|---|
| Size | 7.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
675b78b2db515f19dbb90b21fdd0f8e47f3cd1deaa42c858af6299056e2ee54a
|
|
BLAKE2b-256 checksum How to use checksums |
cba6bbc8f7be943e240f40cca44e299e0f973605b385d1f0da756fafd90ad781
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
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 Nov 9, 2026.
Transparency logSecurity for vdw-surfgen 0.5.7
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.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for vdw_surfgen-0.5.7.tar.gz
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 Nov 9, 2026.
Transparency logA 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.