Package: ipaddress 1.0.3.9000

ipaddress: Data Analysis for IP Addresses and Networks

Classes and functions for working with IP (Internet Protocol) addresses and networks, inspired by the Python 'ipaddress' module. Offers full support for both IPv4 and IPv6 (Internet Protocol versions 4 and 6) address spaces. It is specifically designed to work well with the 'tidyverse'.

Authors:David Hall [aut, cre]

ipaddress_1.0.3.9000.tar.gz
ipaddress_1.0.3.9000.zip(r-4.7)ipaddress_1.0.3.9000.zip(r-4.6)ipaddress_1.0.3.9000.zip(r-4.5)
ipaddress_1.0.3.9000.tgz(r-4.6-x86_64)ipaddress_1.0.3.9000.tgz(r-4.6-arm64)ipaddress_1.0.3.9000.tgz(r-4.5-x86_64)ipaddress_1.0.3.9000.tgz(r-4.5-arm64)
ipaddress_1.0.3.9000.tar.gz(r-4.7-arm64)ipaddress_1.0.3.9000.tar.gz(r-4.7-x86_64)ipaddress_1.0.3.9000.tar.gz(r-4.6-arm64)ipaddress_1.0.3.9000.tar.gz(r-4.6-x86_64)
manual.pdf |manual.html
DESCRIPTION |NEWS
card.svg |card.png
ipaddress/json (API)

# Install 'ipaddress' in R:
install.packages('ipaddress', repos = c('https://davidchall.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/davidchall/ipaddress/issues

Pkgdown/docs site:https://davidchall.github.io

Uses libs:
  • c++– GNU Standard C++ Library v3
Datasets:

On CRAN:

Conda:

cyberdata-analysisip-addressipv4ipv6vctrscpp

7.70 score 35 stars 3 packages 40 scripts 786 downloads 66 exports 7 dependencies

Last updated from:35a741b6dc. Checks:12 OK, 1 FAIL. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-arm64OK254
linux-devel-x86_64OK275
source / vignettesOK304
linux-release-arm64OK225
linux-release-x86_64OK281
macos-release-arm64OK146
macos-release-x86_64OK316
macos-oldrel-arm64OK103
macos-oldrel-x86_64OK375
windows-develOK285
windows-releaseOK248
windows-oldrelOK181
wasm-releaseFAIL194

Exports:%<<%%>>%as_ip_addressas_ip_interfaceas_ip_networkbinary_to_ipbroadcast_addressbytes_to_ipcollapse_networkscommon_networkcountry_networksexclude_networksextract_6to4extract_ipv4_mappedextract_teredo_clientextract_teredo_serverhex_to_iphostmaskhostname_to_iphostname_to_ip_allhostsinteger_to_ipip_addressip_interfaceip_networkip_to_binaryip_to_bytesip_to_hexip_to_hostnameip_to_hostname_allip_to_integeris_6to4is_globalis_ip_addressis_ip_interfaceis_ip_networkis_ipv4is_ipv4_mappedis_ipv6is_link_localis_loopbackis_multicastis_privateis_reservedis_site_localis_subnetis_supernetis_teredois_unspecifiedis_withinis_within_anymax_prefix_lengthnetmasknetwork_addressnum_addressesoverlapsprefix_lengthreverse_pointersample_ipv4sample_ipv6sample_networksubnetssummarize_address_rangesupernetvec_arith.ip_addressvec_arith.ip_interface

Dependencies:AsioHeaderscligluelifecycleRcpprlangvctrs

Examples and Recipes
Addresses from integers | Networks from address ranges | Is an address in a network? | Randomly generate public addresses

Last update: 2022-12-23
Started: 2022-12-23

IP Data
IP Addresses | Background | Class constructor | Data storage | IP Networks | IP Interfaces | Summary

Last update: 2022-12-23
Started: 2022-12-23

Readme and manuals

Help Manual

Help pageTopics
Network membership of addressesaddress_in_network is_within is_within_any
Collapse contiguous and overlapping networkscollapse_networks
Find the common network of two addressescommon_network
Country-level IP networkscountry_networks
Remove networks from othersexclude_networks
IPv4 address space allocationiana_ipv4
IPv6 address space allocationiana_ipv6
Vector of IP addressesip_address
Cast to IP vectoras_ip_address as_ip_interface as_ip_network ip_cast
Format IP vectorformat.ip_address format.ip_interface format.ip_network ip_format
Vector of IP interfacesip_interface ip_interface.default ip_interface.ip_address
Vector of IP networksip_network ip_network.default ip_network.ip_address
Operators for IP addresses%<<% %>>% ip_operators
Test for IP vectorip_test is_ip_address is_ip_interface is_ip_network
Represent address as binarybinary_to_ip ip_to_binary
Represent address as raw bytesbytes_to_ip ip_to_bytes
Represent address as hexadecimalhex_to_ip ip_to_hex
Translate address to/from hostnamehostname_to_ip hostname_to_ip_all ip_to_hostname ip_to_hostname_all
Represent address as integerinteger_to_ip ip_to_integer
IPv6 transition mechanismsextract_6to4 extract_ipv4_mapped extract_teredo_client extract_teredo_server ipv6-transition is_6to4 is_ipv4_mapped is_teredo
Version of the address spaceis_ipv4 is_ipv6
Reserved addressesis_global is_link_local is_loopback is_multicast is_private is_reserved is_site_local is_unspecified
Size of the address spacemax_prefix_length
Network maskhostmask hostmask.numeric netmask netmask.numeric prefix_length
Network membership of other networksis_subnet is_supernet network_in_network overlaps
Network sizebroadcast_address network_address network_size num_addresses
Reverse DNS pointerreverse_pointer
Sample random addressessample sample_ipv4 sample_ipv6 sample_network
List addresses within a networkhosts seq.ip_network sequence
List constituent networks of an address rangesummarize_address_range
Traverse the network hierarchysubnets supernet traverse_hierarchy