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.8.0.tar.gz (209.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.8.0-cp313-cp313-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.13Windows x86-64

pyztraj-0.8.0-cp313-cp313-manylinux_2_28_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ x86-64

pyztraj-0.8.0-cp313-cp313-manylinux_2_28_aarch64.whl (3.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

pyztraj-0.8.0-cp313-cp313-macosx_11_0_x86_64.whl (834.7 kB view details)

Uploaded CPython 3.13macOS 11.0+ x86-64

pyztraj-0.8.0-cp313-cp313-macosx_11_0_arm64.whl (775.2 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pyztraj-0.8.0-cp312-cp312-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.12Windows x86-64

pyztraj-0.8.0-cp312-cp312-manylinux_2_28_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ x86-64

pyztraj-0.8.0-cp312-cp312-manylinux_2_28_aarch64.whl (3.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

pyztraj-0.8.0-cp312-cp312-macosx_11_0_x86_64.whl (834.7 kB view details)

Uploaded CPython 3.12macOS 11.0+ x86-64

pyztraj-0.8.0-cp312-cp312-macosx_11_0_arm64.whl (775.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pyztraj-0.8.0-cp311-cp311-win_amd64.whl (1.1 MB view details)

Uploaded CPython 3.11Windows x86-64

pyztraj-0.8.0-cp311-cp311-manylinux_2_28_x86_64.whl (3.8 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ x86-64

pyztraj-0.8.0-cp311-cp311-manylinux_2_28_aarch64.whl (3.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

pyztraj-0.8.0-cp311-cp311-macosx_11_0_x86_64.whl (834.7 kB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

pyztraj-0.8.0-cp311-cp311-macosx_11_0_arm64.whl (775.2 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: pyztraj-0.8.0.tar.gz
  • Upload date:
  • Size: 209.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.8.0.tar.gz
Algorithm Hash digest
SHA256 fcfb58cfb2e0c5ab742cc1cb82d9f0b4c420779680410fc13dd3ac4b8fdd2b93
MD5 8f322924274eea90c2fa1a487ced5d91
BLAKE2b-256 88fd7cd0438d3c0fa77bd1952199cd348cfd72fd699e691ece8641cbfac56d18

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyztraj-0.8.0-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • 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.8.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 9ed67f0fadadf3a6f11d8904f3f2d4703b6addcfa3bc4b4d232adc2bedc4312c
MD5 9b4512d8b970897e10179de91776fd4c
BLAKE2b-256 bc702c24791f5358c6446ebc34d173e78fd4b36acbb285acdcdb9c42c3d4c873

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.8.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 fa9297c14dfc7c60c6f5b3843004cfaf697a9a222180d2a9c514fac2c5af984b
MD5 a0250bd114405cb5c5dccc2ac8481afa
BLAKE2b-256 dbfa2d30067a0943e7398479e785f5df3a8a7f69d090a7d4533312205e18239e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.8.0-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 111f1ef907c159f306138ef4ded72013a62d16d4a4852f9a9d5c6f26b5f7ad76
MD5 06581b445b61b736ea26e430d0f344fe
BLAKE2b-256 f6fb8efdcbfe5d6b062c2f30545d69ea8c15cf6bd4d3616a863fe7d2ce7ce7a0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.8.0-cp313-cp313-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 7e61a2229a5436ef4397e2ca86d3d585ff779579824b8a1ce04fee66a2757d85
MD5 b7be2bcc624e94e619e4868a1380ccb7
BLAKE2b-256 d37fd5aefdae5aefc70e712ce9236f781a787db84fc2ae334e8ae10eda5e78e7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.8.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 912029147a12e4811f4ace0089f3b0f157fe4b22fb37b3879d70d0a5a58a5ce6
MD5 33639eba8b6c88ba88f0aaab4315c1af
BLAKE2b-256 40239c931eecff6ed873b8b204fea0f294713dedb4b50b331b13997f3ee84f08

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyztraj-0.8.0-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • 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.8.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 b593f0fecb0801b55ac5d55360afc06b4b7cddaf1022b28e3dae3e7f939cb5ac
MD5 4121d13b48edce573e39aa1326f92f43
BLAKE2b-256 43ad4bea4c5b2c48dccdd8fb31106439d64732773f5646f350764e579c1a6fee

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.8.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 46fcdcc97bd8d68baf5327ee8d1bc5c7f7cd37c83f2c4a26eac36ea1952d2cfb
MD5 fee22ea89e74244198bd5ea292209b3f
BLAKE2b-256 6409c1ed890e8fc8c4a99499b187de6dff38dfd0d8a7f437abcb65d301628b9b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.8.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 85d48fcec5b24e676e003aaa6635803a87cfbd0e4c9eab206dfb42f693b6dced
MD5 be2adcadc78caaaf4cd96bd8213e38b8
BLAKE2b-256 1c499cc2790577831d7d230a29423c9a1c8dc0a41b97e0af7252611f3377da26

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.8.0-cp312-cp312-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 0da39bbec242886a30364b88e9205d2380f2501a3a5c757fcb2b4bcfde1aad65
MD5 dcb0b8379feeca2cfa620c83adfee3a5
BLAKE2b-256 ac3105e42df1375ef5f97a4f7128ae6e595587afd880b4a7757a0e8d7a27d4ad

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.8.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 76c3853282b352a45dc7b64e78cac19291e709edd3fb3d6d88497bfb6e8de16a
MD5 2cd389adc41b520b6dd29eb5f5758b92
BLAKE2b-256 2d6fdab2c0854b6156a70b7d9c704e8d3220e9c29a2d525247277dec93a01ebc

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyztraj-0.8.0-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 1.1 MB
  • 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.8.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 1b2dedfde5136822f6380b40324ced7822287659bfc652f18fbfbde90f6cbc8d
MD5 5feeefd56696bfccb04bbc9a51430718
BLAKE2b-256 ae190818752fde33fbe4ab97998ea0f393eab3304bb29499737cb5d2d03099a7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.8.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 9851510aa2711943221c51cd2cfe496e22e03b12c22d2d03453b6c16e160fcaa
MD5 ca51dccd2009d5476ea98746d275da19
BLAKE2b-256 8224d42eab4c63c8a6c85fb674c53ae2ab173cd969d98064717d01abb77e8990

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.8.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 594f735cf6ec986038012bc4ce9fb4429374f7e43361acd9b91f7d7afd9ba6c2
MD5 c6a28a27fd3deb510f2e06aa1a1e5342
BLAKE2b-256 e122e3a0642aa1710a4f0d0c2b8e3b72dd5a0404b036ddcad662a59331d4b7b1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.8.0-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 09da54bc8924009fe882be366775d9d6d40d9db785acff60865463d4d3f771fd
MD5 4e47ef3db75fa583cdef58280b3a5736
BLAKE2b-256 57332fc2678b882788fa6fc9aa55e830428654d3496c951f48108a1fc4d3e472

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.8.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7159eb6f58a5d5d3927fac645850fd8508552f48e61978218ed62a758945675a
MD5 c1d82fdfbb1f5868f5924d6e7aa27652
BLAKE2b-256 3936e5f2af265c2daa299541828e4e9690081505300537ad5caee1a7f2308ba3

See more details on using hashes here.

Provenance

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