Skip to main content

A network address manipulation library for Python

Project description

Provides support for:

Layer 3 addresses

  • IPv4 and IPv6 addresses, subnets, masks, prefixes

  • iterating, slicing, sorting, summarizing and classifying IP networks

  • dealing with various ranges formats (CIDR, arbitrary ranges and globs, nmap)

  • set based operations (unions, intersections etc) over IP addresses and subnets

  • parsing a large variety of different formats and notations

  • looking up IANA IP block information

  • generating DNS reverse lookups

  • supernetting and subnetting

Layer 2 addresses

  • representation and manipulation MAC addresses and EUI-64 identifiers

  • looking up IEEE organisational information (OUI, IAB)

  • generating derived IPv6 addresses

Documentation

https://netaddr.readthedocs.io/

Changes

For details on the latest changes and updates, see :-

https://netaddr.readthedocs.io/en/latest/changes.html

Requirements

Supports Python versions 2.5 through 3.6

Share and enjoy!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

netaddr-0.7.20.tar.gz (1.9 MB view details)

Uploaded Source

Built Distribution

netaddr-0.7.20-py2.py3-none-any.whl (1.9 MB view details)

Uploaded Python 2 Python 3

File details

Details for the file netaddr-0.7.20.tar.gz.

File metadata

  • Download URL: netaddr-0.7.20.tar.gz
  • Upload date:
  • Size: 1.9 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for netaddr-0.7.20.tar.gz
Algorithm Hash digest
SHA256 d09252e5aec3913815d77eb8e8ea8fa6eb33521253e52f977f6abaa964776f3e
MD5 f254d6b61e07123f9e2643b1dcbd03df
BLAKE2b-256 471bd115c8cfe20f33176982807a3624b82930ff508196f0d875f6985cd28911

See more details on using hashes here.

File details

Details for the file netaddr-0.7.20-py2.py3-none-any.whl.

File metadata

  • Download URL: netaddr-0.7.20-py2.py3-none-any.whl
  • Upload date:
  • Size: 1.9 MB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for netaddr-0.7.20-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 7a9c8f58d048b820df1882439bb04fb2de13c03ec8af3112a1099822b0a2a4b8
MD5 c7479dd140afa5f0f9e6b6621d6bb7a2
BLAKE2b-256 f47ad514cd5ab61bfc9d09d0c2bd52a2336134515cc3c9949b9054dfc1c2f7ac

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page