from datetime import datetime
import pytz


def utcnow() -> datetime:
    """ Get the current datetime in utc as a datetime object with timezone information

    Returns:
        datetime -- UTC datetime with tzinfo
    """
    return datetime.now().astimezone(pytz.utc)