{"id":18524281,"url":"https://github.com/mdanalysis/pytng","last_synced_at":"2025-08-24T09:40:48.271Z","repository":{"id":21326574,"uuid":"92180386","full_name":"MDAnalysis/pytng","owner":"MDAnalysis","description":"Python bindings for TNG file format","archived":false,"fork":false,"pushed_at":"2024-11-11T09:13:17.000Z","size":18269,"stargazers_count":13,"open_issues_count":11,"forks_count":5,"subscribers_count":8,"default_branch":"master","last_synced_at":"2024-12-14T09:21:52.597Z","etag":null,"topics":["file-format","gromacs","molecular-dynamics-simulation","trajectory"],"latest_commit_sha":null,"homepage":"http://mdanalysis.org/pytng","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MDAnalysis.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-05-23T14:07:41.000Z","updated_at":"2024-09-04T00:05:42.000Z","dependencies_parsed_at":"2023-10-15T00:52:40.508Z","dependency_job_id":"10f4f0c3-035b-4ea1-92fb-b2ade9e5749d","html_url":"https://github.com/MDAnalysis/pytng","commit_stats":{"total_commits":380,"total_committers":9,"mean_commits":42.22222222222222,"dds":"0.24736842105263157","last_synced_commit":"749abe9b5b9f289437615780ce56fe805c74775f"},"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MDAnalysis%2Fpytng","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MDAnalysis%2Fpytng/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MDAnalysis%2Fpytng/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MDAnalysis%2Fpytng/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MDAnalysis","download_url":"https://codeload.github.com/MDAnalysis/pytng/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":230547678,"owners_count":18243227,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["file-format","gromacs","molecular-dynamics-simulation","trajectory"],"created_at":"2024-11-06T17:40:21.722Z","updated_at":"2024-12-20T07:07:11.759Z","avatar_url":"https://github.com/MDAnalysis.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"===========================================\npytng - A python library to read TNG files!\n===========================================\n\n.. image:: https://github.com/MDAnalysis/pytng/workflows/build/badge.svg\n  :target: https://github.com/MDAnalysis/pytng/actions\n.. image:: https://github.com/MDAnalysis/pytng/workflows/docs/badge.svg\n  :target: https://github.com/MDAnalysis/pytng/actions\n.. image:: https://badge.fury.io/py/pytng.svg\n  :target: https://badge.fury.io/py/pytng\n.. image:: https://codecov.io/gh/MDAnalysis/pytng/branch/master/graph/badge.svg\n  :target: https://codecov.io/gh/MDAnalysis/pytng\n.. image:: https://zenodo.org/badge/92180386.svg\n   :target: https://zenodo.org/badge/latestdoi/92180386\n\n\nThis package provides the ``TNGFileIterator`` object to allow simple Pythonic\naccess to data contained within TNG files.\n\n.. code-block:: python\n\n  import pytng\n  import numpy as np\n\n  with pytng.TNGFileIterator('traj.tng', 'r') as tng:\n\n    positions = np.empty(shape=(tng.n_atoms,3), dtype=np.float32)\n\n    for ts in tng:\n      time = ts.get_time()\n      positions = ts.get_positions(positions)\n\nThis package contains Python bindings to libtng_ for TNG file format[1_] [2_].\nThis is used by molecular simulation programs such as Gromacs_ for storing the\ntopology and results from molecular dynamics simulations.\n\nWarning\n=======\n\nThis package is under active development. The API is liable to change\nbetween release versions.\n\n.. _libtng: https://gitlab.com/gromacs/tng\n.. _1: http://link.springer.com/article/10.1007%2Fs00894-010-0948-5\n.. _2: http://onlinelibrary.wiley.com/doi/10.1002/jcc.23495/abstract\n.. _Gromacs: http://manual.gromacs.org/\n\n\nInstallation\n============\n\nTo install using pip, simply run\n\n.. code-block:: sh\n\n  pip install pytng\n\nTo install the latest development version from source, run\n\n.. code-block:: sh\n\n  git clone git@github.com:MDAnalysis/pytng.git\n  cd pytng\n  python setup.py install\n\n\nGetting help\n============\n\nFor help using this library, please drop by the `GitHub issue tracker`_.\n\n.. _GitHub issue tracker: https://github.com/MDAnalysis/pytng/issues\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdanalysis%2Fpytng","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmdanalysis%2Fpytng","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmdanalysis%2Fpytng/lists"}