Metadata-Version: 2.1
Name: ip-address-classifier
Version: 0.1.3
Summary: A CLI tool that classifies IPv4 addresses
Author: DavidTJGriffin
Author-email: david.dtjg2001@gmail.com
Requires-Python: >=3.12,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.12
Description-Content-Type: text/markdown

# ip-address-classifier 
[![GitHub Repo](https://img.shields.io/badge/GitHub-Repo-black?logo=github)](https://github.com/DavidTJGriffin/ip-address-classifier)
[![PyPI version](https://badge.fury.io/py/ip-address-classifier.svg)](https://pypi.org/project/ip-address-classifier/)


A Python CLI tool that classifies IPv4 addresses by class (A–E), and also tells you if the address is:

- Public or Private  
- Loopback  
- Invalid

---

## Installation

```bash
pipx install ip-address-classifier
```

> ⚠️ If `ipclass` isn’t recognized after install, run:

```bash
pipx ensurepath
exec $SHELL  # or restart your terminal
```

---

## Usage

```bash
ipclass
```

You’ll be prompted to enter a valid IPv4 address (e.g. `192.168.1.1`)  
The tool will return:

- The address class (A–E)
- Whether it’s public or private
- If it’s loopback or invalid

---

## Tech Stack

- Python 3.12
- Poetry
- CLI entrypoint via `pyproject.toml`

---

## License

This project is licensed under the MIT License.

