Skip to main content

Rust kernels for phonopy and phono3py

Project description

phonors

Rust kernels for phonopy and phono3py.

phonors is a Rust extension module providing the heavy numerical kernels used by phono3py (via the phono3py[rust] extra) and intended to also back phonopy as its C kernels are ported. It is built with maturin and PyO3, distributed as abi3-py310 wheels (Python 3.10+).

Installation

From PyPI

pip install phonors

From conda-forge

conda install -c conda-forge phonors

Development

For local development, build and install the extension in editable mode against the active Python environment:

maturin develop --release

maturin develop installs the phonors extension into the active environment; from then on, import phonors from anywhere hits the editable build. Re-run after Rust changes.

Optional: native CPU tuning

By default, maturin develop --release builds with the Rust baseline target (x86-64 v1 on x86_64, Armv8.0 on aarch64), so the resulting module runs on any CPU of that architecture. For a local build that will only run on the current machine, enabling the host CPU's full instruction set can recover a few percent of wall-clock:

RUSTFLAGS='-C target-cpu=native' maturin develop --release

License

BSD-3-Clause. See LICENSE.

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

phonors-0.3.0.tar.gz (129.5 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

phonors-0.3.0-cp310-abi3-win_arm64.whl (972.9 kB view details)

Uploaded CPython 3.10+Windows ARM64

phonors-0.3.0-cp310-abi3-win_amd64.whl (1.3 MB view details)

Uploaded CPython 3.10+Windows x86-64

phonors-0.3.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (1.5 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ x86-64

phonors-0.3.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (1.1 MB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

phonors-0.3.0-cp310-abi3-macosx_11_0_arm64.whl (972.4 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

phonors-0.3.0-cp310-abi3-macosx_10_12_x86_64.whl (1.3 MB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

Details for the file phonors-0.3.0.tar.gz.

File metadata

  • Download URL: phonors-0.3.0.tar.gz
  • Upload date:
  • Size: 129.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for phonors-0.3.0.tar.gz
Algorithm Hash digest
SHA256 10d8111c1ce509235b9154b861a193a21559d6da0b0363ef9e41ffa9746f3599
MD5 b81a0d0486ec78e9f15251052b8e822a
BLAKE2b-256 29d31c51b5555092b29253e69baf0820e49ddcd5c8749892397a81e5dbc36577

See more details on using hashes here.

Provenance

The following attestation bundles were made for phonors-0.3.0.tar.gz:

Publisher: release.yml on phonopy/phonors

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phonors-0.3.0-cp310-abi3-win_arm64.whl.

File metadata

  • Download URL: phonors-0.3.0-cp310-abi3-win_arm64.whl
  • Upload date:
  • Size: 972.9 kB
  • Tags: CPython 3.10+, Windows ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for phonors-0.3.0-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 0b7579a11fef8d138c2019f576cece85b07226bad649ea7616a16b227c780b3d
MD5 77379ebe463d3dd430acdb68b32709bc
BLAKE2b-256 ccc32310ec7dd2d7a1a8f67902f84f70ed0362dfd2a07ea459957c7f6174e15b

See more details on using hashes here.

Provenance

The following attestation bundles were made for phonors-0.3.0-cp310-abi3-win_arm64.whl:

Publisher: release.yml on phonopy/phonors

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phonors-0.3.0-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: phonors-0.3.0-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 1.3 MB
  • Tags: CPython 3.10+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for phonors-0.3.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 ba10bc31d7a517262872f19730b0aba0345918ba8cc0fed5062ebd4637e29924
MD5 ee540717b8d213f7d42773e435f9767d
BLAKE2b-256 5083118f5d00463d2dfb0d57d2e22bca2298210114d6ba0e0918c4eed28d931d

See more details on using hashes here.

Provenance

The following attestation bundles were made for phonors-0.3.0-cp310-abi3-win_amd64.whl:

Publisher: release.yml on phonopy/phonors

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phonors-0.3.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for phonors-0.3.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 591776ff7b66ff4997cd10b49636e0d0aba57fcb2e2af5c33edcbc1f90c35f9f
MD5 775c81fdb6358a71c3cf9a4c380b1b0f
BLAKE2b-256 5a693f82e62a455c88521a6bdc96ffc961ca1955a77f6522c74e7fcd758e49ab

See more details on using hashes here.

Provenance

The following attestation bundles were made for phonors-0.3.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on phonopy/phonors

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phonors-0.3.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for phonors-0.3.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 98360dadfed8bc4b208ba59ed800f4c28aaeebeff362821bdffda5abe9692749
MD5 64d443476009613ec77a8e2f63387bc3
BLAKE2b-256 6acd1747f34d98d1ec6476b611f171ca287ae0d2f8a918e6c0205a860e116f41

See more details on using hashes here.

Provenance

The following attestation bundles were made for phonors-0.3.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl:

Publisher: release.yml on phonopy/phonors

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phonors-0.3.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for phonors-0.3.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 0515b493c5fafd4a61aef8c4973f5aaf5cd2bd77ceb64fb2ee57c985b6428f23
MD5 c2263a605974cc8dd3c171b5654d2e3d
BLAKE2b-256 4df59871e75dd95e038a30b5f844702f07b96ea2b17848436e62c0f9e7a68847

See more details on using hashes here.

Provenance

The following attestation bundles were made for phonors-0.3.0-cp310-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on phonopy/phonors

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file phonors-0.3.0-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for phonors-0.3.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ac25e797877dd9903caba6d08ff9b72a546b0f871478d5bcd893c44261f6da8a
MD5 2d2bf5ee26113fcb73ac58c151218cfd
BLAKE2b-256 ae83329d8b336dd752b2fa9854d1a37dd11f26de11679221aac76dbd5959be17

See more details on using hashes here.

Provenance

The following attestation bundles were made for phonors-0.3.0-cp310-abi3-macosx_10_12_x86_64.whl:

Publisher: release.yml on phonopy/phonors

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