Skip to main content

Detect whether the given input is Public IP/ Private IP/ Public IP range or Private IP range

Project description

ipdetector

This is a Simple project to categorize and validate private and public IP/IP ranges.

Category ID

  • 0 : Private IP
  • 1 : Public IP
  • 2 : Private IP range
  • 3 : Public IP range

Output : [<categoryID>, <data>]

Installation

Run the following to install:

pip install ipdetector

Usage

>>from ipdetector import ipCategorizer
>>ipCategorizer('192.168.1.0/24')
[2, '192.168.1.0/24']
>>

Project details


Release history Release notifications

This version

0.1

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ipdetector, version 0.1
Filename, size File type Python version Upload date Hashes
Filename, size ipdetector-0.1-py2-none-any.whl (2.7 kB) File type Wheel Python version py2 Upload date Hashes View
Filename, size ipdetector-0.1.tar.gz (10.8 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page