Average Ratings 0 Ratings

Total
ease
features
design
support

No User Reviews. Be the first to provide a review:

Write a Review

Average Ratings 0 Ratings

Total
ease
features
design
support

No User Reviews. Be the first to provide a review:

Write a Review

Description

The IP class provides a user-friendly approach to parsing and managing various notations associated with both IPv4 and IPv6 addresses and networks. Drawing significant inspiration from the interface of RIPE’s Perl module NET::IP, it diverges in its implementation strategy. Notably, it does not accommodate non-CIDR netmasks, ruling out unconventional formats like a netmask of 0xffffff0f. This class is capable of recognizing around a dozen distinct formats for expressing IP addresses and networks, effectively distinguishing between IPv4 and IPv6 types. Most methods in the class that yield a string feature an optional parameter called ‘wantprefixlen,’ which dictates whether the prefix length or netmask is displayed. By default, the prefix length is shown when a network encompasses multiple addresses, though these defaults can be modified on an individual object basis through adjustments to the class members. The flexibility in customization ensures that developers can tailor the output to fit their specific needs.

Description

This package is designed for independent reuse across any Python project and is maintained by the Zope Toolkit initiative. It serves as an implementation of "object interfaces" within the Python ecosystem. Interfaces act as a way to designate objects as adhering to a specific API or contract, making this package a practical example of applying the Design By Contract methodology in Python. Essentially, interfaces are objects that detail (document) the expected external behavior of the objects that implement them. An interface articulates behavior through a combination of informal documentation within a docstring, attribute definitions, and invariants, which are the necessary conditions that must be satisfied by the objects implementing the interface. Attribute definitions specify particular attributes, outlining their names while offering documentation and constraints regarding the allowed values for those attributes. These definitions can take various forms, allowing for flexibility in how they are expressed. Furthermore, the ability to define interfaces enhances the clarity and reliability of code by ensuring that objects conform to specified behaviors.

API Access

Has API

API Access

Has API

Screenshots View All

Screenshots View All

Integrations

Python

Integrations

Python

Pricing Details

Free
Free Trial
Free Version

Pricing Details

Free
Free Trial
Free Version

Deployment

Web-Based
On-Premises
iPhone App
iPad App
Android App
Windows
Mac
Linux
Chromebook

Deployment

Web-Based
On-Premises
iPhone App
iPad App
Android App
Windows
Mac
Linux
Chromebook

Customer Support

Business Hours
Live Rep (24/7)
Online Support

Customer Support

Business Hours
Live Rep (24/7)
Online Support

Types of Training

Training Docs
Webinars
Live Training (Online)
In Person

Types of Training

Training Docs
Webinars
Live Training (Online)
In Person

Vendor Details

Company Name

IPy

Website

pypi.org/project/IPy/

Vendor Details

Company Name

Python Software Foundation

Country

United States

Website

pypi.org/project/zope.interface/

Product Features

Product Features

Alternatives

Alternatives

parsel Reviews

parsel

Python Software Foundation
h5py Reviews

h5py

HDF5