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

Uploaded CPython 3.13Windows x86-64

pyztraj-0.7.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.7.0-cp313-cp313-manylinux_2_28_aarch64.whl (3.5 MB view details)

Uploaded CPython 3.13manylinux: glibc 2.28+ ARM64

pyztraj-0.7.0-cp313-cp313-macosx_11_0_x86_64.whl (833.6 kB view details)

Uploaded CPython 3.13macOS 11.0+ x86-64

pyztraj-0.7.0-cp313-cp313-macosx_11_0_arm64.whl (774.2 kB view details)

Uploaded CPython 3.13macOS 11.0+ ARM64

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

Uploaded CPython 3.12Windows x86-64

pyztraj-0.7.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.7.0-cp312-cp312-manylinux_2_28_aarch64.whl (3.5 MB view details)

Uploaded CPython 3.12manylinux: glibc 2.28+ ARM64

pyztraj-0.7.0-cp312-cp312-macosx_11_0_x86_64.whl (833.6 kB view details)

Uploaded CPython 3.12macOS 11.0+ x86-64

pyztraj-0.7.0-cp312-cp312-macosx_11_0_arm64.whl (774.2 kB view details)

Uploaded CPython 3.12macOS 11.0+ ARM64

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

Uploaded CPython 3.11Windows x86-64

pyztraj-0.7.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.7.0-cp311-cp311-manylinux_2_28_aarch64.whl (3.5 MB view details)

Uploaded CPython 3.11manylinux: glibc 2.28+ ARM64

pyztraj-0.7.0-cp311-cp311-macosx_11_0_x86_64.whl (833.6 kB view details)

Uploaded CPython 3.11macOS 11.0+ x86-64

pyztraj-0.7.0-cp311-cp311-macosx_11_0_arm64.whl (774.2 kB view details)

Uploaded CPython 3.11macOS 11.0+ ARM64

File details

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

File metadata

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

File hashes

