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