Skip to main content

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

None

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 : [, ]

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

None

Release history Release notifications | RSS feed

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.

Source Distribution

ipdetector-0.1.tar.gz (10.8 kB view hashes)

Uploaded Source

Built Distribution

ipdetector-0.1-py2-none-any.whl (2.7 kB view hashes)

Uploaded Python 2

Supported by

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