Hashes for pyztraj-0.7.0.tar.gz
Algorithm Hash digest
SHA256 0b1edf41b430dafb043cba98edb42b1ef51b771cf0f7339bbeefef254099d58b
MD5 f15514ce7cb18ddd803a0bdb479c1b51
BLAKE2b-256 db568afe51f1aefc724bfd14b457f407168d0e4155dbecd98e82dd1621deabe5

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyztraj-0.7.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.7.0-cp313-cp313-win_amd64.whl
Algorithm Hash digest
SHA256 2b40f807452837e15f3b433d36ea2881804007bf73317558a1c593da98a27f9c
MD5 cd72ffafe1c208dafeb4b359032e109a
BLAKE2b-256 9045024f7fd1827d3ac696046c9dd8752dcc79d379c3da74ad49bea75c74f1a9

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.7.0-cp313-cp313-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 4c3d252b8951f7416cd5476cd6173c240088872d9c6387d2883494f0d999a828
MD5 74e115792d582a15b114989036c74451
BLAKE2b-256 a741661cec228653a860aa49191b2a0dae317d0d2c761a2d7abf2ea9a1674e2b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.7.0-cp313-cp313-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 562883f122d6aa36d2f4805b0bd8a123f3e7d8740bacca04f44af3e5b9f01b9d
MD5 8b650dbf430a0e562b39dd35cb934c84
BLAKE2b-256 b89128b00cd663dfd73bb7490e19de5ffbf6b5ea7e291aa5a11dba4cacd817fe

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.7.0-cp313-cp313-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 fefff5d3b5d7356c60e7bb4d49f3dc27f87262161c1a9e3d0572324bcad71375
MD5 90f97cde628d0b95906b05ea19094b7b
BLAKE2b-256 a9ef6d43b2d6fab2f3a8b32f8cde59d9db922fff91f755d375836578e95b13a2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.7.0-cp313-cp313-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2d8703f2c304b0b772ad94113362a8b93d0872ccff7a681e76c4d4884e71ea7c
MD5 f1db25135e5b5f0f61a3e5cac9cf4942
BLAKE2b-256 6274655af955acda661fdaa003adf1a31dff8671de65bb7c7f1e33962cb0e9e3

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyztraj-0.7.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.7.0-cp312-cp312-win_amd64.whl
Algorithm Hash digest
SHA256 facd860c2cb1e14e565adb50bdd3dc27e34ec5273a5fbfc078fe7e496b918400
MD5 fab6b0fcab50b8a4f20e06122ca9fbb2
BLAKE2b-256 47dfe9ac0bc8de856606e6972759fbdfbd0096035e07de80f90374a0d37b811b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.7.0-cp312-cp312-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 61962ac57493c20c29e098b114656dc3b5a091c3420d4bd27955048b4ba8515e
MD5 a56b9d169e24ea4e974af075aaca6fa9
BLAKE2b-256 034b4a4ae222398891694e03f5ac9e66818e6afa8baa8507fef14fdf19066be8

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.7.0-cp312-cp312-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 1dd6249e8c6fdad7de551136a7a5fcd0f0a66220ac257f2cb832f876ae0b26cd
MD5 930745b8cd34f174f3f3baaed2dd853d
BLAKE2b-256 4434ba886530e56d0edc472b16eb600fa49d73c53f37250859aa43ee26ad9273

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.7.0-cp312-cp312-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 7ccd9fdc6d49061eb84b441f8705383807a224b6663359ace2da7c556ea7e77c
MD5 cd0a447753ae028f5d509462e19ad134
BLAKE2b-256 dad23baafdda811b2f2bd6f8bb875810178b83b4ffea08457b5507fe902e864d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.7.0-cp312-cp312-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 a6510c22b93d95ca576b0abce5f588a47d22c9d49b87b126c50fe78b04fcab22
MD5 6829916a5b638347f40a686420d0c17f
BLAKE2b-256 c02684de72875758fbfa3ac3789058d7fc0415d863435d6de1a57934fb68c0fe

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: pyztraj-0.7.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.7.0-cp311-cp311-win_amd64.whl
Algorithm Hash digest
SHA256 ccb560013a58d7c516077b4e6a4291dfc510b0b7d8538209bd23ff6aace54464
MD5 999e3507a1766486ee737239afe7452b
BLAKE2b-256 d6f3df406da0afd33cc5077704b6486387ba527c446072a57cfd61e3514db290

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.7.0-cp311-cp311-manylinux_2_28_x86_64.whl
Algorithm Hash digest
SHA256 18612df65f705210c24e0996f2ab12620d87c7a398535a5f5e76905dbe965282
MD5 10f6847fee2ff6ba0df5cc6698685612
BLAKE2b-256 adbe07e1fd182b652774d1828f22b2fa085430e9b550b87b2865cce902361628

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.7.0-cp311-cp311-manylinux_2_28_aarch64.whl
Algorithm Hash digest
SHA256 4b440c31c19ae3941e39446efa2164410b80df70fdfadbe5001f9635fe134ba2
MD5 b45d0b08f573a10a36f418cb232a1ed0
BLAKE2b-256 c8f676090616febf1d7781b72078a5f064a6fd0531feb77f545109addd053d0a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.7.0-cp311-cp311-macosx_11_0_x86_64.whl
Algorithm Hash digest
SHA256 8c38d3e3cc7147b4059c93563dbd3f5795e1ede4d132cf3aa195347bf2dc146f
MD5 543dcf28ac080bb18cffc1809d7e8911
BLAKE2b-256 bdac10bd213f663c6e4cca51623b144d938cc0077fdf4a609da2fb6a17dc85e4

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for pyztraj-0.7.0-cp311-cp311-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 9ec9642fd5b14bb76f8d6a9f6bae289b60449e0ef6f64e3e322640072b02564e
MD5 c24575ca03a2c65cd987606d4d3c46b3
BLAKE2b-256 4d032a05fcbbbb462dff16d57b00598b8475e0216ef5f2b8c0433d519d5575f9

See more details on using hashes here.

Provenance

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