Metadata-Version: 2.4
Name: publickipbitan
Version: 1.0.0
Summary: A simple Python library and CLI tool to show your public internet IP address.
Author-email: Bitan Bhattachirjee <mr.bitanbhattachirjee@gmail.com>
License-Expression: MIT
Project-URL: Homepage, https://github.com/techbitan/publickipbitan
Project-URL: Source, https://github.com/techbitan/publickipbitan
Project-URL: Issues, https://github.com/techbitan/publickipbitan/issues
Keywords: public ip,internet ip,ip address,network,cli
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3 :: Only
Classifier: Programming Language :: Python :: 3.8
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Topic :: Internet
Classifier: Topic :: System :: Networking
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# publickipbitan

**Developer:** Bitan Bhattachirjee  
**Email:** mr.bitanbhattachirjee@gmail.com

`publickipbitan` is a simple Python library and command-line tool that shows your public internet IP address.

## Installation

```bash
pip install publickipbitan
```

## Use as Python library

```python
import publickipbitan

ip = publickipbitan.get_public_ip()
print("My public IP is:", ip)
```

## Use as command-line tool

```bash
publickipbitan
```

## JSON output

```bash
publickipbitan --json
```

Example output:

```json
{
  "public_ip": "203.0.113.10",
  "ip_version": "IPv4"
}
```

## Features

- Shows public internet IP address
- Works from Python code
- Works from terminal / CMD
- Supports JSON output
- Uses Python standard library only
- Uses multiple public IP services as fallback
- Validates IPv4 and IPv6 output

## Developer

Created by **Bitan Bhattachirjee**  
Email: **mr.bitanbhattachirjee@gmail.com**

## License

MIT License
