Package¶
This package contains all of the modules utilised by the python-hosts library.
hosts: Contains the Hosts and HostsEntry classes that represent instances of a hosts file and it’s individual lines/entries
utils: Contains helper functions to check the available operations on a hosts file and the validity of a hosts file entry
exception: Contains the custom exceptions that are raised in the event of an error in processing a hosts file and its entries