Metadata-Version: 2.4
Name: udi-decoder-client
Version: 1.0.1
Summary: Official zero-dependency Python client for FDA & EU MDR Medical Device UDI Decoder (GS1, HIBCC, ICCBBA) via RapidAPI
Author: Noor Mkdad
License-Expression: MIT
Project-URL: Homepage, https://noormkdad.com/tools/udi-decoder
Project-URL: Documentation, https://noormkdad.com/tools/udi-decoder
Project-URL: Marketplace, https://rapidapi.com/noor-mkdad-apis-noor-mkdad-apis-default/api/fda-eu-mdr-medical-device-udi-decoder-gs1-hibcc-iccbba
Project-URL: Source, https://github.com/DrMkdaddy/udi-decoder-python
Keywords: fda-udi,eu-mdr,medical-device,gs1-datamatrix,hibcc,iccbba,gudid,eudamed,udi-validation
Classifier: Programming Language :: Python :: 3
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown

# FDA & EU MDR Medical Device UDI Decoder (GS1, HIBCC, ICCBBA) — Python Client

[![PyPI version](https://img.shields.io/pypi/v/udi-decoder-client.svg)](https://pypi.org/project/udi-decoder-client/)
[![Run in Postman](https://run.pstmn.io/button.svg)](https://app.getpostman.com/run-collection/57865358-8bafe64c-1441-4fe3-ba7a-2d60bdeb7dc5)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![RapidAPI Listing](https://img.shields.io/badge/RapidAPI-Dedicated%20Listing-blueviolet)](https://rapidapi.com/noor-mkdad-apis-noor-mkdad-apis-default/api/fda-eu-mdr-medical-device-udi-decoder-gs1-hibcc-iccbba)

Official zero-dependency Python client for **FDA & EU MDR Medical Device UDI Decoder (GS1, HIBCC, ICCBBA)**.

> Instant <5ms GS1-128, HIBCC Modulo-43 & ICCBBA ISBT 128 medical device barcode parser for FDA 21 CFR 801 & EU MDR compliance.

> 🔑 **Get your Dedicated API Key:** [Subscribe to FDA & EU MDR Medical Device UDI Decoder (GS1, HIBCC, ICCBBA) on RapidAPI](https://rapidapi.com/noor-mkdad-apis-noor-mkdad-apis-default/api/fda-eu-mdr-medical-device-udi-decoder-gs1-hibcc-iccbba)

---

## 🚀 Installation

```bash
pip install udi-decoder-client
```

---

## ⚡ Quickstart

```python
from udi_decoder_client import UdiDecoderClient

# Zero config for sandbox testing, or pass your RapidAPI key for production
client = UdiDecoderClient(api_key="YOUR_RAPIDAPI_KEY")

result = client.validate({
    # Enter validation payload
})

print(result)
```

---

## 📚 API Reference

### `UdiDecoderClient(api_key=..., base_url=...)`
- `api_key` *(optional)*: RapidAPI Key (`x-rapidapi-key`).
- `base_url` *(optional)*: Direct edge worker override URL.

### `client.validate(payload)`
Dispatches standard validation / parse request with sub-5ms latency.

### `client.get_health()`
Checks edge isolate health and responsiveness.

---

## 🔗 Links
- 📖 [RapidAPI Documentation & Key](https://rapidapi.com/noor-mkdad-apis-noor-mkdad-apis-default/api/fda-eu-mdr-medical-device-udi-decoder-gs1-hibcc-iccbba)

## 📄 License
MIT © Noor Mkdad
