import xlwings as xw
import time


def main():
    wb = xw.Book.caller()

@xw.func
def double_sum(x, y):
    """Returns twice the sum of the two arguments"""
    return 2 * (x + y)


if __name__ == "__main__":
    xw.Book("myproject.xlsm").set_mock_caller()
    main()
