NNetSkein
Product

Product features · IPv4 prefix membership

01

Test /0, /32 and an outside address, rejecting IPv6 and networks with host bits set.

01

Connection

Base URL, credentials and a reachable server.

02

Selection

A model available through the configured endpoint.

03

Capabilities

Context limits and tool support are determined by the model and server.

IPv4 prefix membership

● ● ●NetSkein●
A concrete starting point · IPv4 prefix membership ×
from ipaddress import IPv4Address, IPv4Network
def in_prefix(address, prefix):
    network = IPv4Network(prefix, strict=True)
    return IPv4Address(address) in network
✳Check whether an IPv4 address belongs to a canonical network prefix.
✓ ChangesReview before applying ↗
Illustrative workspace
AI coding workspace

Your next change starts here.

Get the Windows app ↗