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.0.tar.gz (109.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.1.0-cp310-abi3-win_amd64.whl (685.8 kB view details)

Uploaded CPython 3.10+Windows x86-64

phonors-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (755.7 kB view details)

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

phonors-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (721.4 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

phonors-0.1.0-cp310-abi3-macosx_11_0_arm64.whl (674.5 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

phonors-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl (713.0 kB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: phonors-0.1.0.tar.gz
  • Upload date:
  • Size: 109.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.1.0.tar.gz
Algorithm Hash digest
SHA256 79635ca7b226790b81767f516cf53047a49c24bd187cedb23d88774e462cdf47
MD5 d84fc4435056a693b15fd8d9473c2e0f
BLAKE2b-256 953cd3cd61c33a1b4457e58729514cff3e6ebfd27abbb2d0f03fa0f978790443

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: phonors-0.1.0-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 685.8 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.0-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 f5664c55e854e6a6c35e679c58457e1f7f44e5ea26f65225f2e0c802cf9a1246
MD5 bd176acaabc483130320825146cc1071
BLAKE2b-256 0f77f428c99058e1aa9bc4530fb4de62ae7b19ac07015b705a32b675474506c7

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for phonors-0.1.0-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 8d2efd55a1f96f0a4e09226bb067656c56a3ae26f1dca855f987cc6e308aeb1c
MD5 3a91f759a5ec0b01c6c74116598a4f3f
BLAKE2b-256 4d7aa7d468b4a6839a2ae69766ad4ae4f0aae6bc93b951762bda1cb67a9c28a3

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for phonors-0.1.0-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 559524ed6bcc70bb5f6657b5a8590451c0b8b2e16ebaf702861430564befdf25
MD5 0ea8772752e792aa1dbbfc81719a5f59
BLAKE2b-256 26c5c78884b45e7851827a820ef4ff50c283436e0f91ea2fd09d880d7a0da6ff

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for phonors-0.1.0-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 4367b9bb8aea3003001b81079ef4d378c3b07f7e3f87b521200d45da47602def
MD5 6b3b95f2ef19120b9348d8b208522122
BLAKE2b-256 ad4cce224b922a9b4739aceaa513ed9c2125883136278705a9a3cf48bf4476ca

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for phonors-0.1.0-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 c970ad9537610f05fa63cc9ba2af3b2da1a569a10f56eac819d8abc357190774
MD5 51d9fa23fc12f35c10e42af3bcc77739
BLAKE2b-256 ceb3521def3a6785fbd6bd78ccc36f545bbb80706aec4300b0787d88be180d2a

See more details on using hashes here.

Provenance

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