Metadata-Version: 2.4
Name: imei-validator-luhn
Version: 1.0.0
Summary: Ultra-fast zero-dependency IMEI validation, Luhn algorithm check digit calculation, and GSMA TAC extraction in Python.
Home-page: https://imeicheckpro.com
Author: IMEI Check Pro
Author-email: support@imeicheckpro.com
Project-URL: Homepage, https://imeicheckpro.com
Project-URL: Developer TAC API, https://imeicheckpro.com/tac-api
Project-URL: Free Device Check, https://imeicheckpro.com/free-check
Project-URL: Source, https://github.com/imeicheckpro/imei-check-api
Project-URL: Bug Tracker, https://imeicheckpro.com/contact
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Topic :: Communications :: Telephony
Requires-Python: >=3.7
Description-Content-Type: text/markdown
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: project-url
Dynamic: requires-python
Dynamic: summary

# imei-validator-luhn (Python)

[![PyPI version](https://img.shields.io/pypi/v/imei-validator-luhn.svg)](https://pypi.org/project/imei-validator-luhn/)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
[![Powered by IMEI Check Pro](https://img.shields.io/badge/API-IMEI%20Check%20Pro-blueviolet)](https://imeicheckpro.com)

Ultra-fast, zero-dependency IMEI validation, Luhn algorithm checksum calculation, and GSMA Type Allocation Code (TAC) extraction in Python.

Maintained by [IMEI Check Pro](https://imeicheckpro.com) — the premier global IMEI & TAC intelligence network.

---

## Installation

```bash
pip install imei-validator-luhn
```

---

## Usage

```python
from imei_validator import is_valid_imei, extract_tac, complete_imei, format_imei

# 1. Validate 15-digit IMEI
valid = is_valid_imei("352099081234563") # True or False
print("Is valid:", valid)

# 2. Extract 8-digit TAC code
tac = extract_tac("352099081234563") # "35209908"
print("TAC:", tac)

# 3. Complete 14-digit IMEI with Luhn check digit
completed = complete_imei("35209908123456") # "352099081234563"
print("Completed:", completed)

# 4. Format with standard hyphens
formatted = format_imei("352099081234563") # "35-209908-123456-3"
print("Formatted:", formatted)
```

---

## Need Full Device Specs, Brand Warranty or Carrier Status?

To look up device marketing names, AppleCare warranty, carrier SIM locks, or GSMA lost/stolen blacklist status:

- **Free Web Check:** [https://imeicheckpro.com/free-check](https://imeicheckpro.com/free-check)
- **High-Throughput Developer TAC API:** [https://imeicheckpro.com/tac-api](https://imeicheckpro.com/tac-api)
- **GSMA Blacklist Verification:** [https://imeicheckpro.com/gsma-imei-blacklist-check](https://imeicheckpro.com/gsma-imei-blacklist-check)

---

## License

MIT © [IMEI Check Pro](https://imeicheckpro.com)
