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.4.2.tar.gz (21.2 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.4.2-cp313-cp313-win_amd64.whl (739.1 kB view details)

Uploaded CPython 3.13Windows x86-64

pyztraj-0.4.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.1 MB view details)

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

pyztraj-0.4.2-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (1.9 MB view details)

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

pyztraj-0.4.2-cp313-cp313-macosx_11_0_x86_64.whl (565.5 kB view details)

Uploaded CPython 3.13macOS 11.0+ x86-64

pyztraj-0.4.2-cp313-cp313-macosx_11_0_arm64.whl (505.8 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pyztraj-0.4.2-cp312-cp312-win_amd64.whl (739.1 kB view details)

Uploaded CPython 3.12Windows x86-64

pyztraj-0.4.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.1 MB view details)

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

pyztraj-0.4.2-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (1.9 MB view details)

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

pyztraj-0.4.2-cp312-cp312-macosx_11_0_x86_64.whl (565.5 kB view details)

Uploaded CPython 3.12macOS 11.0+ x86-64

pyztraj-0.4.2-cp312-cp312-macosx_11_0_arm64.whl (505.8 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pyztraj-0.4.2-cp311-cp311-win_amd64.whl (739.1 kB view details)

Uploaded CPython 3.11Windows x86-64

pyztraj-0.4.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.1 MB view details)

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

pyztraj-0.4.2-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (1.9 MB view details)

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

pyztraj-0.4.2-cp311-cp311-macosx_11_0_x86_64.whl (565.5 kB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

pyztraj-0.4.2-cp311-cp311-macosx_11_0_arm64.whl (505.8 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for pyztraj-0.4.2.tar.gz
Algorithm Hash digest
SHA256 306a943883d6354e824f35e458aa789a34570471533ca5c469bb98236a277a9e
MD5 21777286b7b928a6383505f45eed9145
BLAKE2b-256 5f3449d32dd5ce1e95cf486fe037192c54030c3cfa6817757a3612f287ba66ae

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyztraj-0.4.2-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 739.1 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.4.2-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 393225cddc57c83d415a4c9f79ca13891d5b546c7bf1873b5457d9eb0410ffdb
MD5 2b47dcaf4292e2872bef215687e34691
BLAKE2b-256 0f82930f86e50e789197d539d36daf894f91bbd3ac9e4504ee00e098a2a0e766

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.4.2-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 bdc4faf050e4f81b47a6432cdcac634bf23a39bd560b12e353ddaaee068a9bab
MD5 3b228bd31cb8018237a389aa5ec53413
BLAKE2b-256 b2b34f1a8c7c09730bb2d920dd7f9fea692394f933a7f2775b8ce22bbaffaa7a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.4.2-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 7ac151bdaca514ecb0a81a55900425ce9682b80a3abc952b34f23d7a49f7b42a
MD5 d8bc6c7e6d8b192a762a0ba2cfb489ad
BLAKE2b-256 894f7c6260d3edfecada6ab14a2eb21bdeccb6cfb9335e162840f2ae87d362ca

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.4.2-cp313-cp313-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 ea4e517213d14d7b69ca4fbb1f5a5942bbdeca0edf67312e0f9cd59dd393a3bd
MD5 36219eecec4370dcc436da0e6c6064a8
BLAKE2b-256 0a4af2c7ceb166ce0ffc8840bf439d806a8738b0a2e3f3168db0223140a7b64a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.4.2-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2fe112b2c9732bc263f252c84910bd92dc4e088d3a09ded46586eddbca379881
MD5 fbdfea3b4de74fd29f9fe38fe034184d
BLAKE2b-256 658a9bb97f955b3e98e9d9b638a62ab7d58717e0c68aa0523db90c3bd3fe3147

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyztraj-0.4.2-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 739.1 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.4.2-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 1493f03c24c3d0622a94223627b4d657952d17eec4f101d2e550fbb512f8d10e
MD5 d2249f5632959b33692b71b085071668
BLAKE2b-256 7878110fcbbdfc72576d69b2496c26d34fb67f558306d382327707b06fed0b88

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.4.2-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 c8c23d27b8d23f8ff76a8ff824c46cae2f89b9be1b0fea6e67649da4381a9d68
MD5 af44fe070064bc02347a519dde94bfc6
BLAKE2b-256 364cb6fe56c227a2bcad5e5625b1afb138fe21c28692db05bbf9a5356143779a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.4.2-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 656873438071be49255f51ef3b01526ca15ec00c9b1a4009bb3e79e1946daf87
MD5 b2a4d83ee719089cce9a435075524412
BLAKE2b-256 565fdf7e3d9dc766e4e72603fbe0912fc3280e7f4a97919101c0fd3a4ad85cb5

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.4.2-cp312-cp312-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 6fd12c1261f35dcf502594f984d6812889bc51a193fc5c2a24f4986b184caa37
MD5 6cec4ae4f8706c98ee3aa12bc5484e0a
BLAKE2b-256 d49053d7f09087aba9bcca04a037e4a747a337fd6995353ec27a50dd9cbb46a4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.4.2-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0da776435d48bde72944de68d930b12b620ca49fe2e6977cbbf003dd1190e621
MD5 9c96593fce76ef7d981b1131a2460c05
BLAKE2b-256 766695d944ebd39ff9813a4b8cfcadedff93ea695aa37dadf35508831ed5f08f

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyztraj-0.4.2-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 739.1 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.4.2-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 a544e2d068d1357edcb97067ab5b0b2d5196710c07509b2484ede180a65fedf2
MD5 95015b305ded3cbb891822da32e32d8d
BLAKE2b-256 6d495d2de73489a13248a97993d97eb2222ec5317576da6a326c417cce30e1cf

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.4.2-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 837e5e60364d820f402cbdc465273afd33423f876f54dc025ddab663ad9c2234
MD5 a706f7d87afe9395fecf36b6aabf7b2b
BLAKE2b-256 ed4d9c5377f73384baae90659c68d57fe16cd439f09a50caaa7b3adee8bd03f9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.4.2-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 41a98033ae178b41e57c390075a57563eaee88693454c6966405179b6adea18a
MD5 2ce04362d139ee40b068a09fb82f0d37
BLAKE2b-256 d71f24cf859289ab5921a28c34cc5353a4c47f8d90da68f0a51a83167a406c05

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.4.2-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 00fb372163b0e3b97abdd6a03fc26c1ce8c4e80aa1d39408413111afbd9937a0
MD5 5b81d68111ba31be69bde879aa6be4a2
BLAKE2b-256 12e34743551047ea700247cda42fbc5cf2971e3067bfd7ee0e788a96be573cf4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.4.2-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 ad9ebac611ff38aeefc020bdaffe7087e7cff29f45199431f43070cfb5bd7ef0
MD5 6ede1a1d922b8703022ce228b3d45910
BLAKE2b-256 9eb07e34b612d10c5489fdd16c53cf2556171222440fba8ef7f0077c1208491f

See more details on using hashes here.

Provenance

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