Skip to main content

A CLI tool that classifies IPv4 addresses

Project description

ip-address-classifier

GitHub Repo PyPI version

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 ipclass isn’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

ip_address_classifier-0.1.3.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ip_address_classifier-0.1.3-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

Details for the file ip_address_classifier-0.1.3.tar.gz.

File metadata

  • Download URL: ip_address_classifier-0.1.3.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

Hashes for ip_address_classifier-0.1.3.tar.gz
Algorithm Hash digest
SHA256 e9ba72a8fe4e4fb8b41cde0c2864f613ed1aa20a25902f975574da26c48e7d9c
MD5 f25d5099d50072d53bc8679783bf64b1
BLAKE2b-256 95af0875d813241ff5c9a64a68b582200b9da3c81c9cabd187be737302bbec39

See more details on using hashes here.

File details

Details for the file ip_address_classifier-0.1.3-py3-none-any.whl.

File metadata

  • Download URL: ip_address_classifier-0.1.3-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

Hashes for ip_address_classifier-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 170cc38aa300981a6ee570b5eff030d273d871209535106e4d4fa06b2e5443e1
MD5 d2564a6103b788fb1f940db548578728
BLAKE2b-256 99db263f7e018a074a9da1ab292c29282d20be09bb2830ec89ba8910d19e1cbe

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page