csirtg-network

CSIRTG Indicator Framework


Keywords
network
License
MPL-2.0
Install
pip install csirtg-network==0.0a1

Documentation

csirtg-network-py

Misc Python Network Utils

Helpful Utils to get your local default interface and address.

>>> from csirtg_network.interfaces import default_address, default_interface, interface_to_address

>>> default_address()
'192.168.1.91'

>>> default_interface()
'en0'

>>> interface_to_address(default_interface())
'192.168.1.91'