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.1.tar.gz (182.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.1-cp313-cp313-win_amd64.whl (871.0 kB view details)

Uploaded CPython 3.13Windows x86-64

pyztraj-0.6.1-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.1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (2.2 MB view details)

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

pyztraj-0.6.1-cp313-cp313-macosx_11_0_x86_64.whl (688.9 kB view details)

Uploaded CPython 3.13macOS 11.0+ x86-64

pyztraj-0.6.1-cp313-cp313-macosx_11_0_arm64.whl (616.1 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

pyztraj-0.6.1-cp312-cp312-win_amd64.whl (871.0 kB view details)

Uploaded CPython 3.12Windows x86-64

pyztraj-0.6.1-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.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (2.2 MB view details)

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

pyztraj-0.6.1-cp312-cp312-macosx_11_0_x86_64.whl (688.9 kB view details)

Uploaded CPython 3.12macOS 11.0+ x86-64

pyztraj-0.6.1-cp312-cp312-macosx_11_0_arm64.whl (616.1 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

pyztraj-0.6.1-cp311-cp311-win_amd64.whl (871.0 kB view details)

Uploaded CPython 3.11Windows x86-64

pyztraj-0.6.1-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.1-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl (2.2 MB view details)

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

pyztraj-0.6.1-cp311-cp311-macosx_11_0_x86_64.whl (689.0 kB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

pyztraj-0.6.1-cp311-cp311-macosx_11_0_arm64.whl (616.1 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

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

File metadata

  • Download URL: pyztraj-0.6.1.tar.gz
  • Upload date:
  • Size: 182.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.1.tar.gz
Algorithm Hash digest
SHA256 0700a8a3ebb33bb4e9d60229f8098a8e8226e5f70b3567c129e1da09963c87e3
MD5 e06f0ecd5b2554ab69ef61753c972a5f
BLAKE2b-256 e3363384bbd84c8c13716ebe66670feff6514b222922b9bc02165c9003e6f6db

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyztraj-0.6.1-cp313-cp313-win_amd64.whl
  • Upload date:
  • Size: 871.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.6.1-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 209990c771d56cc556434e3984a37069d2423f94db3614a40988ebaaf2c21f12
MD5 2088a89d73c0e9c8071e66d6feadba54
BLAKE2b-256 3071efa116a30269dcabd35f0b087fcacfa60188cc7b0eb85394f405985b570e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.6.1-cp313-cp313-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 75c887acb06383b21267102f47f54aab2af50b39e5d88b19863b882d0156dad1
MD5 677972f5399d0995ebb1c10462250a6c
BLAKE2b-256 d06b27f65c08dc0d33466e2a9a0d5076d6eb50ecbd60188d73ffa4792e205f4e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.6.1-cp313-cp313-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 cf70e30d722f3a5a792f9e358868615395ae4515f9ad7f587da5b230071b368c
MD5 c8a7f6fa1e0d6787e1ffbffc18480f93
BLAKE2b-256 4fdc1c811b0a89f28593776b674dea69705ee377f06cec6ce7714d8bb33e86f4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.6.1-cp313-cp313-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 f5ea493f4b8e09ea8fdaed974f5875306647a8762d0cf9f906f7fc6cf6d556ec
MD5 316885e8fd507125a1c34bac0f8eb771
BLAKE2b-256 6571ba7fb20ea88e0e4c81bee7feb9051a658617f50e6733c36a5371a0ca2004

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.6.1-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 85a1a97f7e6a957734ca6ae7ecad0f434594c75ffc8a515f1582abfcdf842d93
MD5 d0af3d75c1aad65a0c95639f2ff3e950
BLAKE2b-256 7ccfbe30b9d362dcf532c27192d653a11a2c89e65082b0862b9057ddbb0d1fcb

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyztraj-0.6.1-cp312-cp312-win_amd64.whl
  • Upload date:
  • Size: 871.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.6.1-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 990c9e5b69f5a318c735b7a3fbd01afc7a178020967169226f0edb928d81349f
MD5 849c883553512c686b5834b2a3eeda50
BLAKE2b-256 de284245419622ab8d54eb28367f9708ac01a39be824c854b786184e1054ce92

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.6.1-cp312-cp312-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 dab146b9603ecc54c288c40fc76ecfb7f1959734eb68e314806d503f422977ca
MD5 aea4fe75a7584d971320421eeadd837f
BLAKE2b-256 8069d9851145ce57e3a83891f0c53d6b20f86170f7d63de69c830e54ce7af12c

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.6.1-cp312-cp312-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 bca9c5d7d63c3434780bb294b0f206870fbe96168cbe1f321023dcd1f49598be
MD5 9387641037ba6530ddd51b35437fc3cb
BLAKE2b-256 331afbcfe04b5ce660389169232598f3ce59c27369fe56936f096a3991b4a1c0

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.6.1-cp312-cp312-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 21065e09bcef9f26207b0b4af7fddf7bf1308a3a9207ff7a59b837ab960da25f
MD5 804d4693a093ce3f16bd367d0c29c2d3
BLAKE2b-256 db5a3688a84eb5dda4fe1bffdbaf2849d20bc4efe4ef711881b76c509368fd5e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.6.1-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 24e66ab6bc727b0066c93f578fe235f5b6477a3e69993e8911b8c0ca24047847
MD5 6f120b86d53eae18a47ec3a3d03011fa
BLAKE2b-256 827c6dc11a050e9c228e56c9b3e5b50190c305e4a68f4842613c55c58b64ac6a

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyztraj-0.6.1-cp311-cp311-win_amd64.whl
  • Upload date:
  • Size: 871.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.6.1-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 7eac12065519c15bb2d3a57e374814e89e788828fb81657a190da5f405c31bc3
MD5 ef0840981bb0bd57de053531ff749aa0
BLAKE2b-256 b134bc640e140710b89e1654c3c494dde1c4dc7ec184012e6b5d8aa4005aa706

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.6.1-cp311-cp311-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 ace34e306a58f53194b8b403d64b7f1b86418edea9634dfc522b48755d8743ed
MD5 ae2c15e4bbc6ad0ad828092ab842328e
BLAKE2b-256 90bcf303e660e34328bf0468dc993d465f7cd334cc6fd72292ce03a2986d5444

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.6.1-cp311-cp311-manylinux_2_27_aarch64.manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 ad3cf2718a1679193bf89498190c6c47d6cbf0280b9be549bae0cf52ac65d20e
MD5 7f3011459fff8969c424b80ac080a1e7
BLAKE2b-256 e838ac0e23a34d055779d156d4627a80da7d3d8e36f9687b80fef39fa95e0076

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.6.1-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 9087f5191430c751dc317a94b0bb322d89c96dd8206fb3871b71a1cb145aee52
MD5 0bf14edd5751cbd165d5095660ad7b76
BLAKE2b-256 8cdfdecd726c2aacc6328f4041f33103a4b055a6c4eeab172c227b1ad32f4237

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.6.1-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 eefa94cff0c9ec66442d6bce80a4d5400c077983230233c8b7dd64f8846359fc
MD5 6d6ff4144401907c816fa17a9d133456
BLAKE2b-256 1870bddcac18427a5302be454304ac4162405ea7b912cce9c56aa15f61b8798e

See more details on using hashes here.

Provenance

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