Skip to main content

MolParse

GitHub Tag release lint

Code style: black

A python package for parsing, modifying, and analysis of molecular structure files.

Installation

Easiest way to install is from PyPI:

pip install xchem-molparse

Usage

Python Module

MolParse is primarily a python module which can be used interactively, or within (batch) scripts:

Use pydoc to see help on the molparse module, or its methods & classes. E.g. from a shell:

pydoc molparse

pydoc molparse.System

Binaries and command-line programs

moltree

In addition to the python module, an interactive command-line interface is available with the binary moltree. Pass a PDB or GRO file as follows:

moltree <FILE>

moltree

Use the mouse to interact with buttons and CTR-C to exit.

molxvg

Gromacs produces data files in XVG format by default, these can be parsed using the molparse.xvg.parseXVG method from within a python environment, alternatively a binary exists to access its basic functionality from the command line. Run the following to open an interactive plotly graph of an xvg:

molxvg [FILE.xvg] -s

moltree

Other options can be found by running molxvg --help.

Installation from source

Requirements

Installing ASE

  • pip install --upgrade --user ase
  • export PATH=$PATH:~/.local/bin to your .bash_profile
  • export PYTHONPATH=$PYTHONPATH:~/.local/lib/python3.X/site-packages to your .bash_profile Where X is your python version.

MPyTools

  • git clone https://github.com/mwinokan/MPyTools.git
  • Add export MPYTOOLS=/path/to/directory to your .bash_profile
  • Add export PYTHONPATH=$PYTHONPATH:$MPYTOOLS to your .bash_profile

MolParse

  • git clone https://github.com/xchem/MolParse.git
  • Add export MOLPARSE=/path/to/directory to your .bash_profile
  • Add export PYTHONPATH=$PYTHONPATH:$MOLPARSE to your .bash_profile

Metadata

Release files for xchem-molparse 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for xchem-molparse 1.0.0
File Size Uploaded
xchem_molparse-1.0.0.tar.gz 145.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for xchem-molparse 1.0.0
File Interpreter ABI Platform
xchem_molparse-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 321.3 kB

Release files / xchem_molparse-1.0.0.tar.gz

Download URL xchem_molparse-1.0.0.tar.gz
Size 145.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d692a4f4ae59789044693269449b7b81875fc62e23111c7c71666e0d29c32473
BLAKE2b-256 checksum
How to use checksums
ce4a0860f7ff079a7595ebcd38d27188b8718bddb22cec0cdb673e4dfb774098
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.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.

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 Mar 6, 2026.

Transparency log

Release files / xchem_molparse-1.0.0-py3-none-any.whl

Download URL xchem_molparse-1.0.0-py3-none-any.whl
Size 176.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d15bb40acd4d2330e3ce21b6925db35ccf7443a27a55ecd5f06384890cb2a48c
BLAKE2b-256 checksum
How to use checksums
76d27542e0c145337d8c494f2b4ebdaa0cba83592d20c3b525ca460163094af4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.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.

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 Mar 6, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page