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

Uploaded CPython 3.10+Windows ARM64

phonors-0.1.1-cp310-abi3-win_amd64.whl (685.7 kB view details)

Uploaded CPython 3.10+Windows x86-64

phonors-0.1.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (755.3 kB view details)

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

phonors-0.1.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl (722.2 kB view details)

Uploaded CPython 3.10+manylinux: glibc 2.17+ ARM64

phonors-0.1.1-cp310-abi3-macosx_11_0_arm64.whl (674.4 kB view details)

Uploaded CPython 3.10+macOS 11.0+ ARM64

phonors-0.1.1-cp310-abi3-macosx_10_12_x86_64.whl (713.5 kB view details)

Uploaded CPython 3.10+macOS 10.12+ x86-64

File details

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

File metadata

  • Download URL: phonors-0.1.1.tar.gz
  • Upload date:
  • Size: 109.9 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.1.tar.gz
Algorithm Hash digest
SHA256 0bb2116fa8c791c37ea9bc234290e91855f756f87d63b020417f2feef5655ae1
MD5 ed68c4f99603f679e42fcc7cabfb4285
BLAKE2b-256 d3bb28e3befbe446da8784f18ab62f63d9715397039feabe3c5f0b2c74e94941

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: phonors-0.1.1-cp310-abi3-win_arm64.whl
  • Upload date:
  • Size: 630.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.1.1-cp310-abi3-win_arm64.whl
Algorithm Hash digest
SHA256 223e4fa0dca98ccf1507b47421c8e2cf4cef52fbff293d1507dee4b4a29a580d
MD5 cd358921d035162ea0ef9c094f450ffd
BLAKE2b-256 7a22481fc5f0090dacedd16a6f697bcff38a3be6a685bf8556392a210da6e477

See more details on using hashes here.

Provenance

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

File metadata

  • Download URL: phonors-0.1.1-cp310-abi3-win_amd64.whl
  • Upload date:
  • Size: 685.7 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.1-cp310-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 95e9868626b2a767787b3863b7a9ff0004ea5fb07761ea8b2f79c0969ffea5df
MD5 3f532bbb14cbfb0346c6f2aba6b28cf5
BLAKE2b-256 e7d92bff343d045ad9bf6f399686efa2110167975bc245403516edb912594c82

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for phonors-0.1.1-cp310-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 49b3f13aff47ef7f73e3f4b5e6de5a07fe6525624aa4bd6a23c86a2c04203e0a
MD5 4e74963f3307e7f1e25592ccc8963b9e
BLAKE2b-256 f34b82edc03968339ca6248c11a30adf464651335373db9973397a450b0bab8a

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for phonors-0.1.1-cp310-abi3-manylinux_2_17_aarch64.manylinux2014_aarch64.whl
Algorithm Hash digest
SHA256 c7c4647423914f1c42f323b4a5073024cc64b86743a284dd40aeda480fa865a2
MD5 1518c5485e4a5f9aa8a5ddb611fbbd63
BLAKE2b-256 973603a8307d59f902b5b9791036c6c24b48fee8a95db422c7b0363c09a1df21

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for phonors-0.1.1-cp310-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 2d6b402c2e687dd32b21e414bac1d707c88e05381f5536a9f68d5c0e111118aa
MD5 d29e93d6ec0a30a7f764c8c2f0fd61c7
BLAKE2b-256 d513119ecbeee1b722105819421202a3a41a1fdcae86336dec6c2ac13de8383d

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for phonors-0.1.1-cp310-abi3-macosx_10_12_x86_64.whl
Algorithm Hash digest
SHA256 ed0663f1d5bab8efeb218ceabb4a4fd8d2c5550ec93d15f5e931843d787a8f25
MD5 65be2d22401b3ec8bc619545a23eac85
BLAKE2b-256 ebf53744aa089d02c0eee01c02773c3197a6f0fd3d9bddc2f6c6ef411deeb701

See more details on using hashes here.

Provenance

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