Skip to main content

Fast molecular dynamics trajectory analysis powered by Zig

Project description

pyztraj

Fast molecular dynamics trajectory analysis powered by Zig.

Installation

From PyPI (recommended)

pip install pyztraj
# or
uv pip install pyztraj

Pre-built wheels are available for Linux (x86_64/aarch64), macOS (x86_64/ARM64), and Windows (amd64) with Python 3.11–3.13.

From source

Requires Zig 0.15.2+.

git clone https://github.com/N283T/ztraj.git
cd ztraj/python
pip install .

Usage

import pyztraj

# Load a PDB structure
struct = pyztraj.load_pdb("structure.pdb")

# Compute pairwise distances
distances = pyztraj.compute_distances(struct.coords, pairs)

# Stream XTC trajectory frames
with pyztraj.open_xtc("trajectory.xtc", struct.n_atoms) as reader:
    for frame in reader:
        rg = pyztraj.compute_rg(frame.coords, struct.masses)

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

pyztraj-0.6.0.tar.gz (168.8 kB view details)

Uploaded Source

Built Distributions

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

pyztraj-0.6.0-cp313-cp313-win_amd64.whl (834.8 kB view details)

Uploaded CPython 3.13Windows x86-64

pyztraj-0.6.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

pyztraj-0.6.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

pyztraj-0.6.0-cp313-cp313-macosx_11_0_x86_64.whl (651.9 kB view details)

Uploaded CPython 3.13macOS 11.0+ x86-64

