Skip to main content

A Python library to parse GROMACS topology files and alter associated force fields parameters.

Project description

gmx-top4py

Code style: black

GROMACS topology files for python

Description

The gmx-top4py project provides a python interface to

  • read and write toplogy and force field information from GROMACS-type top-files
  • alter force field parameters

The gmx-top4py project derives this functionality from the kimmdy project, originally developed by the graeter-group, and includes only minor modifications to parts of the original code to operate independently. The kimmdy project is licensed under the GNU General Public License v3.0 and, as a derivative work, the gmx-top4py project is distributed under the same license. See LICENSE for details.

Tutorials

The following tutorials are avaiable as Google Colab notebooks and hence do not require a local installation:

Installation

From PyPI

pip install gmx-top4py

From source via uv

Clone repository and move into

git clone git@github.com:graeter-group/gmx-top4py.git
cd gmx-top4py

Install repository

uv sync

Activate virtual environment

source .venv/bin/activate

Verify install by running the tests

pytest tests

From source via conda and pip

Clone repository and move into

git clone git@github.com:graeter-group/gmx-top4py.git
cd gmx-top4py

Install repository into conda environment

conda create -n gmx-top4py python -y
conda activate gmx-top4py
pip install -e '.[dev]' # install with dev dependencies

Verify install by running the tests

pytest tests

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

gmx_top4py-0.1.3.tar.gz (233.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

gmx_top4py-0.1.3-py3-none-any.whl (303.4 kB view details)

Uploaded Python 3

File details

Details for the file gmx_top4py-0.1.3.tar.gz.

File metadata

  • Download URL: gmx_top4py-0.1.3.tar.gz
  • Upload date:
  • Size: 233.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for gmx_top4py-0.1.3.tar.gz
Algorithm Hash digest
SHA256 6f199514224bd034a9a8be7d3c1b04f75d87b7ddb5c677331cf90a9213b5f098
MD5 e34a9080a41e79f9ecc7832e9f55fe21
BLAKE2b-256 07ef755a6597f5e55bd0cced29f1fa86ece958f1d0d99200dcf2d4f90a1c9d14

See more details on using hashes here.

File details

Details for the file gmx_top4py-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: gmx_top4py-0.1.3-py3-none-any.whl
  • Upload date:
  • Size: 303.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.13

File hashes

Hashes for gmx_top4py-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 726c85effb49a0ffd3c382d88b934ac68ebf9913b0b343fb5d8b0239f6e64304
MD5 57a04994f138dc929640bc0015614acf
BLAKE2b-256 3fba06d8a89a88497435f5d4304783e134b1f79f4f167609d39059df76c6b618

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page