$npx skillfedfor your agent

iptools

Python utilites for manipulating IPv4 and IPv6 addresses

With conditionsPyPI InternetReleased Jan 2019237.2K downloads / moBSDPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — iptools-0.7.0-py2.py3-none-any.whl
v0.7.0 · released 2019-01-07

Yes, if you need basic IP address utilities and are working with Python versions up to 3.8. The package is stable and has no known vulnerabilities, but its abandonment means no future fixes. Suitable for legacy projects or simple use cases; for new projects requiring active maintenance, consider alternatives like ipaddress (built-in to Python 3.3+) or netaddr.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low install friction with no runtime dependencies.
  • However, the package is abandoned—last release was 2019-01-07 and last commit 2020-01-22—so it will not receive bug fixes or security updates.

License · maintenance · safety

BSD (permissive) — BSD license is permissive, allowing commercial and private use with minimal restrictions, making it safe to incorporate into most projects.

last release 2019-01-07 (2776 days) · last repo commit 2020-01-22 · 70 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 237,201 downloads/mo, #8,962 on PyPI

Verify before relying

pip install iptools

import iptools

ranges = iptools.IpRangeList(
    '127.0.0.1',
    '192.168/16',
    ('10.0.0.1', '10.0.0.19')
)

if '192.168.1.1' in ranges:
    print('IP is in range')
  • Whether the package works correctly with modern Python versions beyond 3.8, given it was last updated in 2019
  • Whether IPv6 handling is complete and correct for all edge cases
  • Performance characteristics when dealing with large numbers of IP ranges
Same gist for agents: .md · .json

What it is and what it does

iptools is a lightweight utility library for working with IP addresses in Python. It provides functions and objects to parse, validate, and test membership of IPv4 and IPv6 addresses, with special support for CIDR notation and arbitrary ranges. The package was originally designed to simplify Django's INTERNAL_IPS configuration by allowing developers to specify IP ranges using CIDR blocks instead of listing individual addresses.

The core feature is the IpRangeList object, which implements Python's membership protocol (the `in` operator) to transparently handle mixed lists of single IPs, CIDR blocks, and start-end ranges. This makes it useful anywhere you need to check whether an IP falls within a set of allowed or blocked ranges. However, the package has been abandoned since 2019 and receives no maintenance, so it will not be updated for new Python versions or security issues.

Use it for

  • Configure Django's INTERNAL_IPS setting with CIDR blocks instead of individual IP addresses
  • Check whether a client IP is within a set of allowed or blocked network ranges in a web application
  • Parse and validate IPv4 and IPv6 addresses in network configuration or logging tools
  • Convert between IP address formats and numeric representations for network calculations

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

With conditions

Yes, if you need basic IP address utilities and are working with Python versions up to 3.8.

The package is stable and has no known vulnerabilities, but its abandonment means no future fixes. Suitable for legacy projects or simple use cases; for new projects requiring active maintenance, consider alternatives like ipaddress (built-in to Python 3.3+) or netaddr.

Install

iptools on PyPI

Before you install

Low install friction with no runtime dependencies. However, the package is abandoned—last release was 2019-01-07 and last commit 2020-01-22—so it will not receive bug fixes or security updates.

License in practice

BSD license is permissive, allowing commercial and private use with minimal restrictions, making it safe to incorporate into most projects.

Quickstart

pip install iptools

import iptools

ranges = iptools.IpRangeList(
    '127.0.0.1',
    '192.168/16',
    ('10.0.0.1', '10.0.0.19')
)

if '192.168.1.1' in ranges:
    print('IP is in range')

Verify before relying

  • Whether the package works correctly with modern Python versions beyond 3.8, given it was last updated in 2019
  • Whether IPv6 handling is complete and correct for all edge cases
  • Performance characteristics when dealing with large numbers of IP ranges

Package facts

LicenseBSD permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 2,776 days since the last release
Last repo commit
First released
Downloads237,201 / month, #8,962 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableEnvironment :: Web EnvironmentIntended Audience :: DevelopersLicense :: OSI Approved :: BSD LicenseOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 2.7Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Topic :: InternetTopic :: Utilities

Evidence: iptools-0.7.0-py2.py3-none-any.whl

Tags

Capabilities
ipv4 ipv6 address utilitiescidr notation parsingip range validationdjango internal ipsip address manipulationip range membership testingconvert ip to long
Topics
networkingcidrdjango
PyPI keywords
ip2longlong2ipdjangocidripv4ipv6

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “cidr notation parsing”

  • iptoolsProvides utilities for parsing, validating, and manipulating IPv4 and…
  • IPyIPy provides Python classes for parsing, manipulating, and working…
  • ipaddrProvides utilities for parsing, validating, and manipulating IPv4 and…

Give your agent the search over MCP, or paste the wish link into any chat.

More Internet packages

botocore Worth it
PyPI · Internet · released Aug 2026

Botocore provides low-level, data-driven access to Amazon Web Services APIs, serving as the foundation for the AWS CLI and boto3 libraries.

Install it if you need programmatic access to AWS services.

permissive licensepure Python · 3.10+
1.5Bdownloads / mo
aiobotocore Worth it
PyPI · Internet · released Aug 2026

Provides an async client for AWS services using botocore and aiohttp, allowing you to call AWS APIs asynchronously within asyncio-based applications.

Install it if you need to call AWS services from async Python code; it is the standard way to do so.

Apache-2.0pure Python · 3.10+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
filelock Worth it
PyPI · Libraries · released Aug 2026

Provides a platform-independent file locking mechanism to coordinate access to files across processes and threads.

MITpure Python · 3.10+
717.1Mdownloads / mo
fastapi Worth it
PyPI · Software Development · released Jul 2026

FastAPI is a Python web framework for building REST APIs using type hints, with automatic request validation, serialization, and interactive API documentation.

MITpure Python · 3.10+
568.6Mdownloads / mo
googleapis-common-protos Worth it
PyPI · Internet · released Aug 2026

Provides common Protocol Buffer message definitions used across Google Cloud APIs, enabling Python clients to interact with Google services.

Apache-2.0pure Python · 3.10+
513.7Mdownloads / mo

See also ipaddr · cidr-trie · IPy · netaddr · isc-dhcp-leases · django-allow-cidr · jaraco.net · ipaddress · IP2Location · py-radix