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.1.2.tar.gz (110.2 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.1.2-cp310-abi3-win_arm64.whl (632.0 kB view details)

Uploaded CPython 3.10+Windows ARM64

phonors-0.1.2-cp310-abi3-win_amd64.whl (687.4 kB view details)

Uploaded CPython 3.10+Windows x86-64

phonors-0.1.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (757.2 kB view details)

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

phonors-0.1.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (724.5 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

phonors-0.1.2-cp310-abi3-macosx_11_0_arm64.whl (675.2 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

phonors-0.1.2-cp310-abi3-macosx_10_12_x86_64.whl (715.7 kB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

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

File hashes

Hashes for phonors-0.1.2.tar.gz
Algorithm Hash digest
SHA256 3dda1aec6770824a5ccf9a37a182c0d9a58bd81aebe472e509e1820f9c23c7ec
MD5 6625ba0526c245f520adac5f81c25a12
BLAKE2b-256 246356cd1615688e8b78ca766a3ad23d0c670a222d7bef8646539dac1232e36a

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: phonors-0.1.2-cp310-abi3-win_arm64.whl
  • Upload date:
  • Size: 632.0 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.1.2-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 10dbfca21b153f616ba3ebc7265affdfe77b2532bcae6f3b4a48614141486fa4
MD5 3e6cb8f1fb61c5d1e8ad743d130b10a0
BLAKE2b-256 58e082d6350261a9ee5bc6367025a7c40112da5b4ae42611534683a48e4be894

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: phonors-0.1.2-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 687.4 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.1.2-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 5960a48c6347107c2a85d028d18a7de23eb70e91079a7823e8df51bbe5b491dc
MD5 43e7b0e7b14999ef9b0bb2d0dac65c3e
BLAKE2b-256 dfca9967c42f3f733f3cf096e8cfbcf509f2d01971689150aaff93e553828857

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for phonors-0.1.2-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 1ba3c23deb83f3092cc293298c6200872eb4207734a5cac152a258e5d2872ce0
MD5 f1de02a6ed90fcb60ae8c8523741a9d0
BLAKE2b-256 9bfc3a5b3578f66545343629d2869bb0cd6730234e72c320917bac34dade671e

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for phonors-0.1.2-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 bbf2891ad1d970d51df7a3a250d27874fac92fdffeec1e4f034dad1b621fb42c
MD5 4b92e4edeaf7bd64e2ba84c4a5a168ff
BLAKE2b-256 4e8161a3dcd115fe16455d7a04b2a9c09984605087c343ca521042b3523836d1

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for phonors-0.1.2-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 e53f7c797828b470a5cbb036aacab0e762f8e4b2a346e435058a1775976e85cf
MD5 5bc1355caa34ebb224401d6d54182d7a
BLAKE2b-256 19dac7bb15f0c192751238c48ed8e34ed3f0667f77c8e1e9b84a343e32f06a2b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for phonors-0.1.2-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 01146da9e5b4b1cfc9623aa7d0be824944f629493f53f289415bec1ccabe5cce
MD5 6cb753885c518f062963f26389449dcb
BLAKE2b-256 dd26aac9ac96edfa8f488b5b6643de7485ebeb0f5eea56cf7ec9ea75ccf677dd

See more details on using hashes here.

Provenance

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