Skip to main content

A package for reading GROMACS .trr files

Project description


pytrr is a Python package for reading .trr [1] files from GROMACS [2].

pytrr is intended as a lightweight, pure Python, library for reading .trr trajectories and it gives access to positions, velocities, etc. as numpy arrays.


from pytrr import GroTrrReader

with GroTrrReader('traj.trr') as trrfile:
    for frame in trrfile:
        frame_data = trrfile.get_data()


pytrr can be installed via pip:

pip install pytrr

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

pytrr-0.5.0.tar.gz (18.3 kB view hashes)

Uploaded source

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page