Metadata-Version: 2.4
Name: iatro-iac-adapters
Version: 0.1.4
Requires-Dist: iatro-base-iac==0.1.4
Requires-Dist: numpy
Requires-Dist: pillow
Requires-Dist: pydicom>=3,<4
Requires-Dist: pyarrow
Requires-Dist: tifffile
Requires-Dist: tiffslide>=2.5.1,<3 ; python_full_version < '3.11'
Requires-Dist: tiffslide>=3,<4 ; python_full_version >= '3.11'
Requires-Dist: tqdm
Requires-Dist: imagecodecs ; extra == 'dev'
Requires-Dist: pytest ; extra == 'dev'
Provides-Extra: dev
License-File: LICENSE
Summary: Reusable domain adapters for IatroCache packs
License-Expression: MIT
Requires-Python: >=3.10
Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM

# iatro-iac-adapters

Concrete reusable medical-data schemas for `iatro-base-iac`.

```bash
pip install iatro-iac-adapters
```

Installing this package also installs the compatible IatroCache core. Import
each schema from its owning module:

```python
from iatro.iac.adapters.dicom import DicomPatientReader
from iatro.iac.adapters.features import FeatureCacheReader
from iatro.iac.adapters.text import ClinicalTextReader
from iatro.iac.adapters.text_pair import ClinicalTextPairReader
from iatro.iac.adapters.tiles import TilePackageReader
from iatro.iac.adapters.wsi import WsiImageReader
```

The package provides:

- independently encoded JPEG XL pathology tiles using the native base codec;
- complete JXL WSI rasters with MPP-addressed region reads, native JPEG/JPEG
  2000 passthrough decode, and an adapter-owned Rust fused renderer;
- fixed-width teacher-feature matrices aligned to tile metadata;
- independently compressed patient-level clinical-text blocks;
- aligned source/compressed clinical-text pairs;
- patient-level DICOM packages with lossless pixels and DICOM reconstruction.

The adapter package defines no adapter base class, protocol, or registry. Each
schema directly composes the public pack, codec, and container APIs.

See the repository [adapter guide](../../docs/adapters.md), including the
[pathology](../../docs/modalities/pathology.md),
[WSI image](../../docs/modalities/wsi-image.md),
[clinical-text](../../docs/modalities/clinical-text.md), and
[DICOM](../../docs/modalities/dicom.md) pages.

TIFF-family WSI import support is included in the standard installation.

