This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!
Project Description

This module gives some utilities for IPV4 addresses. It defines the IP, Mask and Subnet classes. Objects of these classes should not be created directly, but rather through the function IPV4. It defines also some useful conversion functions.

>>> from IPV4 import IPV4
>>> a = IPV4('')
>>> a                   # a is a string
>>> a.set_mask(23) # same as a = IPV4('')
>>> a.mask         # or a = IPV4('', '')
>>> a.subnet.start
>>> a.subnet.end
>>> a.same_subnet('')
>>> a.bitstr
>>> a.subnet.bitmask
>>> a.hexaval
>>> a.intval
>>> a.IPclass
Release History

Release History


This version

History Node

TODO: Figure out how to actually get changelog content.

Changelog content for this version goes here.

Donec et mollis dolor. Praesent et diam eget libero egestas mattis sit amet vitae augue. Nam tincidunt congue enim, ut porta lorem lacinia consectetur. Donec ut libero sed arcu vehicula ultricies a non tortor. Lorem ipsum dolor sit amet, consectetur adipiscing elit.

Show More

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting