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.1.tar.gz (120.8 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.1-cp310-abi3-win_arm64.whl (679.6 kB view details)

Uploaded CPython 3.10+Windows ARM64

phonors-0.2.1-cp310-abi3-win_amd64.whl (737.2 kB view details)

Uploaded CPython 3.10+Windows x86-64

phonors-0.2.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (804.2 kB view details)

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

phonors-0.2.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (768.8 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

phonors-0.2.1-cp310-abi3-macosx_11_0_arm64.whl (719.7 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

phonors-0.2.1-cp310-abi3-macosx_10_12_x86_64.whl (761.9 kB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: phonors-0.2.1.tar.gz
  • Upload date:
  • Size: 120.8 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.1.tar.gz
Algorithm Hash digest
SHA256 15b5c363e879fcfcc8e9e9ece11729570af5e25db54f658f02d1f99439e5295f
MD5 87739bd5368a38badcf7d591369d9f35
BLAKE2b-256 de10b98d8f578c6ee52a73415a88fd1756deb681f46191dafef509b7b0ccd80d

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: phonors-0.2.1-cp310-abi3-win_arm64.whl
  • Upload date:
  • Size: 679.6 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.1-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 f4827a7ef200b9118a7b808122935251c9b2cf2b6a03645cb07c98ce9f974fad
MD5 6e8f08b2b93d19606d2b219aa2dd6266
BLAKE2b-256 3e096578f4e9319c0daf7f247cde8603985cb82639e1d26d0f2e66b142177359

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: phonors-0.2.1-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 737.2 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.1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 1db75d8f2ac96ed8643cc2b107b2530ab82ea56fc4b1e454376c6d72e7773d21
MD5 d4790650cdea87d8ea7465297da50e61
BLAKE2b-256 850b50dfb2589cb855d40545e9fd7208d92a4bf072ff23452ffc65e979e805e2

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for phonors-0.2.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 889056e27487322c95d4417f3e2286526e5972affa1dedf19c6743cba74be09b
MD5 cc1e1867e963672a1ddd1c2417277708
BLAKE2b-256 8c6c755f18d6749fdc8c3b28ac03f3d4302e068cd1c10732edee8bb4ba0b6aa3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for phonors-0.2.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 a4bb064b94474d3dae097d273d107b8c29dccaae0a901e5a99912545593ad936
MD5 ea3c9505040cc9ffc5a6a313f4cf47c8
BLAKE2b-256 6c0b2e3a8282ecba1a1ba237832664fdea9ad08c3363fc315ff752cd260cf684

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for phonors-0.2.1-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 b6f5e80f5713a205cf662cb1cbaa8343cbf72314a2ee8b2dc945a39cd5ec5e4f
MD5 c5e780bd0d794981a2512947d252fe3d
BLAKE2b-256 64fa391016679663d2115602836a39230bc20413c652918c1e7fec68257b6a6b

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for phonors-0.2.1-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 835cad525e86862ab768e079268bb005b48861c0455dae4dfebc5115216b4587
MD5 1e588f620d88c2fbe11c65dcb50dfef0
BLAKE2b-256 5f1c49a9cbf59861ce6cc2ca79bc7c4bc8098e99d1e8e04648145676e0326d4d

See more details on using hashes here.

Provenance

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