Information about the package, python-netaddr, which is shipped with common Linux distributions. The python-netaddr package is designed for, Pythonic manipulation of IPv4, IPv6, CIDR, EUI and MAC network.
Package Name:
python-netaddr
Summary:
Pythonic manipulation of IPv4, IPv6, CIDR, EUI and MAC network
Description:
A pure Python network address representation and manipulation library. netaddr provides a Pythonic way of working with :- - IPv4 and IPv6 addresses and subnets (including CIDR notation) - MAC (Media Access Control) addresses in multiple formats - IEEE EUI-64, OUI and IAB identifiers - a user friendly IP glob-style format Included are routines for :- - generating, sorting and summarizing IP addresses - converting IP addresses and ranges between various different formats - performing set based operations on groups of IP addresses and subnets - arbitrary IP address range calculations and conversions - querying IEEE OUI and IAB organisational information - querying of IP standards related data from key IANA data sources For examples please visit the example wiki pages :- http://code.google.com/p/netaddr/wiki/NetAddrExamples Complete API documentation for the latest release is available online :- http://packages.python.org/netaddr/ For details on history changes and updates see the CHANGELOG :- http://code.google.com/p/netaddr/wiki/CHANGELOG
Architecture:
noarch
Version:
0.7.5
Release:
4.el6
Size:
1.0 M
Repository:
base
From Repository:
Licence:
BSD
Control the python-netaddr package with the following handy commands outlined below.
yum install python-netaddr
This command will install python-netaddr on the server.
yum remove python-netaddr
This command will un-install python-netaddr on the server. When you run this command, you will be asked if you are sure that you want to remove python-netaddr, so you have to manually confirm that you want to do this.
yum -y remove python-netaddr
This command will un-install python-netaddr on the server. When you run this command with th e -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-netaddr when using the -y flag.
yum update python-netaddr
This command will update python-netaddr to the latest version. When you run this command, you will be asked if you are sure that you want to remove python-netaddr, so you have to manually confirm that you want to do this.
yum -y update python-netaddr
This command will update python-netaddr to the latest version. When you run this command with the -y flag, you will not be prompted to check that you are sure you want to remove the package - so be sure you absolutely want to remove python-netaddr when using the -y flag.
yum info python-netaddr
This command will show you core information about the python-netaddr package.
yum deplist python-netaddr
This command will show you the dependencies for python-netaddr. Thankfully, when using Yum, if dependencies are required, these are also installed at the same time so you don't have to worry too much about that.
yum check-update python-netaddr
This command will check if there is an update waiting on python-netaddr. When you run this command this will return nothing if there is nothing to update, or, will return the package name if the package is due to be updated.