import math


def north_bearing(pointA, pointB):
    """
    Takes two points that define a line
    Then calculates the bearing of the line from North
    """
    angle = math.atan2((pointB.X - pointA.X), (pointB.Y - pointA.Y))
    return math.degrees(angle)