Skip to main content
https://travis-ci.org/andersle/pytrr.svg?branch=master https://coveralls.io/repos/github/andersle/pytrr/badge.svg?branch=master

pytrr

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.

Example

from pytrr import GroTrrReader

with GroTrrReader('traj.trr') as trrfile:
    for frame in trrfile:
        print(frame['step'])
        frame_data = trrfile.get_data()
        print(frame_data['x'][0])

Installation

pytrr can be installed via pip:

pip install pytrr

References

Metadata

Release files for pytrr 0.5.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 pytrr 0.5.0
File Size Uploaded Provenance
pytrr-0.5.0.tar.gz 18.3 kB Without provenance Details

Release files / pytrr-0.5.0.tar.gz

Download URL pytrr-0.5.0.tar.gz
Size 18.3 kB
Tags Source
SHA-256 checksum
How to use checksums
4824f21ea779342553a1bd9b0e8e8c7c1af971f937cfb02776ea675968057296
BLAKE2b-256 checksum
How to use checksums
817e440748492a4f68f3a9780056d5eb9458c5ef1e76befd94550c7ad22626cf
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.0 CPython/3.9.12

Security for pytrr 0.5.0

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.

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