skillfed

ipaddr

Google's IP address manipulation library

ipaddr v2.2.0 582.0K downloads/30d#5,904 on PyPI189
Permissive license Apache License, Version 2.0 Abandoned released

What it is and what it does

ipaddr is a library for working with IP addresses, both IPv4 and IPv6, providing parsing, validation, and manipulation utilities. It was originally developed by Google but has been superseded by the ipaddress module in Python 3's standard library and its Python 2 backport.

The package is no longer maintained—its repository is archived, the last release was in 2017-09-15, and no commits have been made since 2023-04-09. For any new code, you should use the standard library ipaddress module instead. This package exists primarily for legacy Python 2 projects that cannot migrate; it carries no known security vulnerabilities but receives no updates or support.

Use it for:

  • Maintaining legacy Python 2 codebases that depend on ipaddr and cannot yet migrate to the standard library.
  • Parsing and validating IP addresses in older applications where upgrading dependencies is not feasible.
  • Working with network ranges in Python 2 environments without access to ipaddress.
  • Checking whether an IP address belongs to a particular network in legacy systems.

Worth the install?

AI-flagged interpretation of the facts on this page — verify before relying

Provides utilities for parsing, validating, and manipulating IPv4 and IPv6 addresses in Python code.

No. Do not install this package for new projects—use the standard library ipaddress module instead. For legacy Python 2 codebases already using ipaddr, keep it only as long as necessary during migration. The package is abandoned, receives no maintenance or security updates, and its functionality is fully available in modern Python's standard library.

Install

ipaddr on PyPI

pip

pip install ipaddr

uv

uv add ipaddr

poetry

poetry add ipaddr

Installing ipaddr

Before you install

Installation friction is high due to source-only distribution. More importantly, the package is abandoned—last release was 2017-09-15, repository is archived, and no commits since 2023-04-09. The standard library's ipaddress module (Python 3) or its Python 2 backport are the maintained alternatives.

License in practice

Licensed under Apache License, Version 2.0 (permissive), which allows commercial and private use with minimal restrictions, but you should verify compatibility with your project's license requirements.

Quickstart

pip install ipaddr

import ipaddr

addr = ipaddr.IPAddress('example')
net = ipaddr.IPNetwork('example')

Package is abandoned and superseded by the standard library ipaddress module; use that instead for new projects.

Verify before relying

  • Whether any production codebases still depend on this package and what their migration timeline is.
  • Whether the source distribution builds cleanly on modern Python interpreters.
  • Specific IP address formats and operations supported by this version.

Package facts

License Apache License, Version 2.0 (permissive)
Python support not specified
Install friction high — source build required
Runtime dependencies none
Maintenance abandoned — 3,255 days since the last release
Last repo commit (repository archived)
First released
Downloads 581,971/month — #5,904 on PyPI (30-day window, as of 2026-08-14)
Known vulnerabilities none known (OSV.dev, checked 2026-08-14)

Evidence: ipaddr-2.2.0.tar.gz

Development Status :: 6 - MatureIntended Audience :: DevelopersLicense :: OSI Approved :: Apache Software LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2Topic :: InternetTopic :: Software Development :: LibrariesTopic :: System :: Networking

Tags

IPv4 IPv6 address parsingIP address validationnetwork address manipulationIP CIDR notationaddress range checkingIP address librarynetwork utilities Python
legacyabandoned

More Libraries packages