from pkg_resources import get_distribution, DistributionNotFound

from pynetbox.core.query import RequestError, AllocationError, ContentError
from pynetbox.api import Api as api

try:
    __version__ = get_distribution(__name__).version
except DistributionNotFound:
    pass
