Skip to main content

Lightweight coordinate-only trajectory reader based on code from [GROMACS](http://www.gromacs.org/), [MDAnalysis](http://www.mdanalysis.org/) and [VMD](http://www.ks.uiuc.edu/Research/vmd/).

Used for coordinate retrieval in [MDSrv](https://github.com/arose/mdsrv) and [nglview](https://github.com/arose/nglview).

Should work with Python 2 and 3. If you experience problems, please file an [issue](https://github.com/arose/simpletraj/issues).

Installation

From PyPI:

pip install simpletraj

netCDF4

For reading .netcdf trajectory files the netCDF4 package is needed. As installing it can prove difficult, it is not a required package and must be installed separately.

If you use conda as your Python package manager:

conda install netcdf4

To install the NetCDF libraries and its Python package on debian/ubuntu:

sudo apt-get install libhdf5-serial-dev libnetcdf-dev pip install netCDF4

In case you get “ValueError: did not find HDF5 headers” try:

sudo su find / -name “libhdf5*.so*” # use what the above ‘find’ suggests to set ‘HDF5_DIR’ export HDF5_DIR=/usr/lib/i386-linux-gnu/hdf5/serial/ pip install netCDF4

Changelog

Version 0.4 and 0.5

  • FIX: Python 3 compatibility (iter/iteritems)

Version 0.3

  • FIX: DCD Python 2 compatibility

Version 0.2

  • ADD: package ready for PyPI

  • CODE: Python 3 compatibility

  • CODE: handle errors during offsets file reading/writing

Version 0.1

initial version (no release)

License

Generally GPL2, see the LICENSE file for details.

Metadata

Release files for simpletraj 0.5

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

Source distribution (sdist)

Source distribution for simpletraj 0.5
File Size Uploaded Provenance Actions
simpletraj-0.5.tar.gz 87.7 kB Without provenance Details for simpletraj-0.5.tar.gz

Release files / simpletraj-0.5.tar.gz

Download URL simpletraj-0.5.tar.gz
Size 87.7 kB
Tags Source
SHA-256 checksum
How to use checksums
860ccba82e7a6085ef1cbff74eb2db53df65fd58edabae3c45b8c45a219b8a3b
BLAKE2b-256 checksum
How to use checksums
eeb7881e0447e0efd8cf5c9fb7b6afa949f1f1bd06308e67497562a097e71ca8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for simpletraj 0.5

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.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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