icon4py-common
Description
Utilities shared by several ICON4Py components.
Installation instructions
Check the README.md at the root of the model folder for installation instructions.
Contents
IO
module containing IO funcitonality for ICON4Py.
The IO module requires the installation of the io optional dependencies defined in pyproject.toml
of the icon4py-common package and can be installed with the following command:
uv pip install .[io]
or even better by running:
uv sync --extra io # or `uv sync --extra all` which includes everything
at the top-level folder of the repository, which installs all ICON4Py packages including the IO dependencies.
Distributed run
The package decomposition contains infrastructure for parallel implementation of icon4py/model.
icon4py uses GHEX for halo exchanges. In order to run in parallel
optional dependencies mpi4py and ghex need to be installed, which can be done through
uv sync --extra distributed # or `uv sync --extra all` which includes everything
from the top-level folder of the repository.
Grid
Contains basic infrastructure regarding the (unstructured) grid used in icon4py. There are
two implementations of the general grid a small simple grid with periodic boundaries in
simple.py used for testing and the
ICON grid icon.py both implement the same protocl.
The ICON grid can be initialized from an ICON grid file via the grid_manager.py
(THIS is still EXPERIMENTAL!!) or from serialized data.
The grid_manager.py needs netcdf as an optional dependency, which can be installed with
uv sync --extra io # or `uv sync --extra all` which includes everything
from the top-level folder of the repository.
interpolation
Contains interpolation stencils and port of interpolation fields in ICON.
math
math utilities.
states
contains type for the ICON prognostic state used by several packages.
test_utils
Utilities used in tests made available here for usage in other packages
Metadata
Release files for icon4py-common 0.4.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| icon4py_common-0.4.1.tar.gz | 210.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| icon4py_common-0.4.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 494.1 kB
Release files / icon4py_common-0.4.1.tar.gz
| Download URL | icon4py_common-0.4.1.tar.gz |
|---|---|
| Size | 210.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9b32ab48188d7330e8702da9ddc041458cb7e5dd2e9e154b3348ae37f7a8fdd8
|
|
BLAKE2b-256 checksum How to use checksums |
693a677a35764321943f4fcedb0c05b760a7177d1968b67889ba7aeed0b792bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 20, 2026.
Transparency logRelease files / icon4py_common-0.4.1-py3-none-any.whl
| Download URL | icon4py_common-0.4.1-py3-none-any.whl |
|---|---|
| Size | 283.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0f5822fa5ff7da003550a77204b907d4ec6747439f9b6bffe3bb7e92adcaa175
|
|
BLAKE2b-256 checksum How to use checksums |
5362a6f0aea42b3c189ba7383da8cee0f7ba98e2658a625cb2e6f30e310570aa
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Aug 20, 2026.
Transparency log