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

!!!!!!!!!!!!!!!!!!!!!! DEPRECATED !!!!!!!!!!!!!!!!!!!!!!!!
This projected has been renamed to gmxtop.
Please use pip install gmxtop instead.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

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.5.tar.gz (234.4 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.5-py3-none-any.whl (304.2 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for gmx_top4py-0.1.5.tar.gz
Algorithm Hash digest
SHA256 f9cd033738735ded752617761e9722f9e91e0eada8593cd23249e15d4d2c144e
MD5 b0b8fb319dba16fd6509fb6571c0b5e3
BLAKE2b-256 35284d9d212659c39f71a055db34b2d3eb692a2dfe94d926dfbfbae925b6f987

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for gmx_top4py-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 b2d9b0525c7dc3fcd04b9949b648a71d615b241c56413310530e3a5efb2450d0
MD5 4a2e70b096ba1809bb12b3d2bc92f55e
BLAKE2b-256 48f888b3b9ca2d25f08ab689b2e01d68b76c98717ba39ae934247fa7ecf12d91

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