NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
PyPI
PyPI, #4610 most downloaded on PyPI
Easily forge ICMP packets and make your own ping and traceroute.
Latest stable
3.0.4
Last release 3 years ago
no release in 18 months
Ships unpredictably
gaps range from 2 weeks to 1.7 years
Nearly every release is documented
notes for 22 of 22 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
22 releases · first in 2019
Drag across the ruler to compare, or tap a release to open it.
Add support for the latest versions of Python.
Add the sock property to the ICMPSocket class.
sock property to the ICMPSocket class.Add support for IPv6 addresses with zone index.
payload property of an ICMPRequest now returns a random value if the payload is not defined instead of None.Your coding agent can read these notes before it upgrades. Set up the MCP server →
Make the SocketPermissionError more explicit when the OS does not allow instantiation of unprivileged sockets.
SocketPermissionError more explicit when the OS does not allow instantiation of unprivileged sockets.The library is now asynchronous!
icmplib 3.0 is here! :rocket:
async_ping, async_multiping and async_resolve.AsyncSocket class to make an ICMP socket asynchronous.Host and Hop classes are now lazy.Host and Hop classes: you can retrieve the list of round-trip times and calculate the jitter.__str__ to visualize the results more easily.ping, multiping and traceroute functions:
multiping function. It should be more reliable.multiping function is now in a dedicated module.resolve function to return all IP addresses found.is_hostname function to check if a string is a hostname or an FQDN.BufferedSocket, replaced by AsyncSocket.Special thanks to @JonasKs and @bdraco for their suggestions, advice and feedback!
Python 3.7 or later is now required.
:bug: Revert changes made to the traceroute function due to a bug.
traceroute function due to a bug.This version is the last of the 2.x branch. See you soon for the release of icmplib 3.0!
Add a family parameter to the resolve function to define the address family.
family parameter to the resolve function to define the address family.traceroute function.Rename the default branch from master to main.
master to main.privileged parameter in the README file (part 2).traceroute function to work with IPv6 addresses (part 2).Handle EACCES errors at sockets level.
EACCES errors at sockets level.privileged parameter in the README file.traceroute function to work with IPv6 addresses.Add a new multiping function. This function will be faster and more memory efficient.
icmplib 2.0 is here! :rocket:
multiping function. This function will be faster and more memory efficient.first_hop parameter to the traceroute function to set the initial time to live value (@scoulondre).NameLookupError: raised when the requested name does not exist or cannot be resolved.SocketAddressError: raised when the requested address cannot be assigned to the socket.BufferedSocket class (experimental) to send several packets simultaneously without waiting for a response.receive method of sockets can receive all incoming packets.resolve function:
NameLookupError is now raised if the requested name does not exist or cannot be resolved.Compatibility with existing programs is maintained.
Add support for hostnames and FQDN resolution to IPv6 addresses.
:bug: Fix an issue in the traceroute function which gave the wrong value for the avg_rtt property (@patrickfnielsen).
traceroute function which gave the wrong value for the avg_rtt property (@patrickfnielsen).Add a warning message on deprecated properties.
traceroute function.SocketUnavailableError when an action is performed while a socket is closed.:bug: Fix a bug when ICMP responses are not correctly formatted.
:bug: Fix a compatibility issue.
:bug: Fix a bug when the source host does not have an IP address.
ICMPReply class: the received_bytes property is deprecated. Use bytes_received instead.
ICMPReply class: the received_bytes property is deprecated. Use bytes_received instead.Host and Hop classes: the transmitted_packets property is deprecated. Use packets_sent instead.Host and Hop classes: the received_packets property is deprecated. Use packets_received instead.Add the is_closed property to the ICMPSocket class.
is_closed property to the ICMPSocket class.multiping function where the id parameter was ignored.ICMPSocket class when instantiated without root privileges.Add the ability to customize the payload.
ping and multiping functions:
ICMPRequest object using keywords arguments **kwargs.Change the license. This project now uses the more permissive license LGPLv3.
- Add some examples. - Rename model.py to models.py. - Update setup keywords.
model.py to models.py.- :tada: Initial release.
One column per quarter.