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.5.0.tar.gz (21.4 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.5.0-cp313-cp313-win_amd64.whl (811.0 kB view details)

Uploaded CPython 3.13Windows x86-64

pyztraj-0.5.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.5.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (2.0 MB view details)

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

pyztraj-0.5.0-cp313-cp313-macosx_11_0_x86_64.whl (631.5 kB view details)

Uploaded CPython 3.13macOS 11.0+ x86-64

pyztraj-0.5.0-cp313-cp313-macosx_11_0_arm64.whl (563.6 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pyztraj-0.5.0-cp312-cp312-win_amd64.whl (811.0 kB view details)

Uploaded CPython 3.12Windows x86-64

pyztraj-0.5.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.5.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (2.0 MB view details)

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

pyztraj-0.5.0-cp312-cp312-macosx_11_0_x86_64.whl (631.5 kB view details)

Uploaded CPython 3.12macOS 11.0+ x86-64

pyztraj-0.5.0-cp312-cp312-macosx_11_0_arm64.whl (563.6 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pyztraj-0.5.0-cp311-cp311-win_amd64.whl (811.0 kB view details)

Uploaded CPython 3.11Windows x86-64

pyztraj-0.5.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.5.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (2.0 MB view details)

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

pyztraj-0.5.0-cp311-cp311-macosx_11_0_x86_64.whl (631.5 kB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

pyztraj-0.5.0-cp311-cp311-macosx_11_0_arm64.whl (563.6 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for pyztraj-0.5.0.tar.gz
Algorithm Hash digest
SHA256 1a52ee26d12532d86d993e9a530568e67daa0dd2ca29cd33f7f9f8ddd9e1acc8
MD5 143c6fd8e7a7ebae407dd8af2ca74ee9
BLAKE2b-256 8eeb05c801e200b2b6e1cf9ffc4264f346da21a237ff250ac4d0e6c71923313c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyztraj-0.5.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 811.0 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.5.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 f418ebfcbfa4e25458b70a35a323edcd3ed310f0c5eab0d60185480123855a8f
MD5 edbcfd802b69d0809cd65f23138dc881
BLAKE2b-256 87d1664f3ce73e05373037ea5e94e00dbaa8c13f2308d488da4d860f0ec79606

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.5.0-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 770d53bcc8965651c1f13cce7c3b75aefcf8584fcda4f94ca12da6acc1dc6c1f
MD5 48c0bed55d4c8951924993adfd37c2a5
BLAKE2b-256 7def82a1eb526d2c9de7049f8ac52f816240a57762c69d3308d4601eec283fde

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.5.0-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 2e36a0b60aad2c7e2e746cc3d4572269db3fcbc4819ac8b9bad6a098d1d3f004
MD5 4642b1345e01be31e747900f8d8404b7
BLAKE2b-256 39375b9b2786f82ca5c0ec7dcc94fa4de79e16babfd35e133916886b9564dca1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.5.0-cp313-cp313-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 ece933a3be3232ba89e359adc084fb19427b55fa9ff538b16f79591a62b25ee9
MD5 758c592a2a069df1627198a592f8e861
BLAKE2b-256 81717d0598b42292729b6abf798b9534becf4f89d1dce37200674b721fecee54

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.5.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 5334dd3eb294f00b84dc3760f775fd028e2336bd2900cdbfbfcea0371bce6f18
MD5 5809c79d990883b7555d8c80ee966627
BLAKE2b-256 f9f84bc4497a24346e26e6f9e15dfb8819e50a68a28f60d9f410ab6ab1f3e713

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyztraj-0.5.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 811.0 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.5.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 24c347f6c3b6ba225aaf4f7a2b933904282a5c72b2e5b66db5659566141fe8c3
MD5 ab9b8abd824d27d0b72a43d8dd6e2da0
BLAKE2b-256 ddc7372205c03dc945ace066814c902c7b7ad22ac84577e5f844b49a91f9899a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.5.0-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dc68185fbf865bc06e1ca5f900cc891abc8a988f4a4dc9be41cd8be744bef694
MD5 922b93503b5290d49b10aea3db0cdfca
BLAKE2b-256 e1c3fc26330b6af804b5507d81cfb97540efbf69a212d04fcc2956b01861bf69

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.5.0-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 66d8ee827d9d8aa15225f2165972ec25c4581deca9ea9b5017698f6c02098683
MD5 f66ca6ce1fad3ee81e3e6302bbf64e74
BLAKE2b-256 e018bc7649b1173cd48bbd15f2511e89fa9dedc4d2498494ef26668767a12c15

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.5.0-cp312-cp312-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 bbcbb337b3499cb11db55672799ed8185741a8762ad84ff6834914eafcb05107
MD5 205de2734f51d0631a14286cd10c2e77
BLAKE2b-256 b138e6b215fe72a1ded1553df790fc222155f823887d688b00f23aec2319fc08

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.5.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0f48188e98de6a3a8e4a778530c21b469e44973440209afcc765edc7489b1ac0
MD5 e4672012b67b19726dcecec6938cba80
BLAKE2b-256 ac5942beea03571c31ae5fbe519586563578a679376b6649be79e2578cfd845c

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyztraj-0.5.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 811.0 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.5.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 cefe50a82fd9dc2377b5c3e721572a0aae37bc2ee8f7e901d2a575251e103dad
MD5 4c5ddbbaeb84e08e9ce915647a3376ce
BLAKE2b-256 d85a924101b849b4f5a5a94fd514115aeb5bf1e14c06141ac408695481b5853f

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.5.0-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 f2c9620fabc83323dc7bee0184877bc0a10e6ac91d5ab6a5633b6d69a9ff98a1
MD5 ac2a8910c53d2bcb56d7d5a786270ac4
BLAKE2b-256 b2cc2dfa022714ffb14e62686221d59c4b92c112d56e43abcdfccc14ddb4daee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.5.0-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 e2f84b9e372c76e002f1aa08631e00816219b612d6ec747c2841aacae35faf38
MD5 abd06641b864256ef1cd30cb8f367ee1
BLAKE2b-256 818da1ab783ed98f707e83d95e0c5ab2417c88ee58c6410aaff691232e2291c0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.5.0-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 addaa2bd9b3a820acaceec73927ec335a5f58684570db8b5b75edf57c2a28865
MD5 d81716e418eaddc59030a596d2c53b8a
BLAKE2b-256 df73cae1815b1c189c5f75933f18fdb6903995a0f1e567e40affbbf8092654ad

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.5.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e3cb7e806fdcd5c1735595505689ea1e63b2ec443a6c5fb36a1c01fbc4221978
MD5 fc8424e972d26919dcc80a2d9c7f5626
BLAKE2b-256 04b38a0edb824c5af02ef7a4fa16ca4401a09f1555b0102260145e2d2dc9b82f

See more details on using hashes here.

Provenance

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