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.4.tar.gz (3.0 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.4-py3-none-any.whl (3.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ip_address_classifier-0.1.4.tar.gz
  • Upload date:
  • Size: 3.0 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.4.tar.gz
Algorithm Hash digest
SHA256 4c2f49efe125737d5775c438a63b7383bbdf4c34fc9632215b8a230275b7adfa
MD5 6d34dd8e7fd28f6d18f1c84b0f38b934
BLAKE2b-256 bdec24b378aa23869b716a181a0a2bc8c5ab75bdf7ca57597f1e48a426177fe9

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ip_address_classifier-0.1.4-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.4-py3-none-any.whl
Algorithm Hash digest
SHA256 8106dcd9d9308a5809ee91c21773c51b2b06e8313bd8e3383f1b6ea8719d6c93
MD5 3931eb67c24aa5c13934f042a48f7a4b
BLAKE2b-256 103eb0d42d4dd579a0d748dff691506daa1c9ecac4fc6ee7e58708c03fde6480

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