Average Ratings 0 Ratings
Average Ratings 0 Ratings
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
All components of a URL, including scheme, user, password, host, port, path, query, and fragment, can be accessed through their respective properties. Every manipulation of a URL results in a newly generated URL object, and the strings provided to the constructor or modification functions are automatically encoded to yield a canonical format. While standard properties return percent-decoded values, the raw_ variants should be used to obtain encoded strings. A human-readable version of the URL can be accessed using the .human_repr() method. Binary wheels for yarl are available on PyPI for operating systems such as Linux, Windows, and MacOS. In cases where you wish to install yarl on different systems like Alpine Linux—which does not comply with manylinux standards due to the absence of glibc—you will need to compile the library from the source using the provided tarball. This process necessitates having a C compiler and the necessary Python headers installed on your machine. It is important to remember that the uncompiled, pure-Python version is significantly slower. Nevertheless, PyPy consistently employs a pure-Python implementation, thus remaining unaffected by performance variations. Additionally, this means that regardless of the environment, PyPy users can expect consistent behavior from the library.
API Access
Has API
API Access
Has API
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/yarl/