BSD Ports

net/py-netaddr 1.3.0 FreeBSD

Manipulation of IPv4, IPv6, CIDR, EUI and MAC network addresses

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
License
BSD3CLAUSE, MIT
Categories
net, python
Package size
1647.7 KiB, 10141.1 KiB installed

Description

A pure Python network address representation and manipulation library.

netaddr provides a Pythonic way of working with:

  • IPv4 and IPv6 addresses and subnets
  • MAC addresses, OUI and IAB identifiers, IEEE EUI-64 identifiers
  • Arbitrary (non-aligned) IP address ranges and IP address sets
  • Various non-CIDR IP range formats such as nmap and glob-style formats

Included are routines for:

  • Generating, sorting and summarizing IP addresses and networks
  • Performing easy conversions between address notations and formats
  • Detecting, parsing and formatting network address representations
  • Performing set-based operations on groups of IP addresses and subnets
  • Working with arbitrary IP address ranges and formats
  • Accessing OUI and IAB organisational information published by IEEE
  • Accessing IP address and block information published by IANA

API documentation for the latest release is available here:

https://pythonhosted.org/netaddr/

In the other systems

SystemPortVersion
FreeBSDnet/py-netaddr1.3.0
OpenBSDnet/py-netaddr1.3.0p0v0
NetBSDnet/py-netaddr1.3.0nb1
DragonFlynet/py-netaddr1.3.0
MidnightBSDnet/py-netaddr1.2.1_1

Install

Binary package:

pkg install py312-netaddr

From the ports tree:

cd /usr/ports/net/py-netaddr/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	py312-netaddr>0:net/py-netaddr

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.3.01.3.00.8.01.3.01.3.0
FreeBSD:14:quarterly1.3.01.3.0n/a1.3.01.3.0
FreeBSD:15:latest1.3.01.3.0n/a1.3.01.3.0
FreeBSD:15:quarterly1.3.01.3.0n/an/an/a
FreeBSD:16:latest1.3.01.3.0n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Build 1

The full lists below include those, and their dependencies in turn.

Build dependencies 16
Run dependencies 7

Configuration

Options name: net_netaddr

OptionDefaultDescription
DOCSoffBuild and/or install documentation
USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
netaddr-1.3.0.tar.gz2.260504e+065c3c3d9895b551b763779ba7db7a03487dc1f8e3b385af819af341ae9ef6e48a
Master sites 1
  • PYPI

Commit history 0

No commits in the history this site was built from.