Skip to main content

No project description provided

Project description

ip-address-classifier

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

MIT — see 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.1.tar.gz (2.8 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.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: ip_address_classifier-0.1.1.tar.gz
  • Upload date:
  • Size: 2.8 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.1.tar.gz
Algorithm Hash digest
SHA256 9431d5b96ce8c9ee69dfb09a5f3bc09feaf2b3212f702251d69de909494c2208
MD5 e35d807f4b2eb4dab7e568bf4b4ed92c
BLAKE2b-256 5938db29a88e472b37bfc53a94a4dd0fc5d9ac738297439a79f708932d28ff47

See more details on using hashes here.

File details

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

File metadata

  • Download URL: ip_address_classifier-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 a87805c0415e586d1be1211111514839e617a1fedf254c356f6c03865bd547c7
MD5 ca05be07bb1b42f4a56215919a641cf9
BLAKE2b-256 80aa8e0134d392a232a1261ecabb8ad3958a6c7d110ce5e982cc7cdd487e4969

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