"""Event loop abstraction subpackage.

Tries to use pyuv as a backend, falling back to the asyncio implementation.
"""
try:
    # libuv is fully implemented in C, use it when available
    from .uv import UvEventLoop
    EventLoop = UvEventLoop
except ImportError:
    # asyncio(trollius on python 2) is pure python and should be more portable
    # across python implementations
    from .asyncio import AsyncioEventLoop
    EventLoop = AsyncioEventLoop


__all__ = ('EventLoop')

Implement __init__ module for the `event_loop` subpackage