Skip to main content

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

Metadata

Release files for itu-rs 1.2.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for itu-rs 1.2.1
File Size Uploaded
itu_rs-1.2.1.tar.gz 81.3 kB Details

Built distributions (wheels)

Table of built distributions (wheels) for itu-rs 1.2.1
File Interpreter ABI Platform
itu_rs-1.2.1-cp39-abi3-win_amd64.whl CPython 3.9 abi3 Windows x86-64 Details
itu_rs-1.2.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl CPython 3.9 abi3 Linux glibc 2.17+ x86-64 Details
itu_rs-1.2.1-cp39-abi3-macosx_11_0_arm64.whl CPython 3.9 abi3 macOS 11.0+ ARM64 Details

Total release size: 1.9 MB

Release files / itu_rs-1.2.1.tar.gz

Download URL itu_rs-1.2.1.tar.gz
Size 81.3 kB
Tags Source
SHA-256 checksum
How to use checksums
78b262086fccdfef55925d88590f6ebe4b62ccd1ea54a50f55e68309e7fd49e5
BLAKE2b-256 checksum
How to use checksums
a70e93f733e714eab1fea10f34ca5f869b12d0828a4640157fa46a4f4ecdb4ab
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 11, 2026.

Transparency log

Release files / itu_rs-1.2.1-cp39-abi3-win_amd64.whl

Download URL itu_rs-1.2.1-cp39-abi3-win_amd64.whl
Size 516.2 kB
Tags CPython 3.9 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
9762a6a1f3a06c2055a5f98164d1ecc0dc820fe582f37e51c00601e785a03e7a
BLAKE2b-256 checksum
How to use checksums
6121df1e286df07e3a49be4d6d6842a4245f755413486b854fcee60038e6e194
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 11, 2026.

Transparency log

Release files / itu_rs-1.2.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl

Download URL itu_rs-1.2.1-cp39-abi3-manylinux_2_17_x86_64.manylinux2014_x86_64.whl
Size 680.0 kB
Tags CPython 3.9 Linux glibc 2.17+ x86-64 abi3
SHA-256 checksum
How to use checksums
3e4059e4c110a7b3f66b5995d3c14c717f40acc57281164f86d3abba6b55aafa
BLAKE2b-256 checksum
How to use checksums
e990963bc951c0db7035ea5a912b9d1d9f6bda3366037ee19ee97b12fa87edef
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 11, 2026.

Transparency log

Release files / itu_rs-1.2.1-cp39-abi3-macosx_11_0_arm64.whl

Download URL itu_rs-1.2.1-cp39-abi3-macosx_11_0_arm64.whl
Size 609.5 kB
Tags CPython 3.9 abi3 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
0d1663cd2a92692edd777bd02b9fc3b4633ca67d7f9cd811d545535a1066bb10
BLAKE2b-256 checksum
How to use checksums
ab3bbc5b1a356718c57ec228050a819814d20234c6a3186f28ae67295ce3e18f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 11, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

1.2.1 This release

4 release files

1.2.0

4 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page