Metadata-Version: 1.1
Name: iputils
Version: 0.3
Summary: wrapper of ipaddress.py, easy to use
Home-page: https://github.com/hezhiming/iputils
Author: he.zhiming
Author-email: he.zhiming@foxmail.com
License: GPL
Description: 

        iputils

        ==================

        

        

        `iputils` is the wrapper of ipaddress.py, easy for use.

        

        Install

        ---------------------

        `pip install iputils`

        

        

        Usage

        ------------------------

        

        ::

        

            from iputils import IPUtils

        

            print(IPUtils.is_valid("1988.0.0.1/22"))

            print(IPUtils.is_ipv4("199.201.90.100/22"))

            print(IPUtils.is_ipv6("2001::1/64"))

            print(IPUtils.is_network("2001::/64"))

            print(IPUtils.get_network_addr("199.201.90.100/22"))

            print(IPUtils.with_prefix("199.201.90.100/255.255.252.0"))

        

            and more... see the api docs

        
Keywords: IPv4,IPv6
Platform: any
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: Topic :: Software Development :: Testing
