Codebase list python-icmplib / cad30aa icmplib / __init__.py
cad30aa

Tree @cad30aa (Download .tar.gz)

__init__.py @cad30aaraw · history · blame

'''
    icmplib
    ~~~~~~~

    The power to forge ICMP packets and do ping and traceroute.

        https://github.com/ValentinBELYN/icmplib

    :copyright: Copyright 2017-2021 Valentin BELYN.
    :license: GNU LGPLv3, see the LICENSE for details.

    ~~~~~~~

    This program is free software: you can redistribute it and/or
    modify it under the terms of the GNU Lesser General Public License
    as published by the Free Software Foundation, either version 3 of
    the License, or (at your option) any later version.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    GNU Lesser General Public License for more details.

    You should have received a copy of the GNU Lesser General Public
    License along with this program.  If not, see
    <https://www.gnu.org/licenses/>.
'''

from .sockets import ICMPv4Socket, ICMPv6Socket, AsyncSocket
from .models import ICMPRequest, ICMPReply, Host, Hop
from .ping import ping, async_ping
from .multiping import multiping, async_multiping
from .traceroute import traceroute
from .exceptions import *
from .utils import is_hostname, is_ipv4_address, is_ipv6_address
from .utils import PID, resolve, async_resolve


__author__    = 'Valentin BELYN'
__copyright__ = 'Copyright 2017-2021 Valentin BELYN'
__license__   = 'GNU Lesser General Public License v3.0'

__version__   = '3.0'
__build__     = '210601'