ipaddr
A class to manipulate an IP address
ipaddr: A class to manipulate an IP address
A class to manipulate an IP address
What the project is
ipaddr is a Ruby project hosted on GitHub. A class to manipulate an IP address IPAddr provides a set of methods to manipulate an IP address. Both IPv4 and IPv6 are supported. The repository is maintained by ruby and tracks activity through its public issue tracker and commit history. Readers who want a working example rather than a bare library will find the documentation and the linked resources useful for getting a first build running.
What it offers
The ipaddr README focuses on describing the project behaviour and its intended audience instead of a long feature checklist. The description and the introductory sections explain what the tool does and which problems it addresses. Browsing the source tree shows the modules and sample files that make up the actual implementation.
How to set it up
Getting ipaddr running starts with cloning the source from https://github.com/ruby/ipaddr. The README lists the commands needed to fetch the code and build or launch it. Representative steps from the documentation include: gem 'ipaddr', '~> 1.2'. After the code is on disk, the project instructions walk through configuration and any dependencies. Following the order shown in the README avoids the common setup mistakes that come from mixing steps.
License and project status
ipaddr is written primarily in Ruby and is released under the BSD-2-Clause license, which sets the terms for reuse and redistribution. The project reports around 80 stars on GitHub, a signal of how many developers have bookmarked it. The source was last updated on 2026-08-21. The canonical location is https://github.com/ruby/ipaddr, where the license file, the changelog and the open issues give the most current state of the work. Anyone planning to depend on it should read the license text directly before shipping it inside another product.
Editorial conclusion
The ipaddr source lives at https://github.com/ruby/ipaddr under the BSD-2-Clause license and is mainly written in Ruby. The README and the linked examples remain the place to confirm the current behaviour before adopting the project.
Community notes