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.2.tar.gz (186.7 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.2-cp313-cp313-win_amd64.whl (877.8 kB view details)

Uploaded CPython 3.13Windows x86-64

pyztraj-0.6.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.6 MB view details)

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

pyztraj-0.6.2-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (2.3 MB view details)

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

pyztraj-0.6.2-cp313-cp313-macosx_11_0_x86_64.whl (695.0 kB view details)

Uploaded CPython 3.13macOS 11.0+ x86-64

pyztraj-0.6.2-cp313-cp313-macosx_11_0_arm64.whl (622.8 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pyztraj-0.6.2-cp312-cp312-win_amd64.whl (877.8 kB view details)

Uploaded CPython 3.12Windows x86-64

pyztraj-0.6.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.6 MB view details)

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

pyztraj-0.6.2-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (2.3 MB view details)

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

pyztraj-0.6.2-cp312-cp312-macosx_11_0_x86_64.whl (695.0 kB view details)

Uploaded CPython 3.12macOS 11.0+ x86-64

pyztraj-0.6.2-cp312-cp312-macosx_11_0_arm64.whl (622.8 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pyztraj-0.6.2-cp311-cp311-win_amd64.whl (877.8 kB view details)

Uploaded CPython 3.11Windows x86-64

pyztraj-0.6.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.6 MB view details)

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

pyztraj-0.6.2-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (2.3 MB view details)

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

