A CLI tool that classifies IPv4 addresses
Project description
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
pipx install ip-address-classifier
⚠️ If
ipclassisn’t recognized after install, run:
pipx ensurepath
exec $SHELL # or restart your terminal
Usage
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ip_address_classifier-0.1.5.tar.gz.
File metadata
- Download URL: ip_address_classifier-0.1.5.tar.gz
- Upload date:
- Size: 2.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.6.87.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bda71d84f72ebea063c849e084e8aee84b7d3b7133a3cca4ea4c1cbe56a9d8de
|
|
| MD5 |
bdd3cdff021372dead441467ed1e15cd
|
|
| BLAKE2b-256 |
7689bd96456d7e7a0b975444aff46f8ae4b08ebf091f2ba555936bcb79e83d2c
|
File details
Details for the file ip_address_classifier-0.1.5-py3-none-any.whl.
File metadata
- Download URL: ip_address_classifier-0.1.5-py3-none-any.whl
- Upload date:
- Size: 3.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.8.2 CPython/3.12.3 Linux/6.6.87.1-microsoft-standard-WSL2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4b5067b20df322f30800f596ab480aff5ec40d05eb3f214c57c0bdf7dce1ca3c
|
|
| MD5 |
434bd681c3845ca67ff223b64e726d7a
|
|
| BLAKE2b-256 |
bcec2d7a803b732383ded8e64e48ca9cefac7844eb00dc25c8624109b8d541f4
|