# --------------------------------------------------------------------------------------------
# Copyright (c) Microsoft Corporation. All rights reserved.
# Licensed under the MIT License. See License.txt in the project root for license information.
# --------------------------------------------------------------------------------------------

__version__ = "1.3.0"

from azure.eventhub.common import EventData, EventHubError, Offset
from azure.eventhub.client import EventHubClient
from azure.eventhub.sender import Sender
from azure.eventhub.receiver import Receiver

try:
    from azure.eventhub.async_ops import (
        EventHubClientAsync,
        AsyncSender,
        AsyncReceiver)
except (ImportError, SyntaxError):
    pass  # Python 3 async features not supported
