Skip to main content

Python bindings for selected ITU-R P-series atmospheric propagation models

Project description

itu-rs Python bindings

Python bindings for the Rust itu-rs crate.

Install from PyPI:

uv add itu-rs
# or: pip install itu-rs

Import from Python:

import itu_rs

attenuation = itu_rs.gas_attenuation_default(
    45.4215, -75.6972, 12.0, 30.0, 0.1, 1.2
)
print(attenuation)

The bindings expose the same implemented Rust APIs, including the direct P.1144, P.618, and P.676 helper functions.

The Python package downloads and caches the ITU-R model data automatically on first import. Set ITU_RS_DATA_DIR to use an existing local data directory.

For local development, use uv:

uv run --project python --group dev maturin develop --manifest-path python/Cargo.toml
uv run --project python --group dev pytest python/tests

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

itu_rs-1.2.0.tar.gz (81.3 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

itu_rs-1.2.0-cp39-abi3-win_amd64.whl (516.0 kB view details)

Uploaded CPython 3.9+Windows x86-64

itu_rs-1.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl (680.3 kB view details)

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

itu_rs-1.2.0-cp39-abi3-macosx_11_0_arm64.whl (609.5 kB view details)

Uploaded CPython 3.9+macOS 11.0+ ARM64

File details

Details for the file itu_rs-1.2.0.tar.gz.

File metadata

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

File hashes

Hashes for itu_rs-1.2.0.tar.gz
Algorithm Hash digest
SHA256 46aaf314bc1bed1018dd98843f648cace5f34e7c08a9f1a29ae0bfd6832beeb8
MD5 ab46f92d6426ed7b214d730ebca55474
BLAKE2b-256 3ef018211de7cc494c8122bb006dda39f6e3f953c858a8634b877096a1de3d89

See more details on using hashes here.

Provenance

The following attestation bundles were made for itu_rs-1.2.0.tar.gz:

Publisher: release.yml on Fierthraix/itu-rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file itu_rs-1.2.0-cp39-abi3-win_amd64.whl.

File metadata

  • Download URL: itu_rs-1.2.0-cp39-abi3-win_amd64.whl
  • Upload date:
  • Size: 516.0 kB
  • Tags: CPython 3.9+, Windows x86-64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for itu_rs-1.2.0-cp39-abi3-win_amd64.whl
Algorithm Hash digest
SHA256 3a710db59291eb620b4e89f088085745ad80b9fa648e0d454f2893d015879e2b
MD5 dd32df1e11acc9999952af9311297b8a
BLAKE2b-256 f10b6319c61fe74179a55988a34e1efd58a2d5c3e8a88ad151992529956c268b

See more details on using hashes here.

Provenance

The following attestation bundles were made for itu_rs-1.2.0-cp39-abi3-win_amd64.whl:

Publisher: release.yml on Fierthraix/itu-rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file itu_rs-1.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl.

File metadata

File hashes

Hashes for itu_rs-1.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Algorithm Hash digest
SHA256 70e1bf13607187e2842c2e7d92a92cd17be3a2d38064ff3fb22b02d352685e38
MD5 fa9af550aabd13fb71287ab992cd7fe7
BLAKE2b-256 1de7ed1b02ec1613ba098c8ec13d5572dc0d1c937cb345ea065639ff994397ff

See more details on using hashes here.

Provenance

The following attestation bundles were made for itu_rs-1.2.0-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl:

Publisher: release.yml on Fierthraix/itu-rs

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file itu_rs-1.2.0-cp39-abi3-macosx_11_0_arm64.whl.

File metadata

  • Download URL: itu_rs-1.2.0-cp39-abi3-macosx_11_0_arm64.whl
  • Upload date:
  • Size: 609.5 kB
  • Tags: CPython 3.9+, macOS 11.0+ ARM64
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for itu_rs-1.2.0-cp39-abi3-macosx_11_0_arm64.whl
Algorithm Hash digest
SHA256 1cbebe8c1daab2523611c1ac0ef09b00e32753a5b5c584bc9dbe013026cae0a7
MD5 16a0403c5f5d6ae2c4c484ec07bee595
BLAKE2b-256 2eda4faf94d57ef9dc02d26a87f47b1b41502ac9294c8f9f5d89fc60389bad44

See more details on using hashes here.

Provenance

The following attestation bundles were made for itu_rs-1.2.0-cp39-abi3-macosx_11_0_arm64.whl:

Publisher: release.yml on Fierthraix/itu-rs

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