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.2.0.tar.gz (112.1 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.2.0-cp310-abi3-win_arm64.whl (640.4 kB view details)

Uploaded CPython 3.10+Windows ARM64

phonors-0.2.0-cp310-abi3-win_amd64.whl (696.1 kB view details)

Uploaded CPython 3.10+Windows x86-64

phonors-0.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (763.3 kB view details)

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

phonors-0.2.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (731.9 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

phonors-0.2.0-cp310-abi3-macosx_11_0_arm64.whl (685.4 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

phonors-0.2.0-cp310-abi3-macosx_10_12_x86_64.whl (724.2 kB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for phonors-0.2.0.tar.gz
Algorithm Hash digest
SHA256 75023abb30e0d874a7af24d732e8839cc07091389de34644d3853489a4d42a50
MD5 515cf52c6057701e68495cb5d50379a2
BLAKE2b-256 d25026737fd96cf5cee6f9a8935563ed016224b677ebb618754744fb0bc4d853

See more details on using hashes here.

Provenance

The following attestation bundles were made for phonors-0.2.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.2.0-cp310-abi3-win_arm64.whl.

File metadata

  • Download URL: phonors-0.2.0-cp310-abi3-win_arm64.whl
  • Upload date:
  • Size: 640.4 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.2.0-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 de7828fc4d084c5291ba0e95ca6926f80ffc1c83fc4742425e0c601973c8aad3
MD5 767ceb64d82e06c14326e2df25acc324
BLAKE2b-256 352a71732152a7faf28a03826ad50d24c060447d2a7b1dd4b22b9dae94d0cd81

See more details on using hashes here.

Provenance

The following attestation bundles were made for phonors-0.2.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.2.0-cp310-abi3-win_amd64.whl.

File metadata

  • Download URL: phonors-0.2.0-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 696.1 kB
  • 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.2.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 2036314eed7d56bd29967b446c6316be91ffac099f650b1e256cd721759b1822
MD5 abe402973995c1eaa2dc89f346ae1c91
BLAKE2b-256 6ca0831365007dee65d15179daaddd9758d63c2dc068fff9d14830782929a28d

See more details on using hashes here.

Provenance

The following attestation bundles were made for phonors-0.2.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.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for phonors-0.2.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 23a7413e6d41dc7140d9dd813c5ada4be08a9db0c458bca0e42a12625419f5cc
MD5 d115d06a92141ababcb1eafb8b79dc68
BLAKE2b-256 836d23adf329b0ce2da7023b533170fc27dcc529542bcff0e89babf614e1e90f

See more details on using hashes here.

Provenance

The following attestation bundles were made for phonors-0.2.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.2.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl.

File metadata

File hashes

Hashes for phonors-0.2.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a23c073eba269613ade2ee09daf01cfd9cc9472c4a3fb9ebc791801bb1183b66
MD5 2822c9c7c99c5ae085876bfd31366fb0
BLAKE2b-256 798f21aea83b833728821fc642247171cd7a396ac7bce95ee541cb83521b7243

See more details on using hashes here.

Provenance

The following attestation bundles were made for phonors-0.2.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.2.0-cp310-abi3-macosx_11_0_arm64.whl.

File metadata

File hashes

Hashes for phonors-0.2.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 7867556d86d96d0c93a2d60c44cd392730c5652dc1c01f10a16e5b7b8c16c776
MD5 a723e3ae5ea66deecaae5454a61fc366
BLAKE2b-256 92772b99232c3186fb3398513e150d46383d3429dd843e129130d8c1304859f3

See more details on using hashes here.

Provenance

The following attestation bundles were made for phonors-0.2.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.2.0-cp310-abi3-macosx_10_12_x86_64.whl.

File metadata

File hashes

Hashes for phonors-0.2.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 aa897d3fedccef8d6c9d370349e83b5cb0569ef908c854d60eb54034127e479d
MD5 ff866aef0cb94a01517d915287e0dce7
BLAKE2b-256 53626cd8b16f5c5e3f1d006c1aac0acaba1b25a16e030493356dd266227be3e3

See more details on using hashes here.

Provenance

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