Skip to main content

IPregex

Validating and Classifying IPv4 Address

Prerequisites:

  • Linux OS
  • Python >=3.5 "pre-installed"
python3 --version
  • Python pip3 "If not installed feel free to surf the web for installation guide based on your OS"
pip3 --version

Installing:

  • Download and install IPregexo python package
pip3 install IPregexo

Take care PyPi packages name are case sensitive

  • Import IPrexego on every python script you want to use it on
from IPregexo import IPregexo

Examples:

    1. Check vaild IP format and print message if so.
    1. Check vaild IP format and return Boolean result if so.

Commands:

Command Description
check_IP Vaildate IP format and print Message
checkB_IP Vaildate IP format and return Boolean
check_IP_Private Vaildate if Private IP and print Message
checkB_IP_Private Vaildate if Private IP and return Boolean
check_IP_Private_A Vaildate if Private IP Class A and print Message
checkB_IP_Private_A Vaildate if Private IP Class A and return Boolean
check_IP_Private_B Vaildate if Private IP Class B and print Message
checkB_IP_Private_B Vaildate if Private IP Class B and return Boolean
check_IP_Private_C Vaildate if Private IP Class C and print Message
checkB_IP_Private_C Vaildate if Private IP Class C and return Boolean

Authors

  • Omar Adil - Network Engineer - Linkedin

License

This project is licensed under the MIT License - see the LICENSE file for details

Release files for IPregexo 0.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for IPregexo 0.0.2
File Size Uploaded
IPregexo-0.0.2.tar.gz 2.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for IPregexo 0.0.2
File Interpreter ABI Platform
IPregexo-0.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 5.8 kB

Release files / IPregexo-0.0.2.tar.gz

Download URL IPregexo-0.0.2.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
ac216e3463fef33efc91dddc07c4dc5cd85fb981955fbe5b3e2d48349d1a7e4f
BLAKE2b-256 checksum
How to use checksums
cd11fbe937f106bfeb1b8e0d7aa3a71f354e244245d66dcb58e26ce8758111eb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.9.1 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.5.2

Release files / IPregexo-0.0.2-py3-none-any.whl

Download URL IPregexo-0.0.2-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
d1675e67ad67da5ca2fc7bc7ea7d42cefe8cf4ecff2f1a91ac44849c27622b38
BLAKE2b-256 checksum
How to use checksums
8a3cf0c9292eee479746a989e8baefd69c4ebaff9678ca86c0f5b15a9e434a4d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.9.1 setuptools/47.1.1 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.5.2

Release history Release notifications | RSS feed

This release

0.0.2 This release

2 release files

0.0.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page