pyztraj-0.6.0-cp313-cp313-macosx_11_0_arm64.whl (584.5 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pyztraj-0.6.0-cp312-cp312-win_amd64.whl (834.8 kB view details)

Uploaded CPython 3.12Windows x86-64

pyztraj-0.6.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

pyztraj-0.6.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

pyztraj-0.6.0-cp312-cp312-macosx_11_0_x86_64.whl (651.9 kB view details)

Uploaded CPython 3.12macOS 11.0+ x86-64

pyztraj-0.6.0-cp312-cp312-macosx_11_0_arm64.whl (584.5 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pyztraj-0.6.0-cp311-cp311-win_amd64.whl (834.8 kB view details)

Uploaded CPython 3.11Windows x86-64

pyztraj-0.6.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.4 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ x86-64manylinux: glibc 2.28+ x86-64

pyztraj-0.6.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (2.1 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.27+ ARM64manylinux: glibc 2.28+ ARM64

pyztraj-0.6.0-cp311-cp311-macosx_11_0_x86_64.whl (651.9 kB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

pyztraj-0.6.0-cp311-cp311-macosx_11_0_arm64.whl (584.5 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

Details for the file pyztraj-0.6.0.tar.gz.

File metadata

  • Download URL: pyztraj-0.6.0.tar.gz
  • Upload date:
  • Size: 168.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyztraj-0.6.0.tar.gz
Algorithm Hash digest
SHA256 ab5000fc129bc23089c9e6db5223d199bd821c81368567f415f2c54e7aae0bb3
MD5 3cbb6ab62a69914c3b22cff09b888392
BLAKE2b-256 86558f55a167059791abf0d18b9f0f401c415fbfa8f5a0a7204921b659716266

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.0.tar.gz:

Publisher: publish.yml on N283T/ztraj

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyztraj-0.6.0-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: pyztraj-0.6.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 834.8 kB
  • Tags: CPython 3.13, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyztraj-0.6.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 1dbb5b9e4ef5ebb8b39c49fe97fdf286d2c3116848a31c0fdbf470e8d1d29a53
MD5 8452a71ed400783a129ca7e79f06d48e
BLAKE2b-256 5b2890007fce14ecba688b2da9ed5f3b58c4196a55c1f41493d7eeeb9dcbf110

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.0-cp313-cp313-win_amd64.whl:

Publisher: publish.yml on N283T/ztraj

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyztraj-0.6.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyztraj-0.6.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 964f76e7b32cea3e1c3bf106f4dbc784a5e5a4411c959d8f74d664c38d84c292
MD5 bbb876d7409599415b520e6dc704f244
BLAKE2b-256 40219bf7f138f305ca22446c686993a4c1397ae6990c4da4b20dcc1eaf4eb6f0

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on N283T/ztraj

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyztraj-0.6.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pyztraj-0.6.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 9e8de0772d3576d5984d0605efab8a135a84c7dd599bd56af0ddffaccccda063
MD5 f2913db51f0c49ba6bcf118341591fad
BLAKE2b-256 38ca10521736a8b2370fba93c9992496f7efce9a68a6c1c1d4a0058fd1d075df

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:

Publisher: publish.yml on N283T/ztraj

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyztraj-0.6.0-cp313-cp313-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pyztraj-0.6.0-cp313-cp313-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 5591d3adb0d7b009e2ecb00c66ffa9eafb156ab873cc87eacec6183a1a364e13
MD5 a2c4f89a6d73899adbbb63075ca02fe4
BLAKE2b-256 8fbf2a9b761b37f4363866a701f420e41826ebe9c52c11afe8225d025dabb239

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.0-cp313-cp313-macosx_11_0_x86_64.whl:

Publisher: publish.yml on N283T/ztraj

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyztraj-0.6.0-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyztraj-0.6.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 aeca8ae9dc1dd59ae2f165ae2268d119dbd5f6679f3ca3d281f7662ae7979538
MD5 6a8102e97bf54953891815a8a95878c2
BLAKE2b-256 23eae891c8133aad441dd1f3816f10b34a3f7ff0b3b0ac744e8d6c93f7b06ccc

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.0-cp313-cp313-macosx_11_0_arm64.whl:

Publisher: publish.yml on N283T/ztraj

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyztraj-0.6.0-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: pyztraj-0.6.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 834.8 kB
  • Tags: CPython 3.12, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyztraj-0.6.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 40fb2f9fbd2dfc349123fde5b0bc9def9ccc73188b897b381e5354d4db75590b
MD5 bc6396182ff230f002324005a5e5aea3
BLAKE2b-256 5452599dff8d1f0d1db9a313fe1f9ae0a67fc012bb0d93e6f153932dd30c3fe8

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.0-cp312-cp312-win_amd64.whl:

Publisher: publish.yml on N283T/ztraj

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyztraj-0.6.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyztraj-0.6.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 eec9bdc504fad67e67a527d4a036b88c99da508acb5668b05a89fa52768db497
MD5 ede5e47b9033872e7352974f9a71d906
BLAKE2b-256 4c5162b1bf5ebff1bda1a689f8dad48959658d96bcc3ddbbea8f0b986d51cb0a

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on N283T/ztraj

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyztraj-0.6.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pyztraj-0.6.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 74a77b03c699adb31e70225a44964977513128401076a683ef8116823851c09d
MD5 f1b6e33eb2e830e4da9142aeef88b139
BLAKE2b-256 0367e825bfe5d0580481717869980f68697706fb5a8c8e11f10de509c03d52d4

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:

Publisher: publish.yml on N283T/ztraj

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyztraj-0.6.0-cp312-cp312-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pyztraj-0.6.0-cp312-cp312-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 f53aad1a9d55efcdc0d017f233627797ae9427d26d7edcfee9351a6a3a5129c1
MD5 f166fb9dbbaff1e4861747f2a7cbb391
BLAKE2b-256 35033fe876bc659e534d7735bae265b4a210fecd41fb39cb3431d596dd4a4f86

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.0-cp312-cp312-macosx_11_0_x86_64.whl:

Publisher: publish.yml on N283T/ztraj

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyztraj-0.6.0-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyztraj-0.6.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 864c877a3c401ce0bba2730caf31c0c55fb65eb4f7a7d37052a3d835fc10aec8
MD5 107c833c63c7feef8c8ce14a5bbaf90f
BLAKE2b-256 b02ede22ba811a9590f368529a5252e814fe690913298277441eae8f393761fc

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.0-cp312-cp312-macosx_11_0_arm64.whl:

Publisher: publish.yml on N283T/ztraj

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyztraj-0.6.0-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: pyztraj-0.6.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 834.8 kB
  • Tags: CPython 3.11, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for pyztraj-0.6.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 e0c0571425303d3578a3e6ce1b577ab9de3f430b1759c07dee05182df7debb5c
MD5 773d8d16b17d110d5033bfd7f8900acd
BLAKE2b-256 68db7fdfa3a7d4b16a92b024307be6f086140340a2d68510c3a77812725c49de

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.0-cp311-cp311-win_amd64.whl:

Publisher: publish.yml on N283T/ztraj

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyztraj-0.6.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyztraj-0.6.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f102d9f0e068c8d65615feb20ee0910490a8028bb0f74ccd7ecfe3a9ccfd2234
MD5 d3668d13ef36633d4775ade7035469ab
BLAKE2b-256 b2a88f37300893130e28ca3bc0aa9e9d813a2109cc063a520ad62f7a83b9a061

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl:

Publisher: publish.yml on N283T/ztraj

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyztraj-0.6.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pyztraj-0.6.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4b37fd95060a7c35fca4381887fa9e773ccea4dcc5b99c7bf3fcb825958f1d88
MD5 fe52a71895e1420a2ade3dab02925557
BLAKE2b-256 469322a1b5ac40d46ef8d463c24895f7c030cdc8b341256748586d171e6572b5

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl:

Publisher: publish.yml on N283T/ztraj

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyztraj-0.6.0-cp311-cp311-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pyztraj-0.6.0-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 80f521700e36451329d3c86161646b6fc18b27d2aea3e54f9ed6fcba566e8709
MD5 d619f08354c5ba8bf0048a4adb6c50f2
BLAKE2b-256 6333fd38baeda0c70ccd15fcf427f47818483b78c09a6c6ef69cb7019d072f46

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.0-cp311-cp311-macosx_11_0_x86_64.whl:

Publisher: publish.yml on N283T/ztraj

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyztraj-0.6.0-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyztraj-0.6.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 95ed4d03f4947a57d404093b9a0880a3d28b2f75063980ce89cd97428ced775d
MD5 b967cfd5c0cd644b35982c31e270a7b5
BLAKE2b-256 232d18dde8096c172963b5ecb6718ed50e0f505a0b93d54baaab72b9fec6b4de

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.0-cp311-cp311-macosx_11_0_arm64.whl:

Publisher: publish.yml on N283T/ztraj

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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