pyztraj-0.6.2-cp311-cp311-macosx_11_0_x86_64.whl (695.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

pyztraj-0.6.2-cp311-cp311-macosx_11_0_arm64.whl (622.8 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: pyztraj-0.6.2.tar.gz
  • Upload date:
  • Size: 186.7 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.2.tar.gz
Algorithm Hash digest
SHA256 485aa026b709416ea55653ace5cd191611b1faa0e5ad395bb7f3f13f65320370
MD5 c5a8204fa41dae4aae31376a1be6bf84
BLAKE2b-256 12767edda4b1da4e6d2a8ef13eb68ef044d8cd50ac0fe09d117c0ed81399c003

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.2.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.2-cp313-cp313-win_amd64.whl.

File metadata

  • Download URL: pyztraj-0.6.2-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 877.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.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 e8634619aa9ee75ffdbcd05c97643dfab7388436349e61eea050091d3459e06b
MD5 62c2fc55876913e2dc32b0f7e85eb217
BLAKE2b-256 9b54b66d84ac41abd3ba3e7ceaa877bd32e210cc97b55c078234a5fd5d4b6cff

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.2-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.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyztraj-0.6.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 d7833278b42b367fb7e12613f5a0818db28e2e82e5f28a8f12e8decd87e3d1aa
MD5 f727937f6c36699b3c5c0251aef2d68b
BLAKE2b-256 c3c4cd81926c71bbe3ec56d545e736f9d391c2a7738ea1b4e9ad866aca52cc8d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.2-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.2-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pyztraj-0.6.2-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 b88bc09a9e1317ce354a12d1cb82bab10026cdb186ef6917c999cd165bd7bd44
MD5 7b5c617d6643256bb136b8ebe15bfd6d
BLAKE2b-256 e7b816f45e0f1b4d8e775cde91e66da99fada7948e200d073684a36f88dfffeb

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.2-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.2-cp313-cp313-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pyztraj-0.6.2-cp313-cp313-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 9b6d927f3370fb3ae13226b39c30044cb88c5cc58de63de774170a8a91ef097d
MD5 ca6c31b430c60e44d26a8a9cf2fcaf36
BLAKE2b-256 d29690f6abe7a12d5ac1c0985692b52ffb9c18294696b49ab5f10ff079df7117

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.2-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.2-cp313-cp313-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyztraj-0.6.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ceb2236e7de653b64a24bab1250369b5448b38fcdbbaf8b9e192795db23beb24
MD5 243fc01de0c43e0bf1570a28fbb947f5
BLAKE2b-256 f39b768c816b2765c77cc1c10f9d7f905745016566d1f0064f2a60c98485fe94

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.2-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.2-cp312-cp312-win_amd64.whl.

File metadata

  • Download URL: pyztraj-0.6.2-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 877.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.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b9609f0b39c1e0fad6eb481c251127cbeccc9349109f876b305c9b81e16735d8
MD5 87972bd29889ef73e53c2a4a20014a7e
BLAKE2b-256 537b03e693e8ae8c71921b2aab2438200100cc5c4621a07ffbdea0e8a18b2013

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.2-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.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyztraj-0.6.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 7c7e903c509c9eb8e54ff302f0a8d6536e9db714cb8152006c89091ec0316f01
MD5 5e728af14b218b75174236506190e8ff
BLAKE2b-256 ca97f6c3f8ef7f494b038c27ea1b50e7ad3920456216efa386791ac473b0ff8f

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.2-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.2-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pyztraj-0.6.2-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 97edd50fba9cbadc4086335ad6b7164fcef050696472f00493538d1359225b28
MD5 9bb41315356ef3ec55fc9c60e0eb88f0
BLAKE2b-256 85f8a99d0d9890a4ffbf4b10a99c00c0213bf457fd0c252784b4b21af6508dc7

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.2-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.2-cp312-cp312-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pyztraj-0.6.2-cp312-cp312-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 00765508622973b71c2514ece4c02a4f25ae47b0f297e81f0960e08b28ace624
MD5 794e8a4ef805bd1ffd5ae26dcd24c70b
BLAKE2b-256 d0285d7331477fe184ac71306cd2ce4c391cd6b5f8e16955533adbf2f470b7de

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.2-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.2-cp312-cp312-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyztraj-0.6.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 6dc8b6f9d870787d1228e30e6aaa74b2c310df253e54347d059c974c5a06afe6
MD5 d3fb4559608abc29f76b8d5d6557096a
BLAKE2b-256 62ca321c6b0f02333a9a8523b1d1bfce09c31fee4bf232bab4ab6a6996f9c23e

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.2-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.2-cp311-cp311-win_amd64.whl.

File metadata

  • Download URL: pyztraj-0.6.2-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 877.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.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1e84f2823847e8517521625992b401e9b91f36de82b1f139ffc2f9c9adfa4d1f
MD5 6592c636f33aae6df33d7a4a537ce987
BLAKE2b-256 5a0b47e455924b24e8780549ac0cc09de4ecab6cc95f602891e1aabd5c9f0a56

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.2-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.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl.

File metadata

File hashes

Hashes for pyztraj-0.6.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 1206db8f75f86f8a3272f864830bb36949e33d5af94fe8d3d6b5c484d4584111
MD5 78184ed420efb5cf504d423a98a7f2b8
BLAKE2b-256 d61bb04927746b31c9f8c3631b898db5c17fe6055e6471ca2fe4097a2fccf99d

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.2-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.2-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl.

File metadata

File hashes

Hashes for pyztraj-0.6.2-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 d4dcdc7255b0ece8ee8c9a65f7f26e180a55e2c816ac27259b1e8ca52de63661
MD5 5eb858fce40ece66dcd9c94070442294
BLAKE2b-256 2dfd05df2b2823f8e4e0038656c1b22f3ca86599c7b6f8f6c8ce9c779884120c

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.2-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.2-cp311-cp311-macosx_11_0_x86_64.whl.

File metadata

File hashes

Hashes for pyztraj-0.6.2-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 84820147fdf2d023cefd26fc5014444dc39c85493c560ac3eec8c1efbe5ddf7b
MD5 58e4283ac95865a01d07788effadd0fe
BLAKE2b-256 012475c66eef44aa55fe6c530279db8ed6062bc437b6c8a30cb3eab0884c4a70

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.2-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.2-cp311-cp311-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for pyztraj-0.6.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 317b18d319f7f7380391cbdceb0781ccd65d6b09a761a42977c5fb6c4431f3c9
MD5 fdbc7df2c993b222a676678c41e982b2
BLAKE2b-256 bdeee24c0fa21aba50fb07b693d3b1b043f6457a29b766e5f1d06a2889bc98a7

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyztraj-0.6.2-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