ipnetwork
IPTools
ipnetwork | IPTools | |
---|---|---|
2 | 1 | |
460 | 215 | |
- | - | |
7.6 | 0.0 | |
3 days ago | over 1 year ago | |
C# | PHP | |
BSD 2-clause "Simplified" License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
ipnetwork
- Standardized - Storing IP Addresses
-
CIDR notation validation?
There is a library that can parse IPs in CIDR format: https://github.com/lduchosal/ipnetwork
IPTools
-
convert ip range or cidr to single ip then count it
Download the package from github and unpack it somewhere inside your project.
What are some alternatives?
iplib - A library for working with IP addresses and networks in Go
PyTCP - PyTCP is a fully functional TCP/IP stack written in Python. It supports TCP stream-based transport with reliable packet delivery based on a sliding window mechanism and basic congestion control. It also supports IPv6/ICMPv6 protocols with SLAAC address configuration. It operates as a user space program attached to the Linux TAP interface.
cidr - CLI to perform various actions on CIDR ranges
fcidr - Fragmented Classless Inter-Domain Routing (FCIDR)
IPAddress - Java library for handling IP addresses and subnets, both IPv4 and IPv6
rir-ip - Download IP address lists grouped by country
ip - Immutable value object for IPv4 and IPv6 addresses, including helper methods and Doctrine support.
iplib3 - A pathlib.Path equivalent for IP addresses.
ip-num - A TypeScript/JavaScript library for working with ASN, IPv4, and IPv6 numbers. It provides representations of these internet protocol numbers with the ability to perform various IP related operations like parsing, validating etc. on them