# -*- coding: utf-8 -*-
"""
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
"""
from python_hosts.hosts import Hosts, HostsEntry
from python_hosts.utils import is_readable, is_ipv4, is_ipv6, valid_hostnames
from python_hosts.exception import (HostsException, HostsEntryException,
                                    InvalidIPv4Address, InvalidIPv6Address,
                                    InvalidComment)

# -*- coding: utf-8 -*-
"""
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
"""
from python_hosts.exception import (HostsException, HostsEntryException,
                                    InvalidIPv4Address, InvalidComment)
from python_hosts.hosts import Hosts
from python_hosts.utils import is_readable, is_ipv4, is_ipv6

--- 
+++ 
@@ -8,7 +8,8 @@
 
 exception: Contains the custom exceptions that are raised in the event of an error in processing a hosts file and its entries
 """
+from python_hosts.hosts import Hosts, HostsEntry
+from python_hosts.utils import is_readable, is_ipv4, is_ipv6, valid_hostnames
 from python_hosts.exception import (HostsException, HostsEntryException,
-                                    InvalidIPv4Address, InvalidComment)
-from python_hosts.hosts import Hosts
-from python_hosts.utils import is_readable, is_ipv4, is_ipv6
+                                    InvalidIPv4Address, InvalidIPv6Address,
+                                    InvalidComment)
Revert "refactor: remove unused imports."

This reverts commit ceb37d26a48d7d56b3d0ded0376eb9498ce7ef6